Add frequent node logging: attestations, blocks, justified/finalized, peers#432
Merged
ch4r10t33r merged 3 commits intoleanEthereum:mainfrom Mar 2, 2026
Merged
Add frequent node logging: attestations, blocks, justified/finalized, peers#432ch4r10t33r merged 3 commits intoleanEthereum:mainfrom
ch4r10t33r merged 3 commits intoleanEthereum:mainfrom
Conversation
… peers - Sync: log block received/processed with peer and slot; log attestation and aggregated attestation with peer, slot, validator and validation/signature result - Sync: optional peer_id on on_gossip_attestation and on_gossip_aggregated_attestation - Network: pass peer_id from gossip events to sync handlers - Node: periodic (10s) log of justified slot, finalized slot, and connected peers count
tcoratger
approved these changes
Mar 2, 2026
- sync: block processed log uses full block_root.hex() - node: periodic status logs full justified/finalized roots; remove truncation comment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds observability logging to the leanSpec node:
Sync service accepts optional
peer_idonon_gossip_attestationandon_gossip_aggregated_attestation; network service passes peer_id from gossip events so logs show the propagating peer.