diff --git a/crates/optimism/trie/src/proof.rs b/crates/optimism/trie/src/proof.rs index f4015b50ff9..116b721c1aa 100644 --- a/crates/optimism/trie/src/proof.rs +++ b/crates/optimism/trie/src/proof.rs @@ -346,7 +346,7 @@ where ), address, prefix_set, - TrieRootMetrics::new(TrieType::Storage), + TrieRootMetrics::new(TrieType::Custom("op_historical_proofs_storage")), ) .root() } diff --git a/crates/trie/trie/src/trie.rs b/crates/trie/trie/src/trie.rs index 17cdd1f96c5..500e92b7a6b 100644 --- a/crates/trie/trie/src/trie.rs +++ b/crates/trie/trie/src/trie.rs @@ -726,6 +726,8 @@ pub enum TrieType { State, /// Storage trie type. Storage, + /// Custom trie type. Can be used in ExEx. + Custom(&'static str), } impl TrieType { @@ -734,6 +736,7 @@ impl TrieType { match self { Self::State => "state", Self::Storage => "storage", + Self::Custom(s) => s, } } }