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

indexer-alt: tx and cp signature-related schema changes #20915

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

amnn
Copy link
Member

@amnn amnn commented Jan 17, 2025

Description

  • Splits up kv_checkpoints.certified_checkpoint into the summary structure and separately the signature, this was done to match the KV store's schema for checkpoints.
  • Introduces kv_transactions.raw_signatures, because I realised while trying to implement transaction RPC endpoints that we need the signature and we don't have them anywhere.

Test plan

Run the indexer locally with the kv_checkpoints and kv_transactions pipelines enabled, and check the data in the DB.


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):
  • gRPC:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:

amnn added 2 commits January 17, 2025 18:02
## Description

We need access to transaction signatures to form the RPC response.
Originally we were indexing `SenderSignedData` and decided this was not
a good idea, but then we forgot to add the signatures back in their own
field.

## Test plan

Run the indexer locally and inspect its output for signatures.
## Description

Split out `kv_checkpoint`'s `certified_checkpoint` field into a
`checkpoint_summary` and its `signatures`, to match the schema used by
the KV store.

## Test plan

Run the indexer and inspect the results.
@amnn amnn self-assigned this Jan 17, 2025
Copy link

vercel bot commented Jan 17, 2025

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 Jan 20, 2025 8:01am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Jan 20, 2025 8:01am
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Jan 20, 2025 8:01am

@amnn amnn temporarily deployed to sui-typescript-aws-kms-test-env January 17, 2025 19:00 — with GitHub Actions Inactive
@amnn
Copy link
Member Author

amnn commented Jan 20, 2025

All comments should be resolved now -- would appreciate another look!

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