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

Final exponentiate stark fails to verify for specific Fp12 value #13

Open
Dimo99 opened this issue May 28, 2024 · 0 comments
Open

Final exponentiate stark fails to verify for specific Fp12 value #13

Dimo99 opened this issue May 28, 2024 · 0 comments

Comments

@Dimo99
Copy link

Dimo99 commented May 28, 2024

While testing the code against ethereum/bls12-381-tests, I found that this specific test case fails: test case link.

This test case involves a private key equal to one, resulting in a value passed to final_exponentiate that contains only zeros in the second part.

While the STARK manages to generate a proof with the correct result in the public inputs, it fails to verify with verify_stark_proof and also fails if recursively verified in a Plonky2 proof. The error thrown from Plonky2 is: Mismatch between evaluation and opening of quotient polynomial.

I have created an example that can be run here: example link.

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

1 participant