Crate sov_state

source ·

Re-exports

Modules

Structs

  • A container that maps keys to values stored as “accessory” state, outside of the JMT.
  • Container for a single value stored as “accessory” state, outside of the JMT.
  • A wrapper over WorkingSet that only allows access to the accessory state (non-JMT state).
  • CacheLog keeps track of the original and current values of each key accessed. By tracking original values, we can detect and eliminate write patterns where a key is changed temporarily and then reset to its original value
  • A working set accumulates reads and writes on top of the underlying DB, automating witness creation.
  • This structure is responsible for storing the read-write set and is obtained from the WorkingSet by using either the commit or revert method.
  • A container that maps keys to values.
  • Container for a single value.
  • This structure contains the read-write set and the events collected during the execution of a transaction. There are two ways to convert it into a StateCheckpoint:

Enums

Traits

  • A trait specifying the hash function and format of the witness used in merkle proofs for storage access