fix: a couple of CI issues

This commit is contained in:
Guillaume Ballet 2023-09-25 17:18:02 +02:00
parent 2403a275f0
commit c94a9dd78b
2 changed files with 1 additions and 2 deletions

View file

@ -309,7 +309,6 @@ func CopyHeader(h *Header) *Header {
} }
if h.ExecutionWitness != nil { if h.ExecutionWitness != nil {
cpy.ExecutionWitness = h.ExecutionWitness.Copy() cpy.ExecutionWitness = h.ExecutionWitness.Copy()
} }
return &cpy return &cpy
} }

View file

@ -179,7 +179,7 @@ func (in *EVMInterpreter) Run(contract *Contract, input []byte, readOnly bool) (
logged, pcCopy, gasCopy = false, pc, contract.Gas 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 // if the PC ends up in a new "chunk" of verkleized code, charge the
// associated costs. // associated costs.
contractAddr := contract.Address() contractAddr := contract.Address()