-
Notifications
You must be signed in to change notification settings - Fork 0
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
Install (+run) halo2-analyzer #12
Comments
Alright that was fast... I managed to run it. I just had to install an extra dependency: apt-get install -y libclang-dev
cargo +nightly run I'll look at the output tomorrow morning |
I ran it and saw a bunch of unconstrained cell errors like
To be precise Doing manual review to see if there are any bugs. Would love inputs if someone else finds something. |
It is quite common with these tools to get a ton of false positives. When I ran the Circom based tools, it is the same outcome. It outputs a ton of false positives. |
Yes @0xpanicError I had the same. Lot's of false positives it seems. Maybe there is a real issue in there but I can't see it 😁 |
I was able to run . Please find below the observations for different options :
unused gate: "partial rounds" (consider removing the gate or checking selectors in regions) |
Finished analysis: 0 unused columns found. |
|
Selected 2 2 Entered 4 thread 'main' panicked at 'called |
Halo2-analyzer seems like a good start to analyse an halo2 circuit. It's a bit annoying to install. Here are the steps I had to take on an x64 with Ubuntu 23.04.
git clone https://github.com/arminbiere/cadical.git cd cadical ./configure make
you just need nightly rust
if you want to enable PSE:
Unfortunately it has not been updated for the latest PSE fork.
@zeroqn and @rkdud007 have made the changes based on this repo: https://github.com/Analyzable-Halo2/pse-halo2
see here: https://gist.github.com/zeroqn/5453bd86876e6272f75ed8540fa37101
Here's the final code: summa halo2 analyzer
If anyone manages to run it, maybe comment on this issue.
The text was updated successfully, but these errors were encountered: