snarkVM icon indicating copy to clipboard operation
snarkVM copied to clipboard

[Bug] Fix serialization length type inconsistencies

Open howardwu opened this issue 3 years ago • 1 comments

🐛 Bug Report

Fix serialization length type inconsistencies:

  • [ ] String (u16 in ToBytes vs u32 in MAX_STRING_BYTES)
  • [x] And this case https://github.com/AleoHQ/snarkVM/pull/987/commits/83b8c3b6f07d59aac9582ccc88065c7c85fb3e44

howardwu avatar Oct 01 '22 01:10 howardwu

#1235 fixes the case in https://github.com/AleoHQ/snarkVM/commit/83b8c3b6f07d59aac9582ccc88065c7c85fb3e44

howardwu avatar Nov 03 '22 23:11 howardwu