Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GraphQL/MovePackage] Paginate by checkpoint #17696

Merged
merged 1 commit into from
Aug 19, 2024

Commits on Aug 19, 2024

  1. [GraphQL/MovePackage] Paginate by checkpoint

    ## Description
    
    Adds a query, `Query.packages` for fetching all packages that were
    introduced within a given checkpoint range. Useful for fetching
    package contents in bulk, to do local analyses.
    
    ## Test plan
    
    New E2E tests:
    
    ```
    sui$ cargo nextest run -p sui-graphql-e2e-tests \
      --features pg_integration                     \
      -- packages/versioning
    ```
    
    Also tested for performance against a large read replica (the query
    planner quotes a high estimate for the query but the actual results do
    not take very long to run because queries on many sub-partitions are
    eliminated).
    amnn committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    ff95daf View commit details
    Browse the repository at this point in the history