-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ibc-proto planning issue #13
Comments
How does this sound like: |
ibc-proto as it exists includes some Cosmos protos that are more generic, BaseAccount for example. Obviously it's not complete in that aspect. I like the pattern in ibc-proto and tendermint-proto and I've talked with the ICF about moving them upstream and gotten the unimaginatively named https://github.com/cosmos/rust-monorepo repo for the purpose. Right now I think just moving the proto definitions there, making them more complete, and creating a definitive location for the maintenance of proto data would be a big win. We can work on having a standard client library and other such functionality later. |
I was about to open an issue for a feature request, but it seems that it would be more appropriate to post it here: I'm not very familiar with |
Also FYI there is a proto/raw type lingering around in the modules: informalsystems/hermes#565 (comment) |
The need for a canonical set of proto files for IBC (and separately for Cosmos) still exists. But the ecosystem-level dependencies have not stabilized and it's not clear if this issue should be tracked here. |
Revisited this with an attempt to use cosmos-sdk-proto 0.12.0 replacing the bulk of The immediate problems I have encountered are:
It appears that for ibc-rs purposes, generating homespun Rust code in the |
We’ve been looking for upstream guidance from tendermint-rs. Things are a mess of incompatibilities right now, for ibc-rs as well: informalsystems/tendermint-rs#1053
This looks like a regression in the latest v0.12 release, likely owing to the https://docs.rs/cosmos-sdk-proto/0.11.0/cosmos_sdk_proto/cosmos/auth/v1beta1/query_client/index.html Please open tracking issues for these things as you discover them on https://github.com/cosmos/cosmos-rust |
@tarcieri Is there any plan on dealing with serde and other derives? The code generation settings in ibc-proto do a great deal to customize human-readable serialization for the proto-derived data structures, and I guess these serialization settings are applied only within the relayer. As to other customizations, I don't currently know the purpose of deriving the JSON schema impls, and I suspect we can live without the |
@mzabaluev there are a few open issues on that. I linked informalsystems/tendermint-rs#1053 because it discusses There's also this older, more general issue: informalsystems/tendermint-rs#654 Definitely open to solutions in this area, and if the issue isn't going to be addressed upstream in tendermint-rs soon, perhaps we can look at doing something in the meantime: cosmos/cosmos-rust#83 |
I made a missing Not sure what happened there as the other gRPC clients are still present. |
cosmos/cosmos-rust#219 was indeed a bug in This has been corrected in the v0.12.1 release, which now once again has a |
Crate
ibc-proto
Summary
New requests came in to enrich the ibc-proto crate with cosmos-SDK related protobuf structs or rename it or separate it.
This issue tries to coordinate among these requests to find out what would be the best possible future for the ibc-proto crate.
Problem Definition
ibc-proto only implements a subset of the Cosmos SDK protobuf definitions. Notably, the ones for IBC.
It would be nice to have one go-to protobuf crate for Cosmos SDK protobuf structs in Rust. But that might require its own repository (as well as better version control as other issues already point that out).
Proposal
(Will be updated based on the discussion.)
For Admin Use
The text was updated successfully, but these errors were encountered: