diff --git a/crates/stages/stages/src/stages/execution.rs b/crates/stages/stages/src/stages/execution.rs index 37f2b4c86..519511e5d 100644 --- a/crates/stages/stages/src/stages/execution.rs +++ b/crates/stages/stages/src/stages/execution.rs @@ -51,8 +51,8 @@ pub(crate) fn update_execution_total(block: u64, inc: u128) { let new = *current + inc as u64; *current = new; - if block % 100 == 0 { - info!(target: "bt_pipeline_execution", execution = ?new, block = ?block, "Total execution time"); + if block % 1000 == 0 { + info!(target: "bt_pipeline_execution", block = ?block, execution = ?new, "Total execution time"); } } diff --git a/crates/storage/provider/src/providers/state/cache/cache_writer.rs b/crates/storage/provider/src/providers/state/cache/cache_writer.rs index 690af9146..8dee9cb48 100644 --- a/crates/storage/provider/src/providers/state/cache/cache_writer.rs +++ b/crates/storage/provider/src/providers/state/cache/cache_writer.rs @@ -48,14 +48,14 @@ impl<'a, TX> PlainCacheWriter<'a, TX> { { if last_block > 0 { info!( - "P_ACCOUNT_CACHE_SZ {}, block number {}", + "block number {}, P_ACCOUNT_CACHE_SZ {}", + last_block, super::plain_state::PLAIN_ACCOUNTS.len(), - last_block ); info!( - "P_STORAGE_CACHE_SZ {}, block number {}", + "block number {}, P_STORAGE_CACHE_SZ {}", + last_block, super::plain_state::PLAIN_STORAGES.len(), - last_block ); } // Update account cache