Skip to content

Commit

Permalink
print bytes32 values as hex
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrieco-tob committed Sep 15, 2023
1 parent 31c187b commit 298f954
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Echidna/ABI.hs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ ppAbiValue = \case
AbiInt _ n -> show n
AbiAddress n -> "0x" <> showHex n ""
AbiBool b -> if b then "true" else "false"
AbiBytes 32 b -> "0x" <> BS.foldr showHex "" b
AbiBytes _ b -> show b
AbiBytesDynamic b -> show b
AbiString s -> show s
Expand Down

0 comments on commit 298f954

Please sign in to comment.