Skip to content

Commit

Permalink
add more assignment log
Browse files Browse the repository at this point in the history
  • Loading branch information
lispc committed May 23, 2024
1 parent 7179a60 commit 6c5e9ee
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion halo2_proofs/src/plonk/circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,10 @@ pub struct LookupTracker<F: Field> {
pub(crate) inputs: Vec<Vec<Expression<F>>>,
}

impl<F: Field> std::fmt::Debug for LookupTracker<F> where F: std::fmt::Debug {
impl<F: Field> std::fmt::Debug for LookupTracker<F>
where
F: std::fmt::Debug,
{
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_struct("LookupTracker")
.field("table", &self.table)
Expand Down
3 changes: 3 additions & 0 deletions halo2_proofs/src/plonk/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,12 +451,15 @@ where
};

// Synthesize the circuit to obtain the witness and other information.

log::info!("create_proof synthesize phase {current_phase:?} begin");
ConcreteCircuit::FloorPlanner::synthesize(
&mut witness,
circuit,
config.clone(),
meta.constants.clone(),
)?;
log::info!("create_proof synthesize phase {current_phase:?} end");

#[cfg(feature = "phase-check")]
{
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2023-08-12
nightly-2023-12-03

0 comments on commit 6c5e9ee

Please sign in to comment.