Skip to content

Commit 28cb13f

Browse files
authored
Merge pull request #814 from dapphub/oxfe-pretty
2 parents 34bb005 + 723064b commit 28cb13f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/hevm/src/EVM/Op.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,6 @@ opString (i, o) = let showPc x | x < 0x10 = '0' : showHex x ""
167167
OpLog x -> "LOG" ++ show x
168168
OpPush x -> "PUSH " ++ show x
169169
OpRevert -> "REVERT"
170-
OpUnknown x -> "UNKNOWN " ++ show x
170+
OpUnknown x -> case x of
171+
254 -> "INVALID"
172+
_ -> "UNKNOWN " ++ (showHex x "")

0 commit comments

Comments
 (0)