mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
chore(merkle): add debug log inside incremental loop (#16977)
This commit is contained in:
@@ -279,6 +279,14 @@ where
|
||||
for start_block in range.step_by(incremental_threshold as usize) {
|
||||
let chunk_to = std::cmp::min(start_block + incremental_threshold, to_block);
|
||||
let chunk_range = start_block..=chunk_to;
|
||||
debug!(
|
||||
target: "sync::stages::merkle::exec",
|
||||
current = ?current_block_number,
|
||||
target = ?to_block,
|
||||
incremental_threshold,
|
||||
chunk_range = ?chunk_range,
|
||||
"Processing chunk"
|
||||
);
|
||||
let (root, updates) =
|
||||
StateRoot::incremental_root_with_updates(provider.tx_ref(), chunk_range)
|
||||
.map_err(|e| {
|
||||
|
||||
Reference in New Issue
Block a user