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 {
cpy.ExecutionWitness = h.ExecutionWitness.Copy()
}
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
}
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()