Closed drakstik closed 7 months ago
See https://github.com/Consensys/gnark/discussions/1078. It seems the issues are related, I'm closing to keep the discussion about gnark usage in the referenced issue as we use issues for bug tracking and tracking feature requests.
Hi, I wrote a simple eddsa verifying circuit to test with, however, I'm getting the error "can't set fr.Element from type expr.LinearExpression" when running it (Gnark v0.9.1). I suspect it's not a bug and I'm doing something wrong, but I cannot find what for the love of me. Would appreciate a hint!
Here is the code:
This is the output when I run it (I'm catching the error as "ERROR 1", and it's when I'm generating the witness in main function).
Please help. I could not find much help in other discussions and issues.