core: harmonize use of cm.config

pull/31002/head
lightclient 1 week ago
parent 69d5f03f21
commit ab7c93a917
No known key found for this signature in database
GPG Key ID: 657913021EF45A6A
  1. 2
      core/chain_makers.go

@ -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)

Loading…
Cancel
Save