reth_trie_common::root

Function storage_root

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

Calculates the root hash of account storage trie.

ยงPanics

If the items are not in sorted order.