nim-eth/tests/fuzzing/rlp/rlp_inspect.nim

11 lines
199 B
Nim
Raw Permalink Normal View History

import
testutils/fuzzing, chronicles,
../../../eth/rlp
2019-09-26 16:27:23 +00:00
test:
try:
var rlp = rlpFromBytes(payload)
2019-09-26 16:27:23 +00:00
discard rlp.inspect()
except RlpError as e:
debug "Inspect failed", err = e.msg