Timeline for AnchorSerialize issue - String serialized to huge length with Metaplex DataV2
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 15 at 19:43 | comment | added | harkl | Looks like a known issue in Anchor itself. Fixed in this PR that is releasing with 0.31.0 github.com/coral-xyz/anchor/pull/3213/files | |
Oct 15 at 8:56 | comment | added | crypto miester |
weird bug. it could also be a typescript anchor client issue. try using kinobi, shank, or solita. if you want to continue. basically these are IDL client builders, that you could then use rather than straight anchor.program
|
|
Oct 15 at 6:40 | comment | added | harkl |
So if I shuffle the order of InitializeTokenPoolArgs I can get different vars to error where it looks like it concats all the strings together and then dumps a bunch of bytes after like 'Program log: *****************symbol: GOLDhttps://raw.githubusercontent.com/solana-developers/program-examples/new-examples/tokens/tokens/.assets/spl-token.jsonSolana Gold\x01\x00\.... - it only ever effects 1/3 Strings which always seems to be the 3rd String in the order.
|
|
S Oct 15 at 5:28 | review | First answers | |||
Oct 29 at 5:33 | |||||
S Oct 15 at 5:28 | history | answered | crypto miester | CC BY-SA 4.0 |