-
Notifications
You must be signed in to change notification settings - Fork 420
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
Bellman tests failed for Groth16 on BN254 curve #473
Comments
hi :) can you:
|
Of course The code I used from Gnark is in this implementation. I convert Bellman representation of VK to Gnark VK. You can run it and see |
There is another implementation of groth16 verifier based on Bellman here (not using Gnark). The implementation is not perfect in terms of optimization but the tests for BN254 are passed successfully there |
The error is: "invalid point: subgroup check failed" when unmarshaling the input points. Very likely, the way compressed points are encoded differs. In the gowaves code you have: versus: |
Greetings!
Tests taken from Bellman implementation test_vectors.txt
fail.
Previous issue has been fixed but only for BLS-12381. See here previous PR.
The verification key format is slightly different, however you described how you converted Bellman VK format to gnark VK. I did the same, and Bellman tests are passed for BLS-12381. However for BN254 the tests (test_vectors.txt) fail.
The text was updated successfully, but these errors were encountered: