From c94a9dd78b37ce272e9deb41e4dab0755ef02780 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Mon, 25 Sep 2023 17:18:02 +0200 Subject: [PATCH] fix: a couple of CI issues --- core/types/block.go | 1 - core/vm/interpreter.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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()