LiskArchive / lisk-engine

:bullettrain_front: Lisk blockchain engine
https://lisk.com
Apache License 2.0
0 stars 0 forks source link

lisk-codec decode does not guarantee `encode(decode(val)) == val` #119

Closed shuse2 closed 1 year ago

shuse2 commented 1 year ago

Expected behavior

With any value which can be successfully decoded, encode(decode(val)) == val should be true.

Actual behavior

Steps to reproduce

Add fuzz test to check random values