-
Notifications
You must be signed in to change notification settings - Fork 636
docs: ADR-106: gRPC API #850
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
Conversation
Looks great! |
Glad to hear you think so! Are there any other endpoints that you'd like to see exposed here @romac? |
This looks great for us, I think it would cover our use-case and replace our current proxy service. It could also be helpful to have access to the |
Here's the full list of RPC endpoints we use from Hermes: https://github.com/informalsystems/hermes/blob/master/docs/spec/relayer/Data-Requirements.md Aside from the first two endpoints which are strictly required for relaying (
While it would be nice to get rid of JSON-RPC altogether, since we'll have to maintain multi-version support for some time we could initially do without and keep hitting the JSON-RPC endpoints for those, and wait until they are added at a later time. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Signed-off-by: Thane Thomson <connect@thanethomson.com>
1a385f0
to
ca2bedc
Compare
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Signed-off-by: Thane Thomson <connect@thanethomson.com>
@hdevalence I've added a @romac I've updated the endpoints - will this suffice for the relayer? |
I might be missing something but I believe the Aside from that, looks great! 🙏 |
@thanethomson what about privval support? (previously tracked as tendermint/tendermint#9256) If that's in the cards, I have some feedback on the design of that API based on some recent experiences (namely it would be nice if there were an error which KMS systems can use to communicate the last signed h/r/s back to CometBFT in the event of double signing, so CometBFT could potentially update its round counter in response) |
That could definitely be on the cards @tony-iqlusion. We do have a separate tracking issue for that in #476, but we'd be very interested to hear what your ideal API/interaction model would look like. |
Really all I'd like is a documented standard way of communicating a double signing error from
If Right now CometBFT does not handle Edit: see also |
@thanethomson what's the state of this work? Should we take over here? |
Yes please @melekes! |
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.
Pre-approving based on a sync review with Andy today.
What is left:
- double-check comments from Henry & Tony & Romain
- validate the Go API server instantiation
- double-check potential name conflict "ADR 105"
Partially addresses #81.
📖 Rendered
There's already a partial implementation of this on the
feature/adr101-pull-companion
branch. See #818.PR checklist
.changelog
(we use unclog to manage our changelog)docs/
orspec/
) and code comments