chore(trie): less logs for sparse branch node updates (#13811)

This commit is contained in:
Alexey Shekhirin
2025-01-16 13:47:18 +00:00
committed by GitHub
parent 265f783c22
commit 590496d0e4

View File

@ -774,15 +774,6 @@ impl<P> RevealedSparseTrie<P> {
hash_mask.set_bit(last_child_nibble);
hashes.push(hash);
}
trace!(
target: "trie::sparse",
?path,
?child_path,
tree_mask_bit_set = should_set_tree_mask_bit,
hash_mask_bit_set = hash.is_some(),
"Updating branch node child masks"
);
}
// Insert children in the resulting buffer in a normal order,
@ -801,6 +792,14 @@ impl<P> RevealedSparseTrie<P> {
}
}
trace!(
target: "trie::sparse",
?path,
?tree_mask,
?hash_mask,
"Branch node masks"
);
self.rlp_buf.clear();
let branch_node_ref =
BranchNodeRef::new(&buffers.branch_value_stack_buf, *state_mask);