mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 23:57:56 +00:00
unify spacing on state trace logs (#5932)
This commit is contained in:
@@ -420,7 +420,7 @@ where
|
||||
key: Vec<u8>,
|
||||
value: Vec<u8>,
|
||||
) {
|
||||
trace!(target: "state", "{:04x}: Append({}) {}",
|
||||
trace!(target: "state", "{:04x}: Append {}={}",
|
||||
self.id,
|
||||
HexDisplay::from(&key),
|
||||
HexDisplay::from(&value),
|
||||
@@ -444,7 +444,7 @@ where
|
||||
fn storage_root(&mut self) -> Vec<u8> {
|
||||
let _guard = sp_panic_handler::AbortGuard::force_abort();
|
||||
if let Some(ref root) = self.storage_transaction_cache.transaction_storage_root {
|
||||
trace!(target: "state", "{:04x}: Root (cached) {}",
|
||||
trace!(target: "state", "{:04x}: Root(cached) {}",
|
||||
self.id,
|
||||
HexDisplay::from(&root.as_ref()),
|
||||
);
|
||||
@@ -470,7 +470,7 @@ where
|
||||
.unwrap_or(
|
||||
empty_child_trie_root::<Layout<H>>()
|
||||
);
|
||||
trace!(target: "state", "{:04x}: ChildRoot({}) (cached) {}",
|
||||
trace!(target: "state", "{:04x}: ChildRoot({})(cached) {}",
|
||||
self.id,
|
||||
HexDisplay::from(&storage_key),
|
||||
HexDisplay::from(&root.as_ref()),
|
||||
@@ -518,7 +518,7 @@ where
|
||||
.unwrap_or(
|
||||
empty_child_trie_root::<Layout<H>>()
|
||||
);
|
||||
trace!(target: "state", "{:04x}: ChildRoot({}) (no change) {}",
|
||||
trace!(target: "state", "{:04x}: ChildRoot({})(no_change) {}",
|
||||
self.id,
|
||||
HexDisplay::from(&storage_key.as_ref()),
|
||||
HexDisplay::from(&root.as_ref()),
|
||||
|
||||
Reference in New Issue
Block a user