reth_trie::root

Function storage_root_unhashed

pub fn storage_root_unhashed(
    storage: impl IntoIterator<Item = (FixedBytes<32>, Uint<256, 4>)>,
) -> FixedBytes<32>
Expand description

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