Skip to content
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

rpc: introduce gRPC service #20435

Merged
merged 28 commits into from
Dec 9, 2024
Merged

rpc: introduce gRPC service #20435

merged 28 commits into from
Dec 9, 2024

Conversation

bmwill
Copy link
Contributor

@bmwill bmwill commented Nov 26, 2024

Description

Refactor the existing rest rpc code and introduce a new gRPC service served by the same endpoint.

Test plan

How did you test the new or updated feature?


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • Indexer:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:
  • REST API:

Copy link

vercel bot commented Nov 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 3:21pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Dec 9, 2024 3:21pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Dec 9, 2024 3:21pm
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview Dec 9, 2024 3:21pm

@bmwill bmwill temporarily deployed to sui-typescript-aws-kms-test-env November 26, 2024 14:36 — with GitHub Actions Inactive
@bmwill bmwill changed the title Rpc rpc: various refactorings Nov 26, 2024
@bmwill bmwill temporarily deployed to sui-typescript-aws-kms-test-env November 26, 2024 16:19 — with GitHub Actions Inactive
@bmwill bmwill temporarily deployed to sui-typescript-aws-kms-test-env November 26, 2024 16:34 — with GitHub Actions Inactive
@bmwill bmwill temporarily deployed to sui-typescript-aws-kms-test-env November 27, 2024 03:56 — with GitHub Actions Inactive
@bmwill bmwill temporarily deployed to sui-typescript-aws-kms-test-env November 30, 2024 22:17 — with GitHub Actions Inactive
@bmwill bmwill temporarily deployed to sui-typescript-aws-kms-test-env December 1, 2024 21:26 — with GitHub Actions Inactive
@bmwill bmwill temporarily deployed to sui-typescript-aws-kms-test-env December 3, 2024 03:37 — with GitHub Actions Inactive
@bmwill bmwill temporarily deployed to sui-typescript-aws-kms-test-env December 3, 2024 21:20 — with GitHub Actions Inactive
@bmwill bmwill changed the title rpc: various refactorings rpc: introduce gRPC service Dec 3, 2024
@bmwill bmwill marked this pull request as ready for review December 3, 2024 21:22
bmwill added 19 commits December 6, 2024 15:13
This patch removes support from the various rest endpoints where it was
previously added. Instead, to support clients who want a binary format,
a gRPC service will be added in a future patch.
Remove support for bcs response types from various endpoints, a few are
kept due to existing clients, as support for a binary response type will
be supported via a gRPC service that will be added in a future patch.
Introduces a new set of more fleshed out protobuf definitions for both
core types (and conversions to/from sui-sdk-types and the protobuf
types) as well as rpc request and response types.
Implement the sui.node.v2.Node gRPC service and serve it off the rpc
endpoint.
@bmwill bmwill had a problem deploying to sui-typescript-aws-kms-test-env December 9, 2024 15:20 — with GitHub Actions Failure
@bmwill bmwill had a problem deploying to sui-typescript-aws-kms-test-env December 9, 2024 15:26 — with GitHub Actions Failure
@bmwill bmwill merged commit 0dcad6b into MystenLabs:main Dec 9, 2024
45 of 48 checks passed
@bmwill bmwill deleted the rpc branch December 9, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants