From aead1143360f34655c057449cdae4c5907f184ad Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Wed, 6 Nov 2024 02:42:25 +0100 Subject: [PATCH] core/vm: improve push0 --- core/vm/eips.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/vm/eips.go b/core/vm/eips.go index 71d51f81ef..7d0e21c17d 100644 --- a/core/vm/eips.go +++ b/core/vm/eips.go @@ -236,7 +236,7 @@ func enable3855(jt *JumpTable) { // opPush0 implements the PUSH0 opcode func opPush0(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([]byte, error) { - scope.Stack.push(new(uint256.Int)) + scope.Stack.pushU64(0) return nil, nil }