diff --git a/core/vm/opcodes.go b/core/vm/opcodes.go index 0376e1f27e..d6d2a9bcd5 100644 --- a/core/vm/opcodes.go +++ b/core/vm/opcodes.go @@ -206,13 +206,6 @@ const ( LOG4 ) -// unofficial opcodes used for parsing. -const ( - PUSH OpCode = 0xb0 + iota - DUP - SWAP -) - // 0xf0 range - closures. const ( CREATE OpCode = 0xf0 @@ -389,10 +382,6 @@ var opCodeToString = map[OpCode]string{ STATICCALL: "STATICCALL", REVERT: "REVERT", SELFDESTRUCT: "SELFDESTRUCT", - - PUSH: "PUSH", - DUP: "DUP", - SWAP: "SWAP", } func (op OpCode) String() string {