Skip to content

Commit

Permalink
fix interchaintest ictest-ibc
Browse files Browse the repository at this point in the history
  • Loading branch information
nghuyenthevinh2000 committed Mar 23, 2024
1 parent 81387aa commit d5fcede
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/interchaintest/ibc_transfer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func TestFeeabsGaiaIBCTransfer(t *testing.T) {
)

// Create some user accounts on both chains
users := interchaintest.GetAndFundTestUsers(t, ctx, t.Name(), genesisWalletAmount, feeabs, gaia)
users := interchaintest.GetAndFundTestUsers(t, ctx, t.Name(), genesisWalletAmount.Int64(), feeabs, gaia)

// Wait a few blocks for relayer to start and for user accounts to be created
err = testutil.WaitForBlocks(ctx, 5, feeabs, gaia)
Expand Down Expand Up @@ -183,5 +183,5 @@ func TestFeeabsGaiaIBCTransfer(t *testing.T) {

gaiaUpdateBal, err = gaia.GetBalance(ctx, gaiaUserAddr, feeabsIBCDenom)
require.NoError(t, err)
require.Equal(t, int64(0), gaiaUpdateBal)
require.Equal(t, math.ZeroInt(), gaiaUpdateBal)
}
2 changes: 1 addition & 1 deletion tests/interchaintest/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ var (
pathFeeabsGaia = "feeabs-gaia"
pathFeeabsOsmosis = "feeabs-osmosis"
pathOsmosisGaia = "osmosis-gaia"
genesisWalletAmount = int64(10_000_000)
genesisWalletAmount = math.NewInt(10_000_000)
amountToSend = math.NewInt(1_000_000_000)
)

Expand Down

0 comments on commit d5fcede

Please sign in to comment.