-
Notifications
You must be signed in to change notification settings - Fork 67
Closed
Labels
module:execution-coreIssues related to execution-coreIssues related to execution-coretype:featureimplementing a new featureimplementing a new feature
Description
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:
- Use base58 as the encoding for any type related to keys. (This includes PublicKey, Address, Signature, SecretKey, etc.)
- use hex/base16 for other types unrelated to keys that have meaning in our stack
use base64 for any opaque type that cannot be represented in any useful way (e.g. unknown payloads, proofs)
Additional context
Relevant issues:
Metadata
Metadata
Assignees
Labels
module:execution-coreIssues related to execution-coreIssues related to execution-coretype:featureimplementing a new featureimplementing a new feature