Skip to main content

Module state_store

Module state_store 

Source
Expand description

State History Store

Stores the full state history for contracts, enabling client-side validation. The client stores:

  • All commitments from genesis to present
  • All state transitions
  • All seal assignments and their lifecycle
  • Anchors and their inclusion proofs

This allows the client to verify the complete history without re-fetching everything from the chain on every validation.

Structs§

ContractHistory
A contract’s full state history from genesis to present.
InMemoryStateStore
In-memory implementation of StateHistoryStore.
StateTransitionRecord
A recorded state transition in the contract history.

Enums§

StoreError
Errors that can occur in state storage.

Traits§

StateHistoryStore
Trait for persisting contract state history.