gnark icon indicating copy to clipboard operation
gnark copied to clipboard

feat: explicit error messages when circuit is bigger than the FFT domain

Open ivokub opened this issue 2 years ago • 2 comments

Eg. https://github.com/Consensys/gnark/issues/611

Right now we get a "root of unity doesn't exist" error, which being technically correct, is not very descriptive. I propose adding an explicit check during compile-time to ensure that the compiled circuit can actually be proven. And when it cannot be proven, add an error message what the user can understand (maybe a typed error with longer documentation).

ivokub avatar Oct 13 '23 13:10 ivokub

It would be helpful for the users to mention which curves could solve their issue based on the calculation you explained to me in #611

sid-alluri avatar Oct 14 '23 04:10 sid-alluri

Ref: https://github.com/Consensys/gnark/discussions/1088

ivokub avatar Mar 22 '24 12:03 ivokub