Skip to content

[sui-rpc][sdk] add MovePackageService.ListPackages - #296

Draft
wlmyng wants to merge 1 commit into
masterfrom
wlmyng/list-packages
Draft

[sui-rpc][sdk] add MovePackageService.ListPackages#296
wlmyng wants to merge 1 commit into
masterfrom
wlmyng/list-packages

Conversation

@wlmyng

@wlmyng wlmyng commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Extend MovePackageService to support listing packages in a checkpoint range.

A server-streaming list of every Move package write — first publishes
and upgrades alike — in a checkpoint range, in transaction order, using
the ledger-history frame protocol (Watermark / QueryEnd / QueryOptions).

Each item is the ObjectReference of one written package version;
contents load via LedgerService.GetObject / BatchGetObjects. A
transaction that writes several packages yields one item per write, in
effects order, and cursors address individual writes so a page may
split within a transaction and resume exactly where it left off.

Backends that do not index the history this scan requires serve the
generated default stub, UNIMPLEMENTED.
@wlmyng wlmyng changed the title add MovePackageService.ListPackages [sui-rpc][sdk] add MovePackageService.ListPackages Aug 17, 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