Skip to content

Commit

Permalink
chore(witness-generation): more logs (#543)
Browse files Browse the repository at this point in the history
## What ❔

Additional logs in witness generation
  • Loading branch information
RomanBrodetski authored Nov 26, 2023
1 parent 7e95a3a commit 925da43
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion prover/witness_generator/src/leaf_aggregation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,17 @@ impl JobProcessor for LeafAggregationWitnessGenerator {
) -> anyhow::Result<()> {
let block_number = artifacts.block_number;
let circuit_id = artifacts.circuit_id;
tracing::info!(
"Saving leaf aggregation artifacts for block {} with circuit {}",
block_number.0,
circuit_id,
);
let blob_urls = save_artifacts(artifacts, &*self.object_store).await;
tracing::info!(
"Saved leaf aggregation artifacts for block {} with circuit {}",
"Saved leaf aggregation artifacts for block {} with circuit {} (count: {})",
block_number.0,
circuit_id,
blob_urls.circuit_ids_and_urls.len(),
);
update_database(
&self.prover_connection_pool,
Expand Down

0 comments on commit 925da43

Please sign in to comment.