Implement status v2 version (#7590)

N/A


  Implements status v2 as defined in https://github.com/ethereum/consensus-specs/pull/4374/
This commit is contained in:
Pawan Dhananjay
2025-06-12 00:17:06 -07:00
committed by GitHub
parent 5f208bb858
commit 9803d69d80
13 changed files with 208 additions and 78 deletions

View File

@@ -384,11 +384,12 @@ impl<T: BeaconChainTypes> SyncNetworkContext<T> {
for peer_id in peers {
debug!(
peer = %peer_id,
fork_digest = ?status_message.fork_digest,
finalized_root = ?status_message.finalized_root,
finalized_epoch = ?status_message.finalized_epoch,
head_root = %status_message.head_root,
head_slot = %status_message.head_slot,
fork_digest = ?status_message.fork_digest(),
finalized_root = ?status_message.finalized_root(),
finalized_epoch = ?status_message.finalized_epoch(),
head_root = %status_message.head_root(),
head_slot = %status_message.head_slot(),
earliest_available_slot = ?status_message.earliest_available_slot(),
"Sending Status Request"
);