We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b601d0a commit c4c5211Copy full SHA for c4c5211
x/evm/migrations/migrate_eip_1559_max_base_fee.go
@@ -0,0 +1,14 @@
1
+package migrations
2
+
3
+import (
4
+ sdk "github.com/cosmos/cosmos-sdk/types"
5
+ "github.com/sei-protocol/sei-chain/x/evm/keeper"
6
+ "github.com/sei-protocol/sei-chain/x/evm/types"
7
+)
8
9
+func MigrateEip1559MaxFeePerGas(ctx sdk.Context, k *keeper.Keeper) error {
10
+ keeperParams := k.GetParamsIfExists(ctx)
11
+ keeperParams.MaximumFeePerGas = types.DefaultParams().MaximumFeePerGas
12
+ k.SetParams(ctx, keeperParams)
13
+ return nil
14
+}
0 commit comments