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.