8000 grpc: Add base gRPC server with version service to v0.37.x-experimental by cason · Pull Request #1438 · cometbft/cometbft · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

grpc: Add base gRPC server with version service to v0.37.x-experimental #1438

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

Closed
wants to merge 4 commits into from

Conversation

cason
Copy link
Contributor
@cason cason commented Oct 6, 2023

Addresses #1420.

Refer to the companion PR for v0.38 for additional details: #1437


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

thanethomson and others added 3 commits October 6, 2023 09:38
   * With conflicts to be solved

* proto: Add VersionService

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* proto: make proto-gen

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* config: Add gRPC server section

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* rpc/grpc: Add server with support for version service

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* node: Add gRPC server

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* rpc/grpc: Add client with support for version service

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* test/e2e: Add gRPC server test of version service

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Add changelog entries

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* rpc: Fix test broken by introduction of gRPC service

Some of the RPC tests run Comet nodes in goroutines, causing port
conflicts. This randomizes the port assigned to the gRPC server,
reducing the likelihood of port conflicts.

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* rpc/grpc: Update log message format to conform to RPC log style

Signed-off-by: Thane Thomson <connect@thanethomson.com>

---------

Signed-off-by: Thane Thomson <connect@thanethomson.com>
@cason cason mentioned this pull request Oct 6, 2023
18 tasks
@cason cason marked this pull request as ready for review October 6, 2023 08:33
@cason cason requested a review from a team as a code owner October 6, 2023 08:33
@cason cason self-assigned this Oct 6, 2023
@cason cason added the grpc Anything relating to the gRPC API label Oct 6, 2023
@cason cason added this to the 2023-Q4 milestone Oct 6, 2023
@cason cason requested review from jmalicevic and hvanz October 6, 2023 08:36
Copy link
Contributor
@jmalicevic jmalicevic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor update to config/toml.go since your last change, otherwise LGTM.

@cason cason removed this from the 2023-Q4 milestone Oct 10, 2023
@cason cason marked this pull request as draft October 10, 2023 08:50
@github-actions
Copy link

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.

@github-actions github-actions bot added the stale For use by stalebot label Oct 21, 2023
@lasarojc lasarojc added wip Work in progress and removed stale For use by stalebot labels Oct 24, 2023
@adizere
Copy link
Member
adizere commented Jan 11, 2024

Closing until we get signals that this is needed in v0.37.

@adizere adizere closed this Jan 11, 2024
@sergio-mena sergio-mena removed the wip Work in progress label Jan 12, 2024
@zrbecker zrbecker deleted the cason/backport-pr818-v0.37 branch February 7, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
grpc Anything relating to the gRPC API
Projects
No open projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

6 participants
0