Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jewei1997 committed Jan 7, 2025
1 parent 29317d7 commit e63474f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/evm/migrations/migrate_base_fee_off_by_one_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func TestMigrateBaseFeeOffByOne(t *testing.T) {
ctx := testkeeper.EVMTestApp.GetContextForDeliverTx([]byte{}).WithBlockHeight(8)
bf := sdk.NewDec(100)
k.SetDynamicBaseFeePerGas(ctx, bf)
require.Equal(t, sdk.Dec{}, k.GetPrevBlockBaseFeePerGas(ctx))
require.Equal(t, k.GetMinimumFeePerGas(ctx), k.GetPrevBlockBaseFeePerGas(ctx))
// do the migration
require.Nil(t, migrations.MigrateBaseFeeOffByOne(ctx, &k))
require.Equal(t, bf, k.GetPrevBlockBaseFeePerGas(ctx))
Expand Down

0 comments on commit e63474f

Please sign in to comment.