tendermint-rs
tendermint-rs copied to clipboard
Define Protobuf schema for LightBlock type
The Protobuf schema would be used for:
- serializing light blocks for storage in the light store
- across FFI boundaries (eg. Rust<->WASM)
This type is defined in go-tendermint (https://github.com/tendermint/tendermint/blob/master/proto/tendermint/types/types.proto#L140) if it fits your use case.
Oh the LightBlock
terminology has made it into Go Tendermint, sweet :)
Unfortunately that proto definition does not quite fit the bill since our LightBlock type looks like this:
https://github.com/informalsystems/tendermint-rs/blob/2381dcf8514a84c46532deae85aa3d7a5f586f64/light-client/src/types.rs#L84-L95