zz_register_counterparty_example_filetest.gno
0.46 Kb · 21 lines
1// PKGPATH: gno.land/r/aib/main
2package main
3
4import (
5 "gno.land/r/aib/ibc/core"
6)
7
8func main(cur realm) {
9 var (
10 clientID = "" // XXX update
11 counterpartyMerklePrefix = [][]byte{
12 []byte("iavlStoreKey"), // XXX update
13 []byte("storeKey"), // XXX update
14 }
15 counterpartyClientID = "" // XXX update
16 )
17 core.RegisterCounterparty(cross(cur), clientID, counterpartyMerklePrefix, counterpartyClientID)
18}
19
20// Error:
21// invalid counterparty client id