Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
miguel-ambrona committed Apr 23, 2024
1 parent 3f0b592 commit 9d7f948
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions halo2_proofs/src/dev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,13 +396,13 @@ impl<F: Field> Assignment<F> for MockProver<F> {
return Ok(());
}

assert!(
self.usable_rows.contains(&row),
"row={} not in usable_rows={:?}, k={}",
row,
self.usable_rows,
self.k,
);
// assert!(
// self.usable_rows.contains(&row),
// "row={} not in usable_rows={:?}, k={}",
// row,
// self.usable_rows,
// self.k,
// );

// Track that this selector was enabled. We require that all selectors are enabled
// inside some region (i.e. no floating selectors).
Expand Down
2 changes: 1 addition & 1 deletion halo2_proofs/src/plonk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ where
/// WITHOUT performing the expensive Montgomery reduction.
/// Does so by first writing the verifying key and then serializing the rest of the data (in the form of field polynomials)
pub fn write<W: io::Write>(&self, writer: &mut W, format: SerdeFormat) -> io::Result<()> {
self.vk.write(writer, format)?;
//self.vk.write(writer, format)?;
write_polynomial_slice(&self.fixed_values, writer, format)?;
self.permutation.write(writer, format)?;
Ok(())
Expand Down

0 comments on commit 9d7f948

Please sign in to comment.