Timeline for Persistent negative offset span value when serialising a structure in Borsh generated by Anchor
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 30, 2022 at 11:13 | vote | accept | simeondermaats | ||
Aug 24, 2022 at 20:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 25, 2022 at 19:48 | answer | added | Jon C | timeline score: 2 | |
Jul 21, 2022 at 11:16 | comment | added | Omega |
Also another suggestion, try using the correct TS fields as generated by the IDL. example: cv_url --> cvUrl , reactie_id --> reactieId . Otherwise the IDL does not know how to serialize the data.
|
|
Jul 21, 2022 at 8:58 | comment | added | simeondermaats | Okay, to be fair, that was indeed an oversight on my part. However, I've fixed it, and the error persists. | |
Jul 21, 2022 at 8:33 | comment | added | Omega |
Briefly looking towards your code, I already found one bug. You define 1 byte less in your Reactie::SPACE . u16 is 2 bytes instead of 1 byte.
|
|
S Jul 21, 2022 at 8:00 | review | First questions | |||
Jul 21, 2022 at 18:40 | |||||
S Jul 21, 2022 at 8:00 | history | asked | simeondermaats | CC BY-SA 4.0 |