Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

/core package

Function

IsValidPacketDataSize

func IsValidPacketDataSize(data []byte) bool

IsValidPacketDataSize reports whether data stays within the configured packet_data event budget after hexAttr encoding.

It returns true when SplitEventAttrs is false because that mode intentionally disables packet_data size checks.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/onbloc/ibc/union/core.IsValidPacketDataSize()"

Result