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

fix: [GraphQL/Owner] rootVersion: UInt53 #18966

Merged
merged 1 commit into from
Aug 12, 2024
Merged

Conversation

amnn
Copy link
Contributor

@amnn amnn commented Aug 12, 2024

Description

The PR introducing the rootVersion parameter to Query.owner raced with the PR that introduced UInt53. This PR fixes the race by using UInt53 as the type for rootVersion.

Test plan

sui-graphql-rpc$ cargo nextest run

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:
  • GraphQL: The rootVersion parameter for Query.owner now accepts a UInt53 type rather than an Int type.
  • CLI:
  • Rust SDK:
  • REST API:

## Description

The PR introducing the `rootVersion` parameter to `Query.owner` raced
with the PR that introduced `UInt53`. This PR fixes the race by using
`UInt53` as the type for `rootVersion`.

## Test plan

```
sui-graphql-rpc$ cargo nextest run
```
@amnn amnn requested a review from a team August 12, 2024 21:10
@amnn amnn self-assigned this Aug 12, 2024
Copy link

vercel bot commented Aug 12, 2024

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 12, 2024 9:22pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Aug 12, 2024 9:22pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Aug 12, 2024 9:22pm
sui-typescript-docs ⬜️ Ignored (Inspect) Aug 12, 2024 9:22pm

@amnn amnn merged commit f8fa785 into main Aug 12, 2024
48 checks passed
@amnn amnn deleted the amnn/gql-root-version-u53 branch August 12, 2024 23:34
suiwombat pushed a commit that referenced this pull request Sep 16, 2024
## Description

The PR introducing the `rootVersion` parameter to `Query.owner` raced
with the PR that introduced `UInt53`. This PR fixes the race by using
`UInt53` as the type for `rootVersion`.

## Test plan

```
sui-graphql-rpc$ cargo nextest run
```

---

## 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: `Query.owner`'s `rootVersion` parameter should accepts a
`UInt53` rather than an `Int`.
- [ ] CLI: 
- [ ] Rust SDK:
- [ ] REST API:
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.

2 participants