Skip to content

sui-rpc: list the versions of every package in ListPackageVersions - #332

Closed
nickvikeras wants to merge 1 commit into
nickv/package-versions-cursorsfrom
nickv/packages-by-checkpoint
Closed

nickvikeras wants to merge 1 commit into
nickv/package-versions-cursorsfrom
nickv/packages-by-checkpoint

Conversation

@nickvikeras

@nickvikeras nickvikeras commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Vendor the listing of every package in ListPackageVersions from MystenLabs/sui-apis#45 (5286ff7) and regenerate the bindings. With package_id unset, the RPC lists every package's versions in publish order, always in cursor mode. start_checkpoint bounds that listing from below, and PackageVersion.original_id reports each version's package.

Stacked on #331.

MystenLabs/sui-apis#45
MystenLabs/sui#28440

Vendor the MovePackageService proto from MystenLabs/sui-apis
(nickv/packages-by-checkpoint, 5286ff7, stacked on
nickv/package-versions-cursors) and regenerate the bindings.

With package_id unset, ListPackageVersions lists the versions of every
package, ordered by publish checkpoint, then original_id, then version, and
is always in cursor mode. start_checkpoint (inclusive) bounds that listing
from below. PackageVersion.original_id reports each version's package.
@nickvikeras

Copy link
Copy Markdown
Collaborator Author

Folded into #341, which vendors all the package APIs (sui-apis #51, #41, #44, #45, #50) in one PR.

@nickvikeras nickvikeras closed this Nov 5, 2026
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.

1 participant