-
Notifications
You must be signed in to change notification settings - Fork 40
Use generalized Lookup version of Halo2 #429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Use generalized Lookup version of Halo2 #429
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes here LGTM once the halo2 PR is merged.
Cargo.toml
Outdated
@@ -29,8 +29,8 @@ blake2b_simd = "1" | |||
ff = "0.13" | |||
fpe = "0.6" | |||
group = { version = "0.13", features = ["wnaf-memuse"] } | |||
halo2_gadgets = "0.3" | |||
halo2_proofs = { version = "0.3", default-features = false, features = ["batch", "floor-planner-v1-legacy-pdqsort"] } | |||
halo2_gadgets = { git = "https://github.com/QED-it/halo2", branch = "improve-backward-compatability-without-zsa" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, we do not merge PRs that change dependencies in this way, for two reasons:
- It is a security issue to depend on a branch rather than a commit.
- We use
[patch.crates-io]
instead for patching in-progress changes (and we then propagate those sections through the various downstream repos).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated Cargo.toml to use patch.crates-io for halo2 repos.
This change updates the orchard crate to bring the PallasLookup trait into scope, ensuring compatibility with the recent changes in the halo2 crate. By importing the PallasLookup trait, we maintain backward compatibility and allow existing code to function without modification.
This reverts commit e5f8756.
d8babc6
to
8c83f96
Compare
I just rebased on main branch and updated Cargo.toml to use patch.crates-io for halo2 repos |
This PR updates the
orchard
crate to use the generalized version of thehalo2
crate (link). It contains two key changes:LookupRangeCheck
trait into scope (this maintains backward compatibility and allows existing code to function without additional modifications).Cargo.toml
to point to theimprove-backward-compatibility-without-zsa
branch of thehalo2
crate.