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

Integrate Orchard ZSA Issuance note commitments with Shielded Data action commitments for V6 transactions #25

Open
wants to merge 5 commits into
base: zsa-integration-proptest
Choose a base branch
from

Conversation

dmidem
Copy link

@dmidem dmidem commented Nov 3, 2024

This pull request enhances the zebra-chain crate to handle issuance action note commitments for V6 transactions.

The main change merges note commitments from Orchard ZSA issuance actions with regular shielded data action note commitments in Transaction::orchard_note_commitments method when an issuance is present in a V6 transaction.

This integration allows for the automatic handling of issuance note commitments alongside shielded data commitments in other parts of the Zebra codebase, particularly within the note commitment Merkle tree in the zebra_state crate.

V5 transactions remain unaffected, ensuring their existing behavior is preserved.

…actor orchard_shielded_data_iter and orchard_shielded_data_field macros to use it
…te_commitments to merge Orchard ZSA issuance note commitments for V6 transactions
@dmidem dmidem force-pushed the zsa-integration-issuance-commitments branch from 4c6c101 to 714e631 Compare November 3, 2024 18:59
Copy link

@alexeykoren alexeykoren left a comment

Choose a reason for hiding this comment

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

LGTM

… and refactor orchard_shielded_data_iter and orchard_shielded_data_field macros to use it"

This reverts commit 2587b04.
…orchard_shielded_data macro from the reverted commit
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