Skip to content

Update orchard crate dependency#93

Merged
alexeykoren merged 9 commits into
zsa-swap-tx-format-zsa1from
update_orchard_crate_20250115
Jan 21, 2025
Merged

Update orchard crate dependency#93
alexeykoren merged 9 commits into
zsa-swap-tx-format-zsa1from
update_orchard_crate_20250115

Conversation

@vivek-arte
Copy link
Copy Markdown

@vivek-arte vivek-arte commented Jan 14, 2025

This PR updates the orchard dependency used in librustzcash to a later version of our orchard repository fork (specifically, commit 3dbdbc52c6e2ffeca015ae6eb80ad7f1c870384d: QED-it/orchard@3dbdbc5).

The reference test vectors are not updated in this PR, and will be done in a subsequent PR (#94). This explains the 2 failing CI checks.

@vivek-arte vivek-arte marked this pull request as draft January 14, 2025 06:24
@QED-it QED-it deleted a comment from what-the-diff Bot Jan 15, 2025
@vivek-arte vivek-arte marked this pull request as ready for review January 17, 2025 18:41
Copy link
Copy Markdown
Collaborator

@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.

Looking good! Waiting for test vectors

…94)

This PR makes the changes to the test vectors that have been made in
QED-it/zcash-test-vectors#24, to reflect the
updated transaction format that uses Action Groups, and the updated
computations for the SIGHASH and the Authorizing Data Commitment.
const V6_TX_VERSION: u32 = 6;
#[cfg(zcash_unstable = "nu6" /* TODO nu7 */ )]
const V6_VERSION_GROUP_ID: u32 = 0x124A69F8; // TODO ???
const V6_VERSION_GROUP_ID: u32 = 0x77777777; // TODO ???
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.

still todo?

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.

Do we have values for V6 anywhere? Anyway this one is consistent with python so I suggest to merge as is and probably create new PR with final values when we have them

Comment thread zcash_primitives/src/transaction/builder.rs
@alexeykoren alexeykoren mentioned this pull request Jan 21, 2025
PaulLaux

This comment was marked as duplicate.

@alexeykoren alexeykoren merged commit 2b901f9 into zsa-swap-tx-format-zsa1 Jan 21, 2025
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