#proto #cosmos #blockchain #tendermint


Protobuf stuct defintions for interacting with Gravity Bridge Chain

13 unstable releases (3 breaking)

0.4.5 Mar 18, 2024
0.4.4 Mar 18, 2024
0.4.3 Oct 18, 2023
0.4.1 Sep 21, 2023
0.1.0 Apr 21, 2023

#2480 in Magic Beans


18K SLoC


Crate Apache 2.0 Licensed

Rust crate for interacting with compiled Protobufs used by Gravity Bridge Chain.

This crate also provides the Cosmos Protobufs by exporting the Cosmos SDK Proto crate, purely for convenience.


This crate provides Gravity proto definitions in Rust and also re-exports cosmos_sdk_proto for use by downstream crates. By default around a dozen proto files are generated and places into the prost folder. We could then proceed to fix up all these files and use them as the required dependencies to the Gravity file, but we chose instead to replace those paths with references ot upstream cosmos-sdk-proto and delete the other files. This reduces cruft in this repo even if it does make for a somewhat more confusing proto generation process.


~101K SLoC