Skip to main content

state_root_unsorted

Function state_root_unsorted 

pub fn state_root_unsorted<A>(
    state: impl IntoIterator<Item = (FixedBytes<32>, A)>,
) -> FixedBytes<32>
where A: Into<TrieAccount>,
Available on crate feature ethereum only.
Expand description

Ethereum specific trie root functions. Sorts the hashed account keys and calculates the root hash of the state represented as MPT. See state_root for more info.