Skip to content

Commit

Permalink
chore: organize
Browse files Browse the repository at this point in the history
  • Loading branch information
boojamya committed Jul 9, 2024
1 parent 207c9f0 commit 5df6693
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions e2e/fiat_tf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ func TestFiatTFIBCOut(t *testing.T) {
require.NoError(t, err)
gaiaToNobleChannelID := gaiaToNobleChannelInfo[0].ChannelID

// uusdc IBC denom on gaia
srcDenomTrace := transfertypes.ParseDenomTrace(transfertypes.GetPrefixedDenom("transfer", gaiaToNobleChannelID, denomMetadataUsdc.Base))
dstIbcDenom := srcDenomTrace.IBCDenom()

amountToSend := math.NewInt(5)
transfer := ibc.WalletAmount{
Address: gaiaWallet.FormattedAddress(),
Expand All @@ -61,10 +65,6 @@ func TestFiatTFIBCOut(t *testing.T) {
// relay MsgRecvPacket & MsgAcknowledgement
require.NoError(t, r.Flush(ctx, eRep, ibcPathName, nobleToGaiaChannelID))

// uusdc IBC denom on gaia
srcDenomTrace := transfertypes.ParseDenomTrace(transfertypes.GetPrefixedDenom("transfer", gaiaToNobleChannelID, denomMetadataUsdc.Base))
dstIbcDenom := srcDenomTrace.IBCDenom()

gaiaWalletBal, err := gaia.GetBalance(ctx, gaiaWallet.FormattedAddress(), dstIbcDenom)
require.NoError(t, err)
require.True(t, gaiaWalletBal.IsZero())
Expand Down

0 comments on commit 5df6693

Please sign in to comment.