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

This commit is contained in:
Andrew Ashikhmin 2023-01-12 11:00:08 +01:00 committed by GitHub
parent 793f0f9ec8
commit c125e6e00c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}