[GraphQL/MovePackage] Query for latest version
Description
Add a new kind of package point look-up to get the latest version of the package at a given ID (or from another MovePackage). For system packages, this is analogous to getting the latest version of the object at that ID, but the versions of other packages all exist at different IDs.
Test plan
New transactional tests:
sui$ cargo nextest run -p sui-graphql-e2e-tests \
--features pg_integration \
-- packages/versioning
Stack
- #17686
- #17687
- #17688
- #17689
- #17691
- #17694
- #17695
- #17542
- #17726
- #17543
- #17692
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):
- [ ] Indexer:
- [ ] JSON-RPC:
- [x] GraphQL: Add
Query.latestPackageandMovePackage.latestfor fetching the latest version of a package. - [ ] CLI:
- [ ] Rust SDK:
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| sui-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 19, 2024 10:43am |
3 Skipped Deployments
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| multisig-toolkit | ⬜️ Ignored (Inspect) | Visit Preview | Aug 19, 2024 10:43am | |
| sui-kiosk | ⬜️ Ignored (Inspect) | Visit Preview | Aug 19, 2024 10:43am | |
| sui-typescript-docs | ⬜️ Ignored (Inspect) | Visit Preview | Aug 19, 2024 10:43am |