mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(tree): more logs for proofs prefetching (#14263)
This commit is contained in:
@ -2707,6 +2707,14 @@ where
|
||||
targets.insert(keccak256(addr), storage_set);
|
||||
}
|
||||
|
||||
debug!(
|
||||
target: "engine::tree",
|
||||
tx_hash = ?tx.tx_hash(),
|
||||
targets = targets.len(),
|
||||
storage_targets = targets.values().map(|slots| slots.len()).sum::<usize>(),
|
||||
"Prefetching proofs for a transaction"
|
||||
);
|
||||
|
||||
let _ = state_root_sender.send(StateRootMessage::PrefetchProofs(targets));
|
||||
});
|
||||
|
||||
|
||||
@ -676,7 +676,8 @@ where
|
||||
prefetch_proofs_received += 1;
|
||||
debug!(
|
||||
target: "engine::root",
|
||||
len = targets.len(),
|
||||
targets = targets.len(),
|
||||
storage_targets = targets.values().map(|slots| slots.len()).sum::<usize>(),
|
||||
total_prefetches = prefetch_proofs_received,
|
||||
"Prefetching proofs"
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user