-
Notifications
You must be signed in to change notification settings - Fork 124
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
Add more IBC related names #457
Conversation
Really we should switch to generating this automatically, now that it's possible |
Very much agree with this, as well as having serde added. |
Can you (re)give me pointers to adding this automatically? I might look at it at some point if no one has done it. |
@penso in https://docs.rs/prost-build/latest/prost_build/struct.Config.html The newly added https://docs.rs/prost-build/latest/prost_build/struct.Config.html#method.enable_type_names |
* cosmrs: expose `base::query` module and pagination types (cosmos#454) * cosmos-sdk-proto: add more IBC related names (cosmos#457) * cosmrs: added support for validator-related queries in staking module (cosmos#453) * correctly populate 'updated' and 'msg' fields from proto responses (cosmos#451) * cosmos-sdk-proto: update tonic to 0.11 (cosmos#460) Minimise lockfile changes * Bump tendermint-rs dependencies to v0.35 (cosmos#461) * cosmos-sdk-proto: use `prost-build` to gen IBC `Name` impls (cosmos#462) Uses the recently added support in `prost-build` for automatically generating impls of the `Name` trait for IBC-related types, rather than maintaining them by hand in the `type_names` module. Unfortunately we can only do this for the IBC protos, since we build the others using `buf`. * cosmos-sdk-proto v0.21.0 (cosmos#463) * cosmrs v0.16.0 (cosmos#464) * cosmos-sdk-proto: remove deprecated `MessageExt` methods (cosmos#465) * cosmos-sdk-proto v0.21.1 (cosmos#466) --------- Co-authored-by: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com> Co-authored-by: Fabien Penso <git@pen.so> Co-authored-by: Alex Butler <alexheretic@gmail.com> Co-authored-by: Tony Arcieri (iqlusion) <tony@iqlusion.io>
* cosmrs: expose `base::query` module and pagination types (cosmos#454) * cosmos-sdk-proto: add more IBC related names (cosmos#457) * cosmrs: added support for validator-related queries in staking module (cosmos#453) * correctly populate 'updated' and 'msg' fields from proto responses (cosmos#451) * cosmos-sdk-proto: update tonic to 0.11 (cosmos#460) Minimise lockfile changes * Bump tendermint-rs dependencies to v0.35 (cosmos#461) * cosmos-sdk-proto: use `prost-build` to gen IBC `Name` impls (cosmos#462) Uses the recently added support in `prost-build` for automatically generating impls of the `Name` trait for IBC-related types, rather than maintaining them by hand in the `type_names` module. Unfortunately we can only do this for the IBC protos, since we build the others using `buf`. * cosmos-sdk-proto v0.21.0 (cosmos#463) * cosmrs v0.16.0 (cosmos#464) * cosmos-sdk-proto: remove deprecated `MessageExt` methods (cosmos#465) * cosmos-sdk-proto v0.21.1 (cosmos#466) --------- Co-authored-by: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com> Co-authored-by: Fabien Penso <git@pen.so> Co-authored-by: Alex Butler <alexheretic@gmail.com> Co-authored-by: Tony Arcieri (iqlusion) <tony@iqlusion.io>
Adding a few missing type names implementations.