sui
sui copied to clipboard
[GraphQL/MovePackage] Query by ID and version
Description
Implement Query.package and MovePackage.atVersion to query a package at a specific version, using the new fields added to the packages table, exposed via some new data loaders.
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: Introduce
Query.packageandMovePackage.atVersionto query packages at specific versions. - [ ] 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:39am |
3 Skipped Deployments
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| multisig-toolkit | ⬜️ Ignored (Inspect) | Visit Preview | Aug 19, 2024 10:39am | |
| sui-kiosk | ⬜️ Ignored (Inspect) | Visit Preview | Aug 19, 2024 10:39am | |
| sui-typescript-docs | ⬜️ Ignored (Inspect) | Visit Preview | Aug 19, 2024 10:39am |