From 944efd65774d9b35b1dcdd43d272fa917a737af8 Mon Sep 17 00:00:00 2001 From: ylsGit Date: Tue, 20 Apr 2021 17:57:35 +0800 Subject: [PATCH] Merge PR: remove redundant code (#826) Co-authored-by: KamiD <44460798+KamiD@users.noreply.github.com> --- x/evm/genesis.go | 1 - 1 file changed, 1 deletion(-) diff --git a/x/evm/genesis.go b/x/evm/genesis.go index 48115d96a2..759eafcd1d 100644 --- a/x/evm/genesis.go +++ b/x/evm/genesis.go @@ -17,7 +17,6 @@ import ( func InitGenesis(ctx sdk.Context, k Keeper, accountKeeper types.AccountKeeper, data GenesisState) []abci.ValidatorUpdate { // nolint: interfacer logger := ctx.Logger().With("module", types.ModuleName) - data.Params.MaxGasLimitPerTx = types.DefaultMaxGasLimitPerTx k.SetParams(ctx, data.Params) csdb := types.CreateEmptyCommitStateDB(k.GenerateCSDBParams(), ctx)