Skip to content

Update Orchard and librustzcash refs for PR471 review sync#104

Merged
ConstanceBeguier merged 19 commits intozcash_pr471_reviewfrom
zcash_pr471_review_2
Jan 19, 2026
Merged

Update Orchard and librustzcash refs for PR471 review sync#104
ConstanceBeguier merged 19 commits intozcash_pr471_reviewfrom
zcash_pr471_review_2

Conversation

@ConstanceBeguier
Copy link
Copy Markdown

This PR updates Zebra to use the current orchard and librustzcash crate versions that contain the upstream Orchard PR zcash/orchard#471 review-related changes.

Other than updating the orchard and librustzcash references in Cargo.toml it also includes the follow-up changes needed to keep Zebra building against the updated orchard/librustzcash APIs:

  • Adjust NoteValueValueSum conversions (including updating orchard_zsa/burn.rs, and switching zebra-chain to ValueSum::from_raw where needed). This is a placeholder change and the code does not compile yet — see the FIXME comments and the note below.
  • Fix test vectors so they compile when zcash_unstable="nu7" is enabled but tx_v6 is not.
  • Rename the orchard_flavor module to flavor.
  • Update Orchard's Bundle::build usage in zebra-consensus tests.
  • Upgrade Rust to 1.85.1 (to align with librustzcash) and downgrade the blake2b_simd dependency to 1.0.1 to align with orchard.
  • Remove halo2_gadgets patch in Cargo.toml

dmidem and others added 19 commits January 5, 2026 15:14
…a/burn.rs as the updated orchard does not have a direct conversion method now
…/Cargo.lock to use a working versions of those deps with PR471 related updates - the refs need to be updated again to the actual branches/commits before the merge of these Zebra chnages!
…o it as we the updated orchard can not get i64 from NoteValue so we can not use the previous hack for conversion. The code still does not compile after switching to ValueSum::from_raw as it's pub(crate) now - so it should be fixed in some way - added FIXME in the code
… blake2b_simd dependency to 1.0.1 to align with Orchard
@ConstanceBeguier ConstanceBeguier merged commit 0640746 into zcash_pr471_review Jan 19, 2026
109 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants