Closed shuklaayush closed 10 months ago
Hi @shuklaayush, thanks for flagging this. We actually also recently discovered this issue on our end through an audit and are planning to fix it. As a result, a PR is not needed.
Thank you for letting us know!
Looks like both
Reduce
andReduceWithMaxBits
functions are missing the actualq*p + r == x
constraint https://github.com/succinctlabs/gnark-plonky2-verifier/blob/89b5a01e4b4be8a439e28b864e36e0bb5b512207/goldilocks/base.go#L172-L216I'm happy to create a PR