-
Notifications
You must be signed in to change notification settings - Fork 147
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
bug: baby-snark and_gate
test fails
#957
Comments
Hi! Thanks for your comment. In the code you are showing, the variable Here we leave a short explanation: In the code you show, the first row of the matrix Anyway, we did a small PR adding a check in the Feel free to ask if something wasn't clear enough! |
Ah my bad, I thought witness itself included the public part for some reason (coming from Circom world) so I guessed it had to be
Good idea! Thanks for the explanation, closing this issue. |
Hi, the
and_gate
test at https://github.com/lambdaclass/lambdaworks/blob/main/examples/baby-snark/tests/integration_tests.rs#L35 uses a witness[1, 1, 1]
with public[1]
which passes, but if we have[0, 0, 0]
with public[0]
it fails.Full code:
The text was updated successfully, but these errors were encountered: