Skip to content

Commit

Permalink
fix: more consistent invalid opcode trace
Browse files Browse the repository at this point in the history
  • Loading branch information
lispc committed Aug 27, 2023
1 parent d650299 commit 8e452d4
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions core/vm/opcodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,6 @@ const (
LOG4
)

// unofficial opcodes used for parsing.
const (
PUSH OpCode = 0xb0 + iota
DUP
SWAP
)

// 0xf0 range - closures.
const (
CREATE OpCode = 0xf0
Expand Down Expand Up @@ -395,10 +388,6 @@ var opCodeToString = map[OpCode]string{
REVERT: "REVERT",
INVALID: "INVALID",
SELFDESTRUCT: "SELFDESTRUCT",

PUSH: "PUSH",
DUP: "DUP",
SWAP: "SWAP",
}

func (op OpCode) String() string {
Expand Down

0 comments on commit 8e452d4

Please sign in to comment.