Skip to content

Add Orchard V3 and Ironwood V3 fixed digest tests - #266

Merged
ConstanceBeguier merged 4 commits into
zsa1from
add_ironwood_v3_fixed_tests
Sep 11, 2026
Merged

ConstanceBeguier merged 4 commits into
zsa1from
add_ironwood_v3_fixed_tests

Conversation

@ConstanceBeguier

@ConstanceBeguier ConstanceBeguier commented Aug 3, 2026 •

Copy link
Copy Markdown
Collaborator

I updated PR #240 to obtain the fixed digest values for Orchard V3 and Ironwood V3.

@ConstanceBeguier
ConstanceBeguier force-pushed the add_ironwood_v3_fixed_tests branch from d57e903 to 035f621 Compare September 10, 2026 07:25
@ConstanceBeguier
ConstanceBeguier changed the base branch from remove_orchard_primitives to zsa1 September 10, 2026 07:25
Some tests have been renamed.
@ConstanceBeguier
ConstanceBeguier force-pushed the add_ironwood_v3_fixed_tests branch from 035f621 to 2558802 Compare September 10, 2026 07:44
@ConstanceBeguier ConstanceBeguier changed the title Add Ironwood V3 fixed digest tests Add Orchard V3 and Ironwood V3 fixed digest tests Sep 10, 2026

@PaulLaux PaulLaux left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved with minor comments

Comment thread src/bundle/commitments.rs Outdated
/// Verifies that the hash for an Orchard V3 bundle matches a fixed reference value.
///
/// Orchard V3 mandates the cross-address restriction, so this bundle is built from change
/// outputs; see [`generate_change_only_bundle`].

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

generate_change_only_bundle_for_orchard_v3?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Done

Comment thread src/bundle/commitments.rs Outdated
/// reference value.
///
/// Orchard V3 mandates the cross-address restriction, so this bundle is built from change
/// outputs; see [`generate_change_only_bundle`].

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

generate_change_only_bundle_for_orchard_v3?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Done

Comment thread src/bundle/commitments.rs Outdated
/// cross-address transfers.
///
/// Each change output pairs with a spend the wallet controls (`dummy_sk: None`), so unlike
/// [`generate_auth_bundle`], whose spends are all padding dummies that `finalize` signs

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

finalize should be prepare

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Done

Comment thread src/bundle/commitments.rs Outdated

builder
.add_change_output(
fvk.clone(),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

.clone not needed.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Removed

@ConstanceBeguier
ConstanceBeguier merged commit 8d1bf46 into zsa1 Sep 11, 2026
16 checks passed
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