From 925da43c3b85b4818cb910f286b0f69ae118d692 Mon Sep 17 00:00:00 2001 From: Roman Brodetski Date: Sun, 26 Nov 2023 11:51:39 +0400 Subject: [PATCH] chore(witness-generation): more logs (#543) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## What ❔ Additional logs in witness generation --- prover/witness_generator/src/leaf_aggregation.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/prover/witness_generator/src/leaf_aggregation.rs b/prover/witness_generator/src/leaf_aggregation.rs index af742775c841..e31a44c42aa9 100644 --- a/prover/witness_generator/src/leaf_aggregation.rs +++ b/prover/witness_generator/src/leaf_aggregation.rs @@ -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,