Skip to content

Commit

Permalink
add debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
jianlinjiang committed Aug 29, 2024
1 parent 6aa6121 commit fe69e45
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/validation/block_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -986,15 +986,17 @@ impl<T: SlotClock + 'static, E: EthSpec> BlockService<T, E> {
UnsignedBlock::Blinded(block) => {
info!(
log,
"Received unsigned full block";
"block hash" => ?block.state_root()
"Received unsigned blinded block";
"block hash" => ?block.state_root(),
"block" => ?block
);
},
UnsignedBlock::Full(block) => {
info!(
log,
"Received unsigned full block";
"block hash" => ?block.block().state_root()
"block hash" => ?block.block().state_root(),
"block" => ?block.block()
);
}
}
Expand Down

0 comments on commit fe69e45

Please sign in to comment.