Closed dzmitry-lahoda closed 3 years ago
Yikes, thanks!
Pretty sure it's this: https://github.com/solana-labs/solana-program-library/blob/2b3f71ead5b81f4ea4a2fd3e4fe9583a6e39b6a4/feature-proposal/program/src/borsh_utils.rs#L42 If you change that to 4, I expect you'll get the same result
This'll ship in the next Solana 1.6 release. Thanks again for the report
get_packed_len
returns 127, while doing real serde gives 135 for: