diff --git a/crates/trie/sparse/src/trie.rs b/crates/trie/sparse/src/trie.rs index 83a3dcd461e8f..083fa8fdc4ef5 100644 --- a/crates/trie/sparse/src/trie.rs +++ b/crates/trie/sparse/src/trie.rs @@ -165,8 +165,6 @@ pub struct RevealedSparseTrie
{
prefix_set: PrefixSetMut,
/// Retained trie updates.
updates: Option fmt::Debug for RevealedSparseTrie {
@@ -177,7 +175,6 @@ impl fmt::Debug for RevealedSparseTrie {
.field("values", &self.values)
.field("prefix_set", &self.prefix_set)
.field("updates", &self.updates)
- .field("rlp_buf", &hex::encode(&self.rlp_buf))
.finish_non_exhaustive()
}
}
@@ -191,7 +188,6 @@ impl Default for RevealedSparseTrie {
values: HashMap::default(),
prefix_set: PrefixSetMut::default(),
updates: None,
- rlp_buf: Vec::new(),
}
}
}
@@ -209,7 +205,6 @@ impl RevealedSparseTrie {
branch_node_hash_masks: HashMap::default(),
values: HashMap::default(),
prefix_set: PrefixSetMut::default(),
- rlp_buf: Vec::new(),
updates: None,
}
.with_updates(retain_updates);
@@ -232,7 +227,6 @@ impl RevealedSparseTrie {
branch_node_hash_masks: HashMap::default(),
values: HashMap::default(),
prefix_set: PrefixSetMut::default(),
- rlp_buf: Vec::new(),
updates: None,
}
.with_updates(retain_updates);
@@ -249,7 +243,6 @@ impl RevealedSparseTrie {
values: self.values,
prefix_set: self.prefix_set,
updates: self.updates,
- rlp_buf: self.rlp_buf,
}
}