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
panic: runtime error: index out of range [0] with length 0 #96
Comments
Hi @chiumichael , so your code is correct, there is a bug on the FFT on our end when the size of the domain is one (it's the case for your circuit because you only have one constraint). The fix will be pushed shortly on gnark-crypto. Thanks for raising the issue! |
Np, and thanks for the prompt reply! I have a quick follow up question though: In the cubic example ( |
No in cubic there are 3 constraints, internally it looks like this:
In this internal representation each line is in fact a constraint, and should be interpreted as constraints rather than instructions. The user provides the necessary inputs (namely |
Hi there,
I'm trying to build the whole pipeline of circuit compilation, proofing and verification, but I'm encountering a
panic: runtime error: index out of range [0] with length 0
at the groth16 setup stage. I've tried to closely model this after the example code in the
gnark/examples
directory, so I'm not sure what I'm missing.Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: