Skip to content

Update for compatibility with latest halo2 version (ZSA features)#470

Merged
nuttycom merged 2 commits intozcash:mainfrom
QED-it:compatible_with_zsa_halo2
Aug 25, 2025
Merged

Update for compatibility with latest halo2 version (ZSA features)#470
nuttycom merged 2 commits intozcash:mainfrom
QED-it:compatible_with_zsa_halo2

Conversation

@ConstanceBeguier
Copy link
Contributor

This PR updates the orchard crate to use the halo2 crate with ZSA features (link). It contains three key changes:

  • Brings the LookupRangeCheck trait into scope (this maintains backward compatibility and allows existing code to function without additional modifications).
  • Add the new allow_init_from_private_point argument to the SinsemillaChip configuration.
  • Updates Cargo.toml to point to the last version of the halo2 crate (with ZSA features).


[patch.crates-io]
halo2_gadgets = { git = "https://github.com/zcash/halo2", rev = "2308caf68c48c02468b66cfc452dad54e355e32f" }
halo2_proofs = { git = "https://github.com/zcash/halo2", rev = "2308caf68c48c02468b66cfc452dad54e355e32f" }
Copy link
Contributor

Choose a reason for hiding this comment

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

I checked that it is not necessary for halo2_poseidon to have a patch directive.

daira
daira previously approved these changes Aug 11, 2025
Copy link
Contributor

@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

Fix rand_core version
Limit proptest version
Copy link
Contributor

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

re-utACK

Copy link
Contributor

@nuttycom nuttycom left a comment

Choose a reason for hiding this comment

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

utACK 29fbe53

Copy link
Contributor

@str4d str4d left a comment

Choose a reason for hiding this comment

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

utACK 29fbe53

@nuttycom nuttycom merged commit 9d89b50 into zcash:main Aug 25, 2025
15 checks passed
PaulLaux added a commit to QED-it/orchard that referenced this pull request Sep 8, 2025
Modifications in upstream from last merge
- Merge pull request zcash#470 from QED-it/compatible_with_zsa_halo2
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.

4 participants