mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 02:01:02 +00:00
Log pov size as info (#558)
This commit is contained in:
@@ -239,7 +239,7 @@ where
|
|||||||
// Create the parachain block data for the validators.
|
// Create the parachain block data for the validators.
|
||||||
let b = ParachainBlockData::<Block>::new(header, extrinsics, compact_proof);
|
let b = ParachainBlockData::<Block>::new(header, extrinsics, compact_proof);
|
||||||
|
|
||||||
tracing::debug!(
|
tracing::info!(
|
||||||
target: LOG_TARGET,
|
target: LOG_TARGET,
|
||||||
"PoV size {{ header: {}kb, extrinsics: {}kb, storage_proof: {}kb }}",
|
"PoV size {{ header: {}kb, extrinsics: {}kb, storage_proof: {}kb }}",
|
||||||
b.header().encode().len() as f64 / 1024f64,
|
b.header().encode().len() as f64 / 1024f64,
|
||||||
|
|||||||
Reference in New Issue
Block a user