ouroboros-consensus-0.26.0.0: Consensus layer for the Ouroboros blockchain protocol
Safe HaskellNone
LanguageHaskell2010

Test.Util.LedgerStateOnlyTables

Description

A simple ledger state that only holds ledger tables (and values).

This is useful when we only need a ledger state and ledger tables, but not necessarily blocks with payloads (such as defined in Test.Util.TestBlock).

Documentation

type OTLedgerState k v = LedgerState (OTBlock k v) Source #

emptyOTLedgerState ∷ ∀ k v (mk ∷ MapKind). (Ord k, Eq v, MemPack k, MemPack v, ZeroableMK mk) ⇒ LedgerState (OTBlock k v) mk Source #

OTLedgerState ∷ ∀ k v (mk ∷ MapKind). ValuesMK k v ⊸ OTLedgerTables k v mk ⊸ LedgerState (OTBlock k v) mk Source #