-
Notifications
You must be signed in to change notification settings - Fork 130
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
update halo2curves
to 0.6.0
#242
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.
LGTM modulo tests passing.
I think we should bump to 0.3.0 as we now have a different version (that breaks) of halo2curves
@CPerezz can you check again if compilation issues fixed correctly? Then I'll fix clippy |
Wasm build/tests aren't working for the same errors than previous. So looks like it will be easier to simply disable I can take a look! And also I think privacy-scaling-explorations/halo2curves#117 can help towards this. |
This commit: ab4e2fe (feel free to copy the Manifest config into this PR) And the changes I introduce in privacy-scaling-explorations/halo2curves#121 should completely fix this for the future. EDIT: [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
halo2curves = { version = "0.5.0", features = ["derive_serde", "multicore"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
# bypass the default "multicore" feature
halo2curves = { version = "0.5.0", default-features = false, features = ["derive_serde", "multicore"] } |
06456d3
to
068f251
Compare
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.
LGTM!
Hey @kilic can you try to see how https://github.com/privacy-scaling-explorations/halo2curves/tree/main now that we merged privacy-scaling-explorations/halo2curves#122?? If works well, I'd rather release a new |
It worked and is waiting for new halo2curves version @CPerezz |
@kilic There it is: https://crates.io/crates/halo2curves/0.6.0 |
halo2curves
to 0.5.0halo2curves
to ~0.5.0~ 0.6.0
halo2curves
to ~0.5.0~ 0.6.0halo2curves
to ~~~0.5.0~~~ 0.6.0
halo2curves
to ~~~0.5.0~~~ 0.6.0halo2curves
to 0.6.0
halo2_proofs/Cargo.toml
Outdated
default = ["batch","bits"] | ||
default = ["batch"] |
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.
Why are removing the bits
feature? We should bring it back even if it's not as default
.
We should import halo2curves
with default-features=false
and then, add bits
feature which triggers halo2curves/bits
. And then we can decide whether we keep bits
as default or not.
WDYT?
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 think we could maybe unify now assert_satisfied_par
and assert_satisfied
since rayon can internally handle multicore
by itself?
On this way, we should only have the parallel version which gets renamed to not have par
on it.
Should we go for this now also?
Also done! |
Co-Authored-By: Carlos Pérez <[email protected]>
replace `maybe-rayon` with `rayon` v1.8
I think we can merge now @kilic |
Sadly, just after seeing the merge, we got a message from @huitseker which says:
So I'll not release until we figure out what happens. |
Apperently this update won't require zkcrypto changes.
pairing::Engine
and{CurveAffine, CurveExt}
are satisfiedilog2
so I bumped the toolchain to 1.67.0 from 1.66.0. But then lots of new clippy warnings are appeared. So should I rollback to 1.66 or fix clippy also here in this PR?Question: should we bump halo2_proofs version to 0.2.1?
It should replace #234