Closed nanaknihal closed 1 year ago
There was a bug with the handling of integer division "\" with constants in some cases. That was fixed in the release 2.1.3. Please, update your version (the current one is 2.1.5) and check it.
Thanks, that worked
using circom compiler 2.1.2 code to replicate:
Witness + proof generation succeeds, but verification fails. The witness and proof are generated without error, so this failure shouldn't happen.
However, when you change main.circom by replacing line
signal y <== x \ 30;
tosignal y <== x / 30;
verification succeeds.main.circom for reference: