Skip to content

Commit

Permalink
concurrent map r/w bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mralj committed Oct 9, 2024
1 parent 128b120 commit 42855ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/vm/evm.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,8 @@ func NewEVM(blockCtx BlockContext, txCtx TxContext, statedb StateDB, chainConfig
chainRules: chainConfig.Rules(blockCtx.BlockNumber, blockCtx.Random != nil, blockCtx.Time),
}

evm.precompiles = activePrecompiledContracts(evm.chainRules)

//[rollup-geth]
evm.precompiles = ActivePrecompiledContracts(evm.chainRules)
evm.precompiles.ActivateRollupPrecompiledContracts(evm.chainRules, generateRollupPrecompiledContractsOverrides(evm))

evm.interpreter = NewEVMInterpreter(evm)
Expand Down

0 comments on commit 42855ae

Please sign in to comment.