mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
chore: storage root span to trace (#22712)
This commit is contained in:
@@ -610,8 +610,8 @@ where
|
||||
/// # Returns
|
||||
///
|
||||
/// The storage root, number of walked entries and trie updates
|
||||
/// for a given address if requested.
|
||||
#[instrument(skip_all, target = "trie::storage_root", name = "storage_trie", fields(hashed_address = ?self.hashed_address, storage_root = tracing::field::Empty))]
|
||||
/// for a given address if requested.
|
||||
#[instrument(skip_all, level = "trace", target = "trie::storage_root", name = "storage_trie", fields(addr = %self.hashed_address, storage_root))]
|
||||
pub fn calculate(self, retain_updates: bool) -> Result<StorageRootProgress, StorageRootError> {
|
||||
trace!(target: "trie::storage_root", "calculating storage root");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user