diff --git a/crates/trie/sparse/src/trie.rs b/crates/trie/sparse/src/trie.rs index 26f1b0dd9..9c168fd77 100644 --- a/crates/trie/sparse/src/trie.rs +++ b/crates/trie/sparse/src/trie.rs @@ -774,15 +774,6 @@ impl

RevealedSparseTrie

{ 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

RevealedSparseTrie

{ } } + 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);