LiskArchive / lisk-engine

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

Reading int64 with high value becomes invalid #139

Closed shuse2 closed 8 months ago

shuse2 commented 8 months ago

Expected behavior

08e8e6d7d3ca96fa8cf301 should read as 8758644044142934452

Actual behavior

Reading encoded high value with int64 becomes invalid. 08e8e6d7d3ca96fa8cf301 is read as -464727992711841356

Steps to reproduce

Try to read encoded int64 8758644044142934452 with codec