Skip to content
Snippets Groups Projects
Commit 7827dbb7 authored by Alan Sapede's avatar Alan Sapede Committed by GitHub
Browse files

Adds block production time in logs (#10205)

parent d99bb13a
No related merge requests found
......@@ -462,8 +462,9 @@ where
});
info!(
"🎁 Prepared block for proposing at {} [hash: {:?}; parent_hash: {}; extrinsics ({}): [{}]]",
"🎁 Prepared block for proposing at {} ({} ms) [hash: {:?}; parent_hash: {}; extrinsics ({}): [{}]]",
block.header().number(),
block_timer.elapsed().as_millis(),
<Block as BlockT>::Hash::from(block.header().hash()),
block.header().parent_hash(),
block.extrinsics().len(),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment