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

Fix hashbench bls circuit #208

Closed
chancehudson opened this issue Jul 9, 2024 · 2 comments · Fixed by #212
Closed

Fix hashbench bls circuit #208

chancehudson opened this issue Jul 9, 2024 · 2 comments · Fixed by #212

Comments

@chancehudson
Copy link
Collaborator

Problem

In #207 a test is added and ignored for a "hashbench" circuit. mopro-ffi generates an invalid proof for this circuit.

Details

We should figure out why this proof is failing. The circuit is written here.

Acceptance criteria

Tests pass with bls hashbench circuit.

@chancehudson
Copy link
Collaborator Author

This was failing because i was using a ptau that was too small 😭. I thought snarkjs would warn me about this. I spent hours digging through the ark libraries -.-

@chancehudson
Copy link
Collaborator Author

chancehudson commented Jul 9, 2024

more info in arkworks-rs/groth16#60. This seems like an inconsistency between the snarkjs prover and the ark-groth16 prover

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 a pull request may close this issue.

1 participant