eigerco / lumina

Wasm friendly Celestia light node implementation in Rust
Apache License 2.0
119 stars 33 forks source link

Implement borsh serialization/deserialization for the core types in celestia-types #155

Open zvolin opened 10 months ago

zvolin commented 10 months ago

Borsh is a popular and more efficient alternative to serde, we could support it behind a feature flag

Wondertan commented 10 months ago

Would you use it for storage?

zvolin commented 10 months ago

no, I think protobuf is anyway better there as it's not rust-specific. This is just a general feature that some people may want to use with the types we provide. I know eg. sovereign is using borsh