Skip to content

Commit

Permalink
fix ibc_test int64 -> math.Int cmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Oct 12, 2023
1 parent 471bf5e commit 5bad633
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interchaintest/ibc_transfer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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())
}

0 comments on commit 5bad633

Please sign in to comment.