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

9 lines
189 B
Nim

import chronicles, eth/rlp, ../fuzztest
test:
try:
var rlp = rlpFromBytes(@payload.toRange)
discard rlp.inspect()
except RlpError as e:
debug "Inspect failed", err = e.msg