cardano-ledger-test-9.9.9.9: Testing harness, tests and benchmarks for Shelley style cardano ledgers
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cardano.Ledger.Constrained.Stage

Synopsis

Documentation

data Stage era Source #

Group together some Preds and OrderInfo about how to decide the order in which to solve the variables appearing in the Preds

Constructors

Stage OrderInfo [Pred era] 

type Pipeline era = [Stage era] Source #

ledgerPipelineReflect era ⇒ UnivSizeProof era → Pipeline era Source #

A pipeline for specifying the LederState

stageToGraphEra era ⇒ IntStage era → HashSet (Name era) → Gen (Int, DependGraph era) Source #

Translate a Stage into a DependGraph, given the set of variables that have aready been solved for.

mergePipelineEra era ⇒ IntPipeline era → HashSet (Name era) → DependGraph era → Gen (Int, DependGraph era) Source #

Merge a Pipeline into an existing DependGraph, given the set of variables that have aready been solved for, to get a larger DependGraph

solvePipelineReflect era ⇒ Pipeline era → Gen (Env era, Subst era, DependGraph era) Source #

Solve a Pipeline to get a Env, Subst, and a DependGraph