mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-25 05:05:03 +00:00
Adds block production time in logs (#10205)
This commit is contained in:
1 parent
d99bb13ad9
commit
7827dbb73c
1 file changed
+2
-1
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user