Skip to content

Commit c125e6e

Browse files
authored
core/vm: enable EIP-3855 (PUSH0) in Shanghai (#26475)
1 parent 793f0f9 commit c125e6e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/vm/jump_table.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ func validate(jt JumpTable) JumpTable {
8181

8282
func newShanghaiInstructionSet() JumpTable {
8383
instructionSet := newMergeInstructionSet()
84-
enable3860(&instructionSet)
84+
enable3855(&instructionSet) // PUSH0 instruction
85+
enable3860(&instructionSet) // Limit and meter initcode
8586
return validate(instructionSet)
8687
}
8788

0 commit comments

Comments
 (0)