-
Notifications
You must be signed in to change notification settings - Fork 226
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
tendermint-proto: Add a feature flag and generate gRPC server definitions #1137
Conversation
…ions - `proto-compiler` uses `tonic-build` - tendermint-proto can be compiled with std for the `grpc` feature (as required by the generated `tonic` code) - the primary motivation is the new gRPC-based PrivVal interface in Tendermint 0.35 (see informalsystems#1134)
Codecov Report
@@ Coverage Diff @@
## master #1137 +/- ##
======================================
Coverage 64.7% 64.7%
======================================
Files 231 231
Lines 15637 15637
======================================
+ Hits 10121 10122 +1
+ Misses 5516 5515 -1
Continue to review full report at Codecov.
|
@thanethomson +1 on this. It would unblock gRPC work on TMKMS |
a proposed follow-up after informalsystems#1137 is merged. ref: informalsystems#1134
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delayed review, I've been on vacation and traveling and have only had a chance to review this now. This is excellent, thanks @tomtau! 🎉
thanks @thanethomson , this unblocks some of the Tendermint 0.35 support work. |
Adds a "grpc" feature to the crate along with gRPC server definitions for the "privval" interface used by e.g. TMKMS to support remote signing. These were originally added in #1137 but lost in the shuffle of Tendermint v0.35-related changes. They have been updated to use `tonic` v0.8, which the `tendermint-proto` crate updated to after the original #1137 PR landed.
Adds a "grpc" feature to the crate along with gRPC server definitions for the "privval" interface used by e.g. TMKMS to support remote signing. These were originally added in #1137 but lost in the shuffle of Tendermint v0.35-related changes. They have been updated to use `tonic` v0.8, which the `tendermint-proto` crate updated to after the original #1137 PR landed.
Adds a "grpc" feature to the crate along with gRPC server definitions for the "privval" interface used by e.g. TMKMS to support remote signing. These were originally added in #1137 but lost in the shuffle of Tendermint v0.35-related changes. They have been updated to use `tonic` v0.8, which the `tendermint-proto` crate updated to after the original #1137 PR landed.
proto-compiler
usestonic-build
grpc
feature(as required by the generated
tonic
code)in Tendermint 0.35
(see generate privval gRPC server and provide a high-level pluggable default implementation #1134)
.changelog/