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 <34320705+yperbasis@users.noreply.github.com>
  • Loading branch information
sunny2022da committed Apr 12, 2023
1 parent 9de09cd commit 38440ee
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 38440ee

Please sign in to comment.