Skip to content

rpc: remove grpc support#9683

Closed
cmwaters wants to merge 2 commits intomainfrom
cal/backport-grpc-deprecation
Closed

rpc: remove grpc support#9683
cmwaters wants to merge 2 commits intomainfrom
cal/backport-grpc-deprecation

Conversation

@cmwaters
Copy link
Contributor

@cmwaters cmwaters commented Nov 9, 2022

Ports over #7121 removing support for grpc (which I think only had broadcast_commit)

If we decide to go through with this we should add a friendly deprecation notice to v0.37


PR checklist

  • Tests written/updated, or no tests needed
  • CHANGELOG_PENDING.md updated, or no changelog entry needed
  • Updated relevant documentation (docs/) and code comments, or no
    documentation updates needed

M. J. Fromberger added 2 commits November 9, 2022 16:31
This change removes the partial gRPC interface to the RPC service, which was
deprecated in resolution of #6718.

Details:
- rpc: Remove the client and server interfaces and proto definitions.
- Remove the gRPC settings from the config library.
- Remove gRPC setup for the RPC service in the node startup.
- Fix various test helpers to remove gRPC bits.
- Remove the --rpc.grpc-laddr flag from the CLI.

Note that to satisfy the protobuf interface check, this change also includes a
temporary edit to buf.yaml, that I will revert after this is merged.
This patch was needed to pass the buf breakage check for the proto file removed
in #7121, but now that master contains the change we no longer need the patch.
@cmwaters cmwaters requested a review from a team November 9, 2022 15:39
@thanethomson thanethomson added the community-call This issue is to be discussed during a community call label Nov 10, 2022
@thanethomson
Copy link
Contributor

After today's community call, given that it looks likely we'll be introducing a full gRPC interface to Tendermint, should we rather keep the existing gRPC functionality and expand on it in subsequent PRs?

@cmwaters
Copy link
Contributor Author

After today's community call, given that it looks likely we'll be introducing a full gRPC interface to Tendermint, should we rather keep the existing gRPC functionality and expand on it in subsequent PRs?

Yess. I will close this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-call This issue is to be discussed during a community call

Projects

Status: Done/Merged

Development

Successfully merging this pull request may close these issues.

2 participants