Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
swift1337 committed Jul 23, 2024
1 parent 6d3957b commit d328095
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/crosschain/keeper/msg_server_migrate_tss_funds_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func TestKeeper_MigrateTSSFundsForChain(t *testing.T) {
multipliedValue, err := gas.MultiplyGasPrice(gp, crosschaintypes.TssMigrationGasMultiplierEVM)
require.NoError(t, err)
require.Equal(t, multipliedValue.String(), cctx.GetCurrentOutboundParam().GasPrice)
require.Equal(t, priorityFee.String(), cctx.GetCurrentOutboundParam().GasPriorityFee)
require.Equal(t, priorityFee.MulUint64(2).String(), cctx.GetCurrentOutboundParam().GasPriorityFee)
})

t.Run("test btc chain", func(t *testing.T) {
Expand Down Expand Up @@ -151,7 +151,7 @@ func TestKeeper_MigrateTSSFundsForChain(t *testing.T) {
cctx, found := k.GetCrossChainTx(ctx, index)
require.True(t, found)
require.Equal(t, gp.MulUint64(2).String(), cctx.GetCurrentOutboundParam().GasPrice)
require.Equal(t, priorityFee.String(), cctx.GetCurrentOutboundParam().GasPriorityFee)
require.Equal(t, priorityFee.MulUint64(2).String(), cctx.GetCurrentOutboundParam().GasPriorityFee)
})
}

Expand Down

0 comments on commit d328095

Please sign in to comment.