core: harmonize use of cm.config

This commit is contained in:
lightclient 2025-01-30 12:05:12 -07:00
parent 69d5f03f21
commit ab7c93a917
No known key found for this signature in database
GPG key ID: 657913021EF45A6A

View file

@ -493,7 +493,7 @@ func GenerateVerkleChain(config *params.ChainConfig, parent *types.Block, engine
// preState := statedb.Copy()
// EIP-2935 / 7709
blockContext := NewEVMBlockContext(b.header, cm, cm.Config(), &b.header.Coinbase)
blockContext := NewEVMBlockContext(b.header, cm, cm.config, &b.header.Coinbase)
blockContext.Random = &common.Hash{} // enable post-merge instruction set
evm := vm.NewEVM(blockContext, statedb, cm.config, vm.Config{})
ProcessParentBlockHash(b.header.ParentHash, evm)