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