reth_trie::test_utils

Function storage_root_prehashed

Source
pub fn storage_root_prehashed<I: IntoIterator<Item = (B256, U256)>>(
    storage: I,
) -> B256
Available on crate feature test-utils only.
Expand description

Compute the storage root for a given account with prehashed slots using [triehash::trie_root].