Skip to content

[ZIP 246] Updating orchard_auth_digest details to avoid nested loops#1095

Merged
nuttycom merged 5 commits into
zcash:mainfrom
QED-it:updating_orchard_action_groups_auth_digest
Sep 30, 2025
Merged

[ZIP 246] Updating orchard_auth_digest details to avoid nested loops#1095
nuttycom merged 5 commits into
zcash:mainfrom
QED-it:updating_orchard_action_groups_auth_digest

Conversation

@vivek-arte
Copy link
Copy Markdown
Contributor

The existing specification happened to contain a nested for loop in the orchard_action_groups_auth_digest.

This PR makes a change to remove this nesting via an additional digest, viz the orchard_zsa_spend_auth_sigs_auth_digest to aggregate the spend authorization signatures from each Action in the Action Group into its own digest.

Comment thread zips/zip-0246.rst Outdated
Comment thread zips/zip-0246.rst Outdated
Comment thread zips/zip-0246.rst Outdated
daira
daira previously approved these changes Sep 30, 2025
Copy link
Copy Markdown
Collaborator

@daira daira left a comment

Choose a reason for hiding this comment

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

utACK with suggestions.

Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
Comment thread zips/zip-0246.rst
Comment thread zips/zip-0246.rst Outdated
Comment thread zips/zip-0246.rst Outdated
Copy link
Copy Markdown
Collaborator

@daira daira left a comment

Choose a reason for hiding this comment

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

Reviewed with @nuttycom and @arya2 .

@nuttycom nuttycom enabled auto-merge September 30, 2025 21:20
@nuttycom nuttycom merged commit 3def5ab into zcash:main Sep 30, 2025
1 check passed
PaulLaux pushed a commit to QED-it/orchard that referenced this pull request Oct 1, 2025
Update orchard_auth_digest according to [zips PR
1095](zcash/zips#1095)
ConstanceBeguier added a commit to QED-it/librustzcash that referenced this pull request Oct 2, 2025
In Orchard repo commit abd6ecc, we added spend_auth_sigs_auth_digest
into orchard_auth_digest according to [zips PR
1095](zcash/zips#1095).
To take into account this modification in librustzcash repo, we have to
update the orchard_zsa_digests test vectors.
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.

3 participants