mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
fix: a couple of CI issues
This commit is contained in:
parent
2403a275f0
commit
c94a9dd78b
2 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue