Prints out number of constraints from now on

This commit is contained in:
howardwu 2021-02-24 19:49:00 -08:00
parent 9206d55408
commit 34f5e8105d

View File

@ -134,8 +134,8 @@ impl Command for Build {
let temporary_program = program.clone(); let temporary_program = program.clone();
let output = temporary_program.compile_constraints(&mut cs)?; let output = temporary_program.compile_constraints(&mut cs)?;
tracing::debug!("Compiled constraints - {:#?}", output); tracing::info!("Compiled constraints - {:#?}", output);
tracing::debug!("Number of constraints - {:#?}", cs.num_constraints()); tracing::info!("Number of constraints - {:#?}", cs.num_constraints());
// Serialize the circuit // Serialize the circuit
let circuit_object = SerializedCircuit::from(cs); let circuit_object = SerializedCircuit::from(cs);