diff --git a/x/evm/migrations/migrate_base_fee_off_by_one_test.go b/x/evm/migrations/migrate_base_fee_off_by_one_test.go index d9f36bcba..d16778a54 100644 --- a/x/evm/migrations/migrate_base_fee_off_by_one_test.go +++ b/x/evm/migrations/migrate_base_fee_off_by_one_test.go @@ -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))