Repository navigation
sui-rpc: vendor the MovePackageService package APIs - #341
Open
nickvikeras wants to merge 2 commits into
Open
nickvikeras wants to merge 2 commits into
nickvikeras wants to merge 2 commits into
Conversation
This was referenced Nov 4, 2026
Closed
nickvikeras
force-pushed
the
nickv/package-at-checkpoint-errors
branch
from
November 5, 2026 15:36
13b574a to
078ab77
Compare
This was referenced Nov 5, 2026
Open
nickvikeras
marked this pull request as ready for review
November 5, 2026 15:54
nickvikeras
added a commit
that referenced
this pull request
Nov 6, 2026
nickvikeras
added a commit
that referenced
this pull request
Nov 6, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 6, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 6, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 6, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 6, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 6, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 6, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 7, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 7, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 7, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 7, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 7, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 7, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 7, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 7, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 13, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 13, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 13, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 13, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 13, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 13, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 13, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 13, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 13, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
force-pushed
the
nickv/package-at-checkpoint-errors
branch
from
November 13, 2026 06:33
7c67fe3 to
e261a32
Compare
nickvikeras
added a commit
that referenced
this pull request
Nov 13, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 13, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 13, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 13, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 13, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
force-pushed
the
nickv/package-at-checkpoint-errors
branch
from
November 13, 2026 17:44
e261a32 to
0444494
Compare
nickvikeras
force-pushed
the
nickv/refusal-reasons
branch
from
November 13, 2026 18:00
91a772a to
c20455f
Compare
nickvikeras
force-pushed
the
nickv/package-at-checkpoint-errors
branch
from
November 13, 2026 18:00
0444494 to
1c2afe3
Compare
nickvikeras
added a commit
that referenced
this pull request
Nov 14, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 14, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 14, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 14, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 14, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
added a commit
that referenced
this pull request
Nov 14, 2026
# Conflicts: # crates/sui-rpc/src/proto/generated/sui.rpc.v2.fds.bin
nickvikeras
force-pushed
the
nickv/package-at-checkpoint-errors
branch
from
November 14, 2026 21:50
1c2afe3 to
68c7391
Compare
Vendor the protos from MystenLabs/sui-apis nickv/list-system-packages (a33005a: sui-apis #51, #41, #44, #45 and #50) and regenerate the bindings. - GetPackageRequest.at_checkpoint outside the indexed range fails with OUT_OF_RANGE and reason ABOVE_LATEST_AVAILABLE or BELOW_EARLIEST_AVAILABLE. - PackageVersion.checkpoint, and ListPackageVersionsRequest.at_checkpoint to list only the versions published at or before a checkpoint. - Cursor paging (options) and start_version/end_version bounds for ListPackageVersions, with PackageVersion.cursor. - ListPackageVersions with package_id unset lists every package's versions in publish order, bounded by start_checkpoint; PackageVersion.original_id. - MovePackageService.ListSystemPackages.
Initialize the new ListPackageVersionsRequest and PackageVersion fields in their constructors, and add `new` constructors for ListSystemPackagesRequest and ListSystemPackagesResponse.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Vendor the package APIs from MystenLabs/sui-apis #51, #41, #44, #45 and #50 (
84f0533,nickv/list-system-packages) and regenerate the bindings. GraphQL's package queries (packageVersions*,Query.packages,Epoch.systemPackages) still read Postgres; these RPCs let them move toMovePackageService.GetPackageRequest.at_checkpointoutside the indexed range fails withOUT_OF_RANGEand reasonABOVE_LATEST_AVAILABLEorBELOW_EARLIEST_AVAILABLE(sui-apis#51).PackageVersion.checkpoint, andListPackageVersionsRequest.at_checkpointto list only versions published at or before a checkpoint (sui-apis#41).options) andstart_version/end_versionbounds forListPackageVersions, withPackageVersion.cursor(sui-apis#44).ListPackageVersionswithpackage_idunset lists every package's versions in publish order, bounded below bystart_checkpoint;PackageVersion.original_id(sui-apis#45).MovePackageService.ListSystemPackages, withnewconstructors for its request and response (sui-apis#50).The first commit only vendors and regenerates; the second updates the hand-written constructors. Supersedes #328, #331, #332 and #340.
Stacked on #346.