reth_trie_common::root

Function storage_root_unhashed

Source
pub fn storage_root_unhashed(
    storage: impl IntoIterator<Item = (B256, U256)>,
) -> B256
Expand description

Hashes storage keys, sorts them and them calculates the root hash of the storage trie. See storage_root_unsorted for more info.