Search Apps Documentation Source Content File Folder Download Copy Actions Download

z3g_send_packet_filetest.gno

0.33 Kb · 16 lines
 1// PKGPATH: gno.land/r/aib/main
 2package main
 3
 4import (
 5	"gno.land/p/aib/ibc/types"
 6	"gno.land/r/aib/ibc/core"
 7)
 8
 9// SendPacket assert that MsgSendPacket.ValidateBasic is invoked
10func main(cur realm) {
11	packet := types.MsgSendPacket{}
12	core.SendPacket(cross(cur), packet)
13}
14
15// Error:
16// validate client identifier: identifier cannot be blank