Module test_utils
Available on crate features
trie
and test-utils
only.Expand description
Collection of trie-related test utilities.
Modules§
- triehash
- Generetes trie root.
Functions§
- state_
root - Compute the state root of a given set of accounts using
triehash::sec_trie_root
. - state_
root_ prehashed - Compute the state root of a given set of accounts with prehashed keys using
triehash::trie_root
. - storage_
root - Compute the storage root for a given account using
triehash::sec_trie_root
. - storage_
root_ prehashed - Compute the storage root for a given account with prehashed slots using
triehash::trie_root
.