Skip to main content

Module debug_recorder

Module debug_recorder 

Source
Expand description

Debug recorder for tracking mutating operations on sparse tries.

This module is only available with the trie-debug feature and provides infrastructure for recording all mutations to a crate::ParallelSparseTrie for post-hoc debugging of state root mismatches.

Structs§

ProofTrieNodeRecord
A serializable record of a proof trie node.
TrieDebugRecorder
Records mutating operations performed on a sparse trie in the order they occurred.
TrieNodeRecord
A newtype wrapper around [TrieNode] with custom serialization that hex-encodes byte fields (leaf values, branch stack entries, extension child pointers) instead of serializing them as raw integer arrays.

Enums§

LeafUpdateRecord
A serializable record of a leaf update, mirroring crate::LeafUpdate.
RecordedOp
A mutating operation recorded from a sparse trie.