Skip to content

registry/display: JSONRPC integration#25360

Merged
amnn merged 3 commits intomainfrom
amnn/disp-jsonrpc
Mar 11, 2026
Merged

registry/display: JSONRPC integration#25360
amnn merged 3 commits intomainfrom
amnn/disp-jsonrpc

Conversation

@amnn
Copy link
Copy Markdown
Contributor

@amnn amnn commented Feb 9, 2026

Description

Add support to legacy JSONRPC for Display v2.

Test plan

New E2E tests:

$ cargo nextest run -p sui-json-rpc-tests --test rpc_server_tests

Stack


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):
  • gRPC:
  • JSON-RPC: Adds support for Display Registry to JSONRPC: When showDisplay is set, the RPC will look for a Display<T> stored in the Display Registry and will use that as the source of truth for its type's format. This takes precedence over any Display v1 formats that exist for this type.
  • GraphQL:
  • CLI:
  • Rust SDK:
  • Indexing Framework:

@amnn amnn self-assigned this Feb 9, 2026
@amnn amnn requested a review from a team as a code owner February 9, 2026 14:34
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sui-docs Ready Ready Preview, Comment Mar 11, 2026 0:14am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
multisig-toolkit Ignored Ignored Preview Mar 11, 2026 0:14am
sui-kiosk Ignored Ignored Preview Mar 11, 2026 0:14am

Request Review

@amnn amnn temporarily deployed to sui-typescript-aws-kms-test-env February 9, 2026 14:34 — with GitHub Actions Inactive
@bmwill bmwill mentioned this pull request Feb 12, 2026
8 tasks
@amnn amnn force-pushed the amnn/disp-jsonrpc branch from 3765f08 to c79f047 Compare March 10, 2026 16:49
@amnn amnn force-pushed the amnn/disp-jsonrpc-alt branch from 3c2f1a9 to 957c6f4 Compare March 10, 2026 16:49
@amnn amnn temporarily deployed to sui-typescript-aws-kms-test-env March 10, 2026 16:49 — with GitHub Actions Inactive
@amnn amnn temporarily deployed to sui-typescript-aws-kms-test-env March 10, 2026 16:49 — with GitHub Actions Inactive
@amnn amnn force-pushed the amnn/disp-jsonrpc branch from c79f047 to d2465b1 Compare March 10, 2026 17:52
@amnn amnn force-pushed the amnn/disp-jsonrpc-alt branch from 957c6f4 to 183e158 Compare March 10, 2026 17:52
@amnn amnn temporarily deployed to sui-typescript-aws-kms-test-env March 10, 2026 17:52 — with GitHub Actions Inactive
@amnn amnn temporarily deployed to sui-typescript-aws-kms-test-env March 10, 2026 17:52 — with GitHub Actions Inactive
@amnn amnn force-pushed the amnn/disp-jsonrpc-alt branch from 183e158 to 885b512 Compare March 10, 2026 20:43
@amnn amnn force-pushed the amnn/disp-jsonrpc branch from d2465b1 to c8f6220 Compare March 10, 2026 20:44
@amnn amnn temporarily deployed to sui-typescript-aws-kms-test-env March 10, 2026 20:44 — with GitHub Actions Inactive
@amnn amnn force-pushed the amnn/disp-jsonrpc-alt branch from 885b512 to b44a52e Compare March 10, 2026 20:46
@amnn amnn force-pushed the amnn/disp-jsonrpc branch from c8f6220 to 2fd98ea Compare March 10, 2026 20:46
@amnn amnn temporarily deployed to sui-typescript-aws-kms-test-env March 10, 2026 20:46 — with GitHub Actions Inactive
@amnn amnn temporarily deployed to sui-typescript-aws-kms-test-env March 10, 2026 20:46 — with GitHub Actions Inactive
@amnn amnn force-pushed the amnn/disp-jsonrpc-alt branch from b44a52e to 7b15547 Compare March 10, 2026 20:47
@amnn amnn force-pushed the amnn/disp-jsonrpc branch from 2fd98ea to 3adb940 Compare March 10, 2026 20:47
@amnn amnn temporarily deployed to sui-typescript-aws-kms-test-env March 10, 2026 20:47 — with GitHub Actions Inactive
@amnn amnn temporarily deployed to sui-typescript-aws-kms-test-env March 10, 2026 20:47 — with GitHub Actions Inactive
Base automatically changed from amnn/disp-jsonrpc-alt to main March 10, 2026 21:16
@amnn amnn enabled auto-merge (squash) March 10, 2026 21:17
amnn added 3 commits March 11, 2026 00:12
## Description

Relax the type of `DisplayFieldsResponse` to allow values to be
arbitrary JSON, instead of just strings, so it can support Display v2
fields.

## Test plan

CI
## Description
Replicate the GraphQL alt integration for JSONRPC-alt.

## Test plan

New E2E tests:

```
cargo nextest run              \
  -p sui-indexer-alt-e2e-tests \
  --test transactional_tests   \
  -- jsonrpc/objects/display/display_v2
```
## Description

Add support to legacy JSONRPC for Display v2.

## Test plan

New E2E tests:

```
$ cargo nextest run -p sui-json-rpc-tests --test rpc_server_tests
```
@amnn amnn force-pushed the amnn/disp-jsonrpc branch from 3adb940 to c88826e Compare March 11, 2026 00:12
@amnn amnn temporarily deployed to sui-typescript-aws-kms-test-env March 11, 2026 00:13 — with GitHub Actions Inactive
@amnn amnn merged commit 951cae3 into main Mar 11, 2026
59 checks passed
@amnn amnn deleted the amnn/disp-jsonrpc branch March 11, 2026 00:32
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.

2 participants