You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like there's boilerplate for implementing encodable/decodable for RLP right now. Why aren't we using serde, which automatically generates Serializable/Deserializable implementations for your structs? https://serde.rs/derive.html
Then we get these serialization formats for free (e.g. JSON, CBOR, Messagepack).
The text was updated successfully, but these errors were encountered:
The plan is to currently use serde-cbor. In the future, if we need serde-rlp or serde-protobuf, we will have to implement it. But at least this gets rid of our boilerplate code we have.
https://serde.rs/
It seems like there's boilerplate for implementing encodable/decodable for RLP right now. Why aren't we using serde, which automatically generates Serializable/Deserializable implementations for your structs?
https://serde.rs/derive.html
Then we get these serialization formats for free (e.g. JSON, CBOR, Messagepack).
The text was updated successfully, but these errors were encountered: