core/vm: enable EIP-3855 (PUSH0) in Shanghai (#26475)

pull/26504/head
Andrew Ashikhmin 2 years ago committed by GitHub
parent 793f0f9ec8
commit c125e6e00c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      core/vm/jump_table.go

@ -81,7 +81,8 @@ func validate(jt JumpTable) JumpTable {
func newShanghaiInstructionSet() JumpTable {
instructionSet := newMergeInstructionSet()
enable3860(&instructionSet)
enable3855(&instructionSet) // PUSH0 instruction
enable3860(&instructionSet) // Limit and meter initcode
return validate(instructionSet)
}

Loading…
Cancel
Save