Skip to content

Commit

Permalink
Merge pull request #814 from dapphub/oxfe-pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
d-xo authored Sep 23, 2021
2 parents 34bb005 + 723064b commit 28cb13f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/hevm/src/EVM/Op.hs
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,6 @@ opString (i, o) = let showPc x | x < 0x10 = '0' : showHex x ""
OpLog x -> "LOG" ++ show x
OpPush x -> "PUSH " ++ show x
OpRevert -> "REVERT"
OpUnknown x -> "UNKNOWN " ++ show x
OpUnknown x -> case x of
254 -> "INVALID"
_ -> "UNKNOWN " ++ (showHex x "")

0 comments on commit 28cb13f

Please sign in to comment.