Expand description
(original_package_id, version) → PackageVersionInfo.
Lists every published version of a Move package: the storage id
under which each version lives, and the checkpoint at which the
version was published. The publish checkpoint lets a
checkpoint-bounded read resolve the latest version of a package
as of a given checkpoint — see
get_package_at_checkpoint.
Rows written by the live-set restore at the anchor checkpoint leave the publish checkpoint unset (a restore floor): those versions predate the available window, so a checkpoint-bounded read treats them as having always existed.
Structs§
- Key
- Original
IdPrefix - Prefix encoder for “all versions of the package originally
published at
original_id”. Encodes as the 32 raw id bytes — exactly the leading bytes of everyKeywhoseoriginal_idmatches.
Constants§
Functions§
- options
- store
- Build the
(Key, Value)pair recording that versionversionof the package originally published atoriginal_idlives at the on-chain storage idstorage_id, published incheckpoint. Written by tip indexing and the post-restore backfill. - store_
restored - Like
store, but for rows written by the live-set restore at the anchor checkpoint: the publish checkpoint is left unset (a restore floor), marking a version that was published before the available window. A checkpoint-bounded read treats such a version as having always existed.