Function storage_root

pub fn storage_root<T>(
    storage: impl IntoIterator<Item = (FixedBytes<32>, T)>,
) -> FixedBytes<32>
where T: FlaggedStorageValue,
Expand description

Calculates the root hash of account storage trie.

ยงPanics

If the items are not in sorted order. SEISMIC WARNING: Ensure that the storage values are flagged correctly when calling