Skip to content

Commit be95568

Browse files
authored
Merge pull request #179 from privacy-scaling-explorations/feature/revert-assign-overwrite-check
Revert double-assignment mock prover check
2 parents 1a4df10 + f82b201 commit be95568

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

halo2_proofs/src/dev.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -461,12 +461,7 @@ impl<F: Field> Assignment<F> for MockProver<F> {
461461
.get_mut(column.index())
462462
.and_then(|v| v.get_mut(row))
463463
.expect("bounds failure");
464-
if let CellValue::Assigned(value) = value {
465-
// Inconsistent assignment between different phases.
466-
assert_eq!(value, &to, "value={:?}, to={:?}", value, &to);
467-
} else {
468-
*value = CellValue::Assigned(to);
469-
}
464+
*value = CellValue::Assigned(to);
470465
}
471466
Err(err) => {
472467
// Propagate `assign` error if the column is in current phase.

0 commit comments

Comments
 (0)