Module changesets_utils

Module changesets_utils 

Source
Expand description

This module contains helpful utilities related to populating changesets tables.

Structs§

StorageRevertsIter
Iterator over storage reverts. See StorageRevertsIter::next for more details.
StorageTrieCurrentValuesIter
Combines a sorted iterator of trie node paths and a storage trie cursor into a new iterator which produces the current values of all given paths in the same order.

Functions§

storage_trie_wiped_changeset_iter
Returns an iterator which produces the values to be inserted into the StoragesTrieChangeSets table for an account whose storage was wiped during a block. It is expected that this is called prior to inserting the block’s trie updates.