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 Client] Use checkpointSummaryBcs instead of manual conversion. #62

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

stefan-mysten
Copy link
Collaborator

@stefan-mysten stefan-mysten commented Nov 20, 2024

Get checkpoint summary from bcs instead of manually converting it. This is dependent on first landing
MystenLabs/sui#20340

  • Update the schema with the bcs comment.
  • Update the Sui CLI to enable the new schema support.

Note: this will have to sit for a while because we have no releases in the upcoming weeks so we cannot get an updated version of the CLI that includes the latest schema changes.

@@ -448,6 +448,7 @@ type Checkpoint {
By default, the scanning range consists of all transactions in this checkpoint.
"""
transactionBlocks(first: Int, after: String, last: Int, before: String, filter: TransactionBlockFilter, scanLimit: Int): TransactionBlockConnection!
checkpointSummaryBcs: Base64
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the schema when PR in main repo gets merged.

@stefan-mysten stefan-mysten force-pushed the gql_checkpoint_summary_test branch from cebf70d to 31bc488 Compare November 22, 2024 21:14
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.

1 participant