Skip to content
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

subtle v2.4 causes compilation errors #137

Closed
themighty1 opened this issue Feb 7, 2024 · 1 comment
Closed

subtle v2.4 causes compilation errors #137

themighty1 opened this issue Feb 7, 2024 · 1 comment

Comments

@themighty1
Copy link

My project uses the halo2 lib from https://github.com/privacy-scaling-explorations/halo2/tree/main/halo2_proofs as a dependency. That halo2 lib has a dependency on
halo2curves = { version = "0.6.0", default-features = false }

I got a compilation error for my project:

error[E0599]: no method named ct_ne found for type i64 in the current scope
--> /home/default2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/halo2curves-0.6.0/src/ff_ext/mod.rs:18:25
|
18 | self.legendre().ct_ne(&-1)
| ^^^^^ help: there is a method with a similar name: count_ones

ct_ne was introduced in subtle 2.5, whereas halo2curves depends on 2.4
I think you need to bump the version.

@CPerezz
Copy link
Member

CPerezz commented Feb 8, 2024

Resolved via #136

@CPerezz CPerezz closed this as completed Feb 8, 2024
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

No branches or pull requests

2 participants