mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-14 12:06:40 +00:00
core/vm: enable EIP-3855 (PUSH0) in Shanghai (#26475)
This commit is contained in:
parent
793f0f9ec8
commit
c125e6e00c
1 changed files with 2 additions and 1 deletions
|
|
@ -81,7 +81,8 @@ func validate(jt JumpTable) JumpTable {
|
||||||
|
|
||||||
func newShanghaiInstructionSet() JumpTable {
|
func newShanghaiInstructionSet() JumpTable {
|
||||||
instructionSet := newMergeInstructionSet()
|
instructionSet := newMergeInstructionSet()
|
||||||
enable3860(&instructionSet)
|
enable3855(&instructionSet) // PUSH0 instruction
|
||||||
|
enable3860(&instructionSet) // Limit and meter initcode
|
||||||
return validate(instructionSet)
|
return validate(instructionSet)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue