feat(blockchain): log when block building finishes#474
Conversation
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.
🤖 Codex Code ReviewNo findings. The only change at crates/blockchain/src/lib.rs:621 adds an Minor note: this adds one extra Automated review by OpenAI Codex · gpt-5.4 · custom prompt |
🤖 Kimi Code ReviewThe change adds an observability log marking the completion of block building. The implementation is correct and appropriately placed. Minor considerations:
Verdict: Acceptable. No blocking issues. Automated review by Kimi (Moonshot AI) · kimi-k2.5 · custom prompt |
Greptile SummaryThis PR adds a block-build completion log in
Confidence Score: 5/5This looks safe to merge.
|
| Filename | Overview |
|---|---|
| crates/blockchain/src/lib.rs | Adds one info log after drop(timing) in propose_block to mark the end of block building. |
Reviews (1): Last reviewed commit: "feat(blockchain): log when block buildin..." | Re-trigger Greptile
🤖 Claude Code ReviewReview of PR 474 —
|
What
Adds an info-level
"Finished building block"log inpropose_block, emitted right after the block-building timing guard is dropped.Why
The timing guard is dropped deliberately before the publish-alignment wait so that wait does not count toward the
block_buildingmetric. Logging at that exact point makes the build's completion visible and marks the boundary between build time and the alignment wait in logs, complementing the existing"We are the proposer for this slot"(start) and"Published block"(publish) lines.Follows the established
%slot, %validator_idfield convention used throughout the function.