-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add serde feature to our stack #2773
Comments
The types used by event structs, along with relevant subfields defined in other dusk crates, are
Following from this, serde
|
One additional point to consider: I’m not sure how you’re currently handling the serialization of To address this, the web app team has adopted a specific approach to serializing If feasible, I’d like our serde_json serialization to follow the same pattern. |
Summary
Introduce a serde feature to execution-core that allows serde Serialize & Deserialize to be used on structs that are also used on the integration side (for example, all event structs from the genesis contracts).
Edit:
We want to implement the serde feature on every type where rkyv is also implemented for.
The decision has been made to use the following encodings:
Additional context
Relevant issues:
The text was updated successfully, but these errors were encountered: