cardano-ledger-conformance-9.9.9.9: Testing utilities for conformance testing
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway

Documentation

data ConwayRatifyExecContext era Source #

Instances

Instances details
(IsConwayUniv fn, EraPParams era, HasSpec fn (GovActionState era)) ⇒ HasSpec fn (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

Methods

emptySpecTypeSpec fn (ConwayRatifyExecContext era) Source #

combineSpecTypeSpec fn (ConwayRatifyExecContext era) → TypeSpec fn (ConwayRatifyExecContext era) → Specification fn (ConwayRatifyExecContext era) Source #

genFromTypeSpec ∷ ∀ (m ∷ TypeType). (HasCallStack, MonadGenError m) ⇒ TypeSpec fn (ConwayRatifyExecContext era) → GenT m (ConwayRatifyExecContext era) Source #

conformsToConwayRatifyExecContext era → TypeSpec fn (ConwayRatifyExecContext era) → Bool Source #

shrinkWithTypeSpecTypeSpec fn (ConwayRatifyExecContext era) → ConwayRatifyExecContext era → [ConwayRatifyExecContext era] Source #

toPredsTerm fn (ConwayRatifyExecContext era) → TypeSpec fn (ConwayRatifyExecContext era) → Pred fn Source #

cardinalTypeSpecTypeSpec fn (ConwayRatifyExecContext era) → Specification fn Integer Source #

cardinalTrueSpecSpecification fn Integer Source #

typeSpecHasErrorTypeSpec fn (ConwayRatifyExecContext era) → Maybe (NonEmpty String) Source #

alternateShowTypeSpec fn (ConwayRatifyExecContext era) → BinaryShow Source #

monadConformsToConwayRatifyExecContext era → TypeSpec fn (ConwayRatifyExecContext era) → Writer [String] Bool Source #

typeSpecOptTypeSpec fn (ConwayRatifyExecContext era) → [ConwayRatifyExecContext era] → Specification fn (ConwayRatifyExecContext era) Source #

guardTypeSpec ∷ [String] → TypeSpec fn (ConwayRatifyExecContext era) → Specification fn (ConwayRatifyExecContext era) Source #

prerequisitesEvidence (Prerequisites fn (ConwayRatifyExecContext era)) Source #

(Era era, Arbitrary (PParamsHKD StrictMaybe era)) ⇒ Arbitrary (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

Generic (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

Associated Types

type Rep (ConwayRatifyExecContext era) ∷ TypeType Source #

EraPParams era ⇒ Show (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

EraPParams era ⇒ DecCBOR (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

EraPParams era ⇒ EncCBOR (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

HasSimpleRep (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

EraPParams era ⇒ NFData (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

Methods

rnfConwayRatifyExecContext era → () Source #

EraPParams era ⇒ Eq (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

ToExpr (PParamsHKD StrictMaybe era) ⇒ ToExpr (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

Inject (ConwayRatifyExecContext era) Coin Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

Inject (ConwayRatifyExecContext era) [GovActionState era] Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

type Prerequisites fn (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

type TypeSpec fn (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

type Rep (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

type Rep (ConwayRatifyExecContext era) = D1 ('MetaData "ConwayRatifyExecContext" "Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base" "cardano-ledger-conformance-9.9.9.9-inplace" 'False) (C1 ('MetaCons "ConwayRatifyExecContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "crecTreasury") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Coin) :*: S1 ('MetaSel ('Just "crecGovActionMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [GovActionState era])))
type SimpleRep (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

type TheSop (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

data ConwayLedgerExecContext era Source #

Instances

Instances details
Generic (ConwayLedgerExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Ledger

Associated Types

type Rep (ConwayLedgerExecContext era) ∷ TypeType Source #

EraPParams era ⇒ EncCBOR (ConwayLedgerExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Ledger

(EraPParams era, EraTx era, NFData (TxWits era), NFData (TxAuxData era)) ⇒ NFData (ConwayLedgerExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Ledger

Methods

rnfConwayLedgerExecContext era → () Source #

(EraTx era, ToExpr (TxOut era), ToExpr (TxBody era), ToExpr (TxWits era), ToExpr (TxAuxData era), ToExpr (PParamsHKD Identity era)) ⇒ ToExpr (ConwayLedgerExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Ledger

Inject (ConwayLedgerExecContext ConwayEra) (EnactState ConwayEra) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Ledger

Inject (ConwayLedgerExecContext era) (StrictMaybe ScriptHash) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Ledger

type Rep (ConwayLedgerExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Ledger

type Rep (ConwayLedgerExecContext era) = D1 ('MetaData "ConwayLedgerExecContext" "Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Ledger" "cardano-ledger-conformance-9.9.9.9-inplace" 'False) (C1 ('MetaCons "ConwayLedgerExecContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "clecPolicyHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (StrictMaybe ScriptHash)) :*: (S1 ('MetaSel ('Just "clecEnactState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (EnactState era)) :*: S1 ('MetaSel ('Just "clecUtxoExecContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (UtxoExecContext era)))))

data ConwayRatifyExecContext era Source #

Instances

Instances details
(IsConwayUniv fn, EraPParams era, HasSpec fn (GovActionState era)) ⇒ HasSpec fn (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

Methods

emptySpecTypeSpec fn (ConwayRatifyExecContext era) Source #

combineSpecTypeSpec fn (ConwayRatifyExecContext era) → TypeSpec fn (ConwayRatifyExecContext era) → Specification fn (ConwayRatifyExecContext era) Source #

genFromTypeSpec ∷ ∀ (m ∷ TypeType). (HasCallStack, MonadGenError m) ⇒ TypeSpec fn (ConwayRatifyExecContext era) → GenT m (ConwayRatifyExecContext era) Source #

conformsToConwayRatifyExecContext era → TypeSpec fn (ConwayRatifyExecContext era) → Bool Source #

shrinkWithTypeSpecTypeSpec fn (ConwayRatifyExecContext era) → ConwayRatifyExecContext era → [ConwayRatifyExecContext era] Source #

toPredsTerm fn (ConwayRatifyExecContext era) → TypeSpec fn (ConwayRatifyExecContext era) → Pred fn Source #

cardinalTypeSpecTypeSpec fn (ConwayRatifyExecContext era) → Specification fn Integer Source #

cardinalTrueSpecSpecification fn Integer Source #

typeSpecHasErrorTypeSpec fn (ConwayRatifyExecContext era) → Maybe (NonEmpty String) Source #

alternateShowTypeSpec fn (ConwayRatifyExecContext era) → BinaryShow Source #

monadConformsToConwayRatifyExecContext era → TypeSpec fn (ConwayRatifyExecContext era) → Writer [String] Bool Source #

typeSpecOptTypeSpec fn (ConwayRatifyExecContext era) → [ConwayRatifyExecContext era] → Specification fn (ConwayRatifyExecContext era) Source #

guardTypeSpec ∷ [String] → TypeSpec fn (ConwayRatifyExecContext era) → Specification fn (ConwayRatifyExecContext era) Source #

prerequisitesEvidence (Prerequisites fn (ConwayRatifyExecContext era)) Source #

(Era era, Arbitrary (PParamsHKD StrictMaybe era)) ⇒ Arbitrary (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

Generic (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

Associated Types

type Rep (ConwayRatifyExecContext era) ∷ TypeType Source #

EraPParams era ⇒ Show (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

EraPParams era ⇒ DecCBOR (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

EraPParams era ⇒ EncCBOR (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

HasSimpleRep (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

EraPParams era ⇒ NFData (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

Methods

rnfConwayRatifyExecContext era → () Source #

EraPParams era ⇒ Eq (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

ToExpr (PParamsHKD StrictMaybe era) ⇒ ToExpr (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

Inject (ConwayRatifyExecContext era) Coin Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

Inject (ConwayRatifyExecContext era) [GovActionState era] Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

type Prerequisites fn (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

type TypeSpec fn (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

type Rep (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

type Rep (ConwayRatifyExecContext era) = D1 ('MetaData "ConwayRatifyExecContext" "Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base" "cardano-ledger-conformance-9.9.9.9-inplace" 'False) (C1 ('MetaCons "ConwayRatifyExecContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "crecTreasury") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Coin) :*: S1 ('MetaSel ('Just "crecGovActionMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [GovActionState era])))
type SimpleRep (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

type TheSop (ConwayRatifyExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Base

data ConwayLedgerExecContext era Source #

Instances

Instances details
Generic (ConwayLedgerExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Ledger

Associated Types

type Rep (ConwayLedgerExecContext era) ∷ TypeType Source #

EraPParams era ⇒ EncCBOR (ConwayLedgerExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Ledger

(EraPParams era, EraTx era, NFData (TxWits era), NFData (TxAuxData era)) ⇒ NFData (ConwayLedgerExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Ledger

Methods

rnfConwayLedgerExecContext era → () Source #

(EraTx era, ToExpr (TxOut era), ToExpr (TxBody era), ToExpr (TxWits era), ToExpr (TxAuxData era), ToExpr (PParamsHKD Identity era)) ⇒ ToExpr (ConwayLedgerExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Ledger

Inject (ConwayLedgerExecContext ConwayEra) (EnactState ConwayEra) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Ledger

Inject (ConwayLedgerExecContext era) (StrictMaybe ScriptHash) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Ledger

type Rep (ConwayLedgerExecContext era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Ledger

type Rep (ConwayLedgerExecContext era) = D1 ('MetaData "ConwayLedgerExecContext" "Test.Cardano.Ledger.Conformance.ExecSpecRule.Conway.Ledger" "cardano-ledger-conformance-9.9.9.9-inplace" 'False) (C1 ('MetaCons "ConwayLedgerExecContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "clecPolicyHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (StrictMaybe ScriptHash)) :*: (S1 ('MetaSel ('Just "clecEnactState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (EnactState era)) :*: S1 ('MetaSel ('Just "clecUtxoExecContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (UtxoExecContext era)))))