Skip to content

Commit 6d3cedc

Browse files
committed
test: remove SetAdmin/AddRelayer from transfer tests
1 parent 2c1080f commit 6d3cedc

32 files changed

Lines changed: 0 additions & 64 deletions

gno.land/r/aib/ibc/apps/transfer/z0a_init_filetest.gno

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ import (
1313

1414
// init: ensure app is registered
1515
func main() {
16-
core.SetAdmin(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
17-
core.AddRelayer(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
1816
var (
1917
chainID = "chain-id-2"
2018
clientState = tmtesting.NewClientState(chainID, types.NewHeight(2, 2))

gno.land/r/aib/ibc/apps/transfer/z0c_voucher_send_filetest.gno

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ import (
1616

1717
// VoucherSend: success for IBC voucher token via MsgCall helper.
1818
func main() {
19-
core.SetAdmin(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
20-
core.AddRelayer(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
2119
var (
2220
chainID = "chain-id-2"
2321
trustedHeight = types.NewHeight(2, 2)

gno.land/r/aib/ibc/apps/transfer/z0d_voucher_approve_filetest.gno

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ import (
1717

1818
// VoucherApprove: success for IBC voucher token via MsgCall helper.
1919
func main() {
20-
core.SetAdmin(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
21-
core.AddRelayer(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
2220
var (
2321
chainID = "chain-id-2"
2422
trustedHeight = types.NewHeight(2, 2)

gno.land/r/aib/ibc/apps/transfer/z1a_on_send_packet_filetest.gno

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ import (
1616
// OnSendPacket: fail w/ native coins because transfer.Transfer must be the
1717
// entry point for native coins.
1818
func main() {
19-
core.SetAdmin(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
20-
core.AddRelayer(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
2119
var (
2220
chainID = "chain-id-2"
2321
clientState = tmtesting.NewClientState(chainID, types.NewHeight(2, 2))

gno.land/r/aib/ibc/apps/transfer/z1aa_on_send_packet_filetest.gno

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ import (
1616

1717
// OnSendPacket: success w/ IBC voucher token
1818
func main() {
19-
core.SetAdmin(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
20-
core.AddRelayer(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
2119
var (
2220
chainID = "chain-id-2"
2321
trustedHeight = types.NewHeight(2, 2)

gno.land/r/aib/ibc/apps/transfer/z1b_on_send_packet_filetest.gno

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import (
1212

1313
// OnSendPacket: invalid version
1414
func main() {
15-
core.SetAdmin(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
16-
core.AddRelayer(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
1715
var (
1816
chainID = "chain-id-2"
1917
clientState = tmtesting.NewClientState(chainID, types.NewHeight(2, 2))

gno.land/r/aib/ibc/apps/transfer/z1c_on_send_packet_filetest.gno

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import (
1212

1313
// OnSendPacket: invalid encoding
1414
func main() {
15-
core.SetAdmin(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
16-
core.AddRelayer(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
1715
var (
1816
chainID = "chain-id-2"
1917
clientState = tmtesting.NewClientState(chainID, types.NewHeight(2, 2))

gno.land/r/aib/ibc/apps/transfer/z1d_on_send_packet_filetest.gno

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import (
1212

1313
// OnSendPacket: invalid Value
1414
func main() {
15-
core.SetAdmin(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
16-
core.AddRelayer(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
1715
var (
1816
chainID = "chain-id-2"
1917
clientState = tmtesting.NewClientState(chainID, types.NewHeight(2, 2))

gno.land/r/aib/ibc/apps/transfer/z1e_on_send_packet_filetest.gno

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import (
1212

1313
// OnSendPacket: sender and signer mismatch
1414
func main() {
15-
core.SetAdmin(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
16-
core.AddRelayer(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
1715
var (
1816
chainID = "chain-id-2"
1917
clientState = tmtesting.NewClientState(chainID, types.NewHeight(2, 2))

gno.land/r/aib/ibc/apps/transfer/z1g_on_send_packet_filetest.gno

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import (
1212

1313
// OnSendPacket: sourcePort and destinationPort do not match
1414
func main() {
15-
core.SetAdmin(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
16-
core.AddRelayer(cross, "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm")
1715
var (
1816
chainID = "chain-id-2"
1917
clientState = tmtesting.NewClientState(chainID, types.NewHeight(2, 2))

0 commit comments

Comments
 (0)