From 5bad633a6a9bffac7b5225b530483db9100c532a Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Wed, 11 Oct 2023 23:34:03 -0500 Subject: [PATCH] fix ibc_test int64 -> math.Int cmp --- interchaintest/ibc_transfer_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interchaintest/ibc_transfer_test.go b/interchaintest/ibc_transfer_test.go index 07332c7fd..5227a281d 100644 --- a/interchaintest/ibc_transfer_test.go +++ b/interchaintest/ibc_transfer_test.go @@ -116,7 +116,7 @@ func TestJunoGaiaIBCTransfer(t *testing.T) { gaiaOrigBal, err := gaia.GetBalance(ctx, gaiaUserAddr, gaia.Config().Denom) require.NoError(t, err) - require.Equal(t, genesisWalletAmount, gaiaOrigBal) + require.Equal(t, genesisWalletAmount, gaiaOrigBal.Int64()) // Compose an IBC transfer and send from Juno -> Gaia var transferAmount = math.NewInt(1_000) @@ -191,5 +191,5 @@ func TestJunoGaiaIBCTransfer(t *testing.T) { gaiaUpdateBal, err = gaia.GetBalance(ctx, gaiaUserAddr, junoIBCDenom) require.NoError(t, err) - require.Equal(t, int64(0), gaiaUpdateBal) + require.Equal(t, int64(0), gaiaUpdateBal.Int64()) }