mirror of https://github.com/zcash/halo2.git
dev: Fix bug in cell assignment checker
The simple example was broken because it uses an instance column in a gate. MockProver now assumes all instance cells are assigned to, since this happens outside the circuit and outside its purview.
This commit is contained in:
parent
32cdcfa66f
commit
e01fb15018
|
@ -379,7 +379,8 @@ impl<F: FieldExt> MockProver<F> {
|
|||
Any::Fixed => {
|
||||
self.fixed[cell.column.index()][cell_row].is_some()
|
||||
}
|
||||
Any::Instance => unreachable!(),
|
||||
// Instance column cells are assigned outside the circuit.
|
||||
Any::Instance => true,
|
||||
} {
|
||||
None
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue