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

Respect Seq When Bubblegum Backfilling #158

Merged

Conversation

kespinola
Copy link
Collaborator

@kespinola kespinola commented Oct 2, 2024

Issue

Though transactions were ordered by slot there can be many transactions that change a tree in a slot and multiple instructions in a transaction. When indexing instructions must be written in order based on the seq associated to the tree change.

Changes

  • Pull instructions from the gathered transactions, run them through blockbuster to get access to seq change for the tree, order instructions by seq, and then write them to the database.

Testing

tree: Dgs9FMfuCWVg7zSzymEwJ7FJStKzpLEYpERTbP13shdQ
local Valid Proofs: 423 / 423
Command failed.====================] 100% | ETA: 0s | 423/423

@kespinola kespinola merged commit 45a5dcf into grpc-ingest Oct 2, 2024
3 checks passed
@kespinola kespinola deleted the das-10-replay-exact-sequence-during-tree-rebuild branch October 2, 2024 12:23
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