From a129af50ffdaca14ea56052a771a89620fca6041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Gr=C3=BCner?= <47506558+MegaRedHand@users.noreply.github.com> Date: Fri, 26 Jun 2026 12:18:00 -0300 Subject: [PATCH] feat(blockchain): log when block building finishes Add an info-level "Finished building block" log in propose_block right after the block-building timing guard is dropped, so the build's completion (and the boundary between build time and the publish-alignment wait) is visible in logs. --- crates/blockchain/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/blockchain/src/lib.rs b/crates/blockchain/src/lib.rs index c99186a5..0fceede2 100644 --- a/crates/blockchain/src/lib.rs +++ b/crates/blockchain/src/lib.rs @@ -618,6 +618,8 @@ impl BlockChainServer { // not count toward the block-building metric. drop(timing); + info!(%slot, %validator_id, "Finished building block"); + let now_ms = unix_now_ms(); // Align publication to the slot boundary. If the build finished before