cosmos / ibc-proto-rs

Rust Protobuf definitions and gRPC clients for interacting with Cosmos SDK, IBC and Interchain Security
Apache License 2.0
45 stars 26 forks source link

imp: re-export `Protobuf` from `tendermint-proto` #158

Closed Farhad-Shabani closed 10 months ago

Farhad-Shabani commented 11 months ago

Closes: #116

Description

This PR proposes the removal of the current object-safe Protobuf definitions and re-exporting Protobuf from tendermint-proto crate. This change is contingent upon receiving no objections from other users of ibc-proto-rs.

With ibc-rs no longer requiring object-safe Protobuf, we can streamline/remove the Msg trait afterward. This entails the removal of the to_any and get_sign_bytes methods there. Instead, we can achieve the conversion to Any through a blanket implementation.