Function reth_trie::test_utils::state_root

source ยท
pub fn state_root<I, S>(accounts: I) -> B256
where 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].