From c125e6e00c6408cd544fd567dda50ef5edadeb02 Mon Sep 17 00:00:00 2001 From: Andrew Ashikhmin <34320705+yperbasis@users.noreply.github.com> Date: Thu, 12 Jan 2023 11:00:08 +0100 Subject: [PATCH] core/vm: enable EIP-3855 (PUSH0) in Shanghai (#26475) --- core/vm/jump_table.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/vm/jump_table.go b/core/vm/jump_table.go index 240f3734a..91f1be669 100644 --- a/core/vm/jump_table.go +++ b/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) }