dusk-network / rusk

The reference Dusk platform implementation and tools
Mozilla Public License 2.0
167 stars 60 forks source link

execution-core: add serde feature #2773

Open Neotamandua opened 1 month ago

Neotamandua commented 1 month ago

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).

This issue relies on: https://github.com/dusk-network/bls12_381-bls/issues/21

d-sonuga commented 1 week ago

The types used by event structs, along with relevant subfields defined in other dusk crates, are

Following from this, serde Serialize and Deserialize implementations will be needed in: