reth_trie

Module test_utils

Source
Available on crate feature test-utils only.
Expand description

Collection of trie-related test utilities.

Re-exports§

  • pub use triehash;

Functions§

  • Compute the state root of a given set of accounts using [triehash::sec_trie_root].
  • Compute the state root of a given set of accounts with prehashed keys using [triehash::trie_root].
  • Compute the storage root for a given account using [triehash::sec_trie_root].
  • Compute the storage root for a given account with prehashed slots using [triehash::trie_root].