pub fn state_root<I, S>(accounts: I) -> B256where
I: IntoIterator<Item = (Address, (Account, S))>,
S: IntoIterator<Item = (B256, U256)>,
Available on crate feature
test-utils
only.Expand description
Compute the state root of a given set of accounts using [triehash::sec_trie_root
].