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

add transaction receipts to runtime #34145

Conversation

anoushk1234
Copy link

Problem

Solana lacks support for receipts in it's runtime, a feature required for light clients. As described in SIMD-64 and SIMD-52, this PR adds a feature to bring support for light clients using transaction receipts.

Summary of Changes

  • A new crate solana-transaction-receipt contains a wrapper of the solana-merkle-tree that implements the properties of the TransactionReceiptTree and TransactionReceiptData data structure.
  • The Bankhash has been extended to contain the merkle root of the TransactionReceiptTree
  • The Bank has been updated to have a transaction receipt queue to store the receipts of all the transaction batches once executed.
  • When batches are executed, they now return the receipts for all in the result, this is done so the receipt leaves can be calculated in parallel as the transactions are processed.

@mergify mergify bot added community Community contribution need:merge-assist labels Nov 17, 2023
@mergify mergify bot requested a review from a team November 17, 2023 14:40
@AshwinSekar AshwinSekar self-requested a review November 18, 2023 08:04
@github-actions github-actions bot added the stale [bot only] Added to stale content; results in auto-close after a week. label Dec 4, 2023
@github-actions github-actions bot closed this Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contribution need:merge-assist stale [bot only] Added to stale content; results in auto-close after a week.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant