snarkVM
snarkVM copied to clipboard
[Bug] Fix serialization length type inconsistencies
🐛 Bug Report
Fix serialization length type inconsistencies:
- [ ] String (u16 in
ToBytesvs u32 inMAX_STRING_BYTES) - [x] And this case https://github.com/AleoHQ/snarkVM/pull/987/commits/83b8c3b6f07d59aac9582ccc88065c7c85fb3e44
#1235 fixes the case in https://github.com/AleoHQ/snarkVM/commit/83b8c3b6f07d59aac9582ccc88065c7c85fb3e44