Skip to main content

Module trie

Module trie 

Source
Expand description

Helpers for verifying the persisted state and trie representation Helpers for verifying the persisted state and trie representation of test nodes.

Functionsยง

assert_trie_consistency
Asserts that the persisted state and trie representation is internally consistent and matches the state root of the latest persisted block.
wait_for_persisted_block
Waits until the node has persisted at least the given block number to disk.