diff --git a/core/types/block.go b/core/types/block.go index a704d23043..90cb5df408 100644 --- a/core/types/block.go +++ b/core/types/block.go @@ -309,7 +309,6 @@ func CopyHeader(h *Header) *Header { } if h.ExecutionWitness != nil { cpy.ExecutionWitness = h.ExecutionWitness.Copy() - } return &cpy } diff --git a/core/vm/interpreter.go b/core/vm/interpreter.go index 1b980ccb13..1bc0e80dfc 100644 --- a/core/vm/interpreter.go +++ b/core/vm/interpreter.go @@ -179,7 +179,7 @@ func (in *EVMInterpreter) Run(contract *Contract, input []byte, readOnly bool) ( logged, pcCopy, gasCopy = false, pc, contract.Gas } - if in.evm.chainRules.IsCancun && !contract.IsDeployment { + if in.evm.chainRules.IsPrague && !contract.IsDeployment { // if the PC ends up in a new "chunk" of verkleized code, charge the // associated costs. contractAddr := contract.Address()