polkadot-sdk
polkadot-sdk copied to clipboard
Improve Warp Sync Logging
Resolves https://github.com/paritytech/polkadot-sdk/issues/6747
This PR enhances warp sync progress reporting by:
-
[x] Removing irrelevant data: Eliminates the misleading best and finalized block numbers that remain at #0 during warp sync.
-
[x] Adding meaningful progress tracking: Shows the number of eras verified using
proof.proofs.len() as u64to give users clear progress indication. -
[x] Updating log format: Changes from confusing static data to dynamic progress like
"15 eras synced, 2.45 MiB"
pls review @bkchr