Commit f82b201
committed
Revert double-assignment mock prover check
Revert the check introduced in
#129 to detect double
assignments with different values, because it breaks some tests in the zkevm
project.
There's a legitimate use case of double assignment with different values, which
is overwriting cells in order to perform negative tests (tests with bad witness
that should not pass the constraints).
Also in the EVM Circuit from the zkevm project we "abuse" the assignment of
cells as a cache: sometimes we assign some cells with a guess value, and later
on we reassign with the correct value.
I believe this check is interesting to have, so we could think of ways to add
it back as an optional feature.1 parent 17e9765 commit f82b201
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
| 464 | + | |
470 | 465 | | |
471 | 466 | | |
472 | 467 | | |
| |||
0 commit comments