Skip to content

Commit e8b3f10

Browse files
committed
fix: add target_root and source_root to attestation publication log
1 parent 19f6064 commit e8b3f10

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/net/p2p/src/gossipsub/handler.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ pub async fn publish_attestation(server: &mut P2PServer, attestation: SignedAtte
102102
slot = %slot,
103103
validator = validator,
104104
target_slot = attestation.message.target.slot,
105+
target_root = %ShortRoot(&attestation.message.target.root.0),
105106
source_slot = attestation.message.source.slot,
107+
source_root = %ShortRoot(&attestation.message.source.root.0),
106108
"Published attestation to gossipsub"
107109
))
108110
.inspect_err(|err| {

0 commit comments

Comments
 (0)