Add todo for public inputs

This commit is contained in:
wborgeaud 2021-06-23 14:26:05 +02:00
parent 8ae664d94f
commit 747f1875af
2 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,6 @@ impl<F: Extendable<D>, const D: usize> CircuitBuilder<F, D> {
}
let wire_partitions = target_partitions.to_wire_partitions();
wire_partitions.get_sigma_polys(degree_log, k_is)
}

View File

@ -135,6 +135,7 @@ impl<F: Field> PartialWitness<F> {
F: Extendable<D>,
{
for &(a, b) in copy_constraints {
// TODO: Take care of public inputs once they land.
if let (Target::Wire(wa), Target::Wire(wb)) = (a, b) {
let va = self.target_values.get(&a).copied().unwrap_or(F::ZERO);
let vb = self.target_values.get(&b).copied().unwrap_or(F::ZERO);