Available on crate feature
test-utils
only.Expand description
Collection of trie-related test utilities.
Re-exports§
pub use triehash;
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
].