Skip to content

Commit

Permalink
core/vm: enable EIP-3855 (PUSH0) in Boneh
Browse files Browse the repository at this point in the history
Original-author: Andrew Ashikhmin <[email protected]>
  • Loading branch information
sunny2022da committed Apr 12, 2023
1 parent a80f253 commit c380e01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/vm/jump_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ func validate(jt JumpTable) JumpTable {

func newBonehInstructionSet() JumpTable {
instructionSet := newMergeInstructionSet()
enable3860(&instructionSet)
enable3855(&instructionSet) // PUSH0 instruction
enable3860(&instructionSet) // Limit and meter initcode
return validate(instructionSet)
}

Expand Down

0 comments on commit c380e01

Please sign in to comment.