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

Test.Cardano.Ledger.Conformance

Synopsis

Documentation

newtype OpaqueErrorString Source #

OpaqueErrorString behaves like unit in comparisons, but contains an error string that can be displayed.

Instances

Instances details
Semigroup OpaqueErrorString Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Core

Generic OpaqueErrorString Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Core

Associated Types

type Rep OpaqueErrorStringTypeType Source #

Show OpaqueErrorString Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Core

FixupSpecRep OpaqueErrorString Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

NFData OpaqueErrorString Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Core

Methods

rnfOpaqueErrorString → () Source #

Eq OpaqueErrorString Source #

This implementation violates referential transparency. Do not rely on it unless you know what you're doing.

Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Core

ToExpr OpaqueErrorString Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Core

type Rep OpaqueErrorString Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Core

type Rep OpaqueErrorString = D1 ('MetaData "OpaqueErrorString" "Test.Cardano.Ledger.Conformance.SpecTranslate.Core" "cardano-ledger-conformance-9.9.9.9-inplace" 'True) (C1 ('MetaCons "OpaqueErrorString" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty Text))))

class FixupSpecRep a where Source #

Minimal complete definition

Nothing

Methods

fixup ∷ a → a Source #

default fixup ∷ (Generic a, GFixupSpecRep (Rep a)) ⇒ a → a Source #

Instances

Instances details
FixupSpecRep Void Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupVoidVoid Source #

FixupSpecRep OpaqueErrorString Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep BaseAddr Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupBaseAddrBaseAddr Source #

FixupSpecRep BootstrapAddr Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep Credential Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep RwdAddr Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupRwdAddrRwdAddr Source #

FixupSpecRep CertState Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep DState Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupDStateDState Source #

FixupSpecRep DepositPurpose Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep GState Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupGStateGState Source #

FixupSpecRep PState Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupPStatePState Source #

FixupSpecRep PoolParams Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep EnactState Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep GovAction Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep EpochState Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep Snapshot Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupSnapshotSnapshot Source #

FixupSpecRep Snapshots Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep GovActionState Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep GovRole Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupGovRoleGovRole Source #

FixupSpecRep VDeleg Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupVDelegVDeleg Source #

FixupSpecRep Vote Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupVoteVote Source #

FixupSpecRep LState Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupLStateLState Source #

FixupSpecRep HsRewardUpdate Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep NewEpochState Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep Acnt Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupAcntAcnt Source #

FixupSpecRep DrepThresholds Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep PParams Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupPParamsPParams Source #

FixupSpecRep PParamsUpdate Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep PoolThresholds Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep RatifyEnv Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep RatifyState Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep StakeDistrs Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep HashedTimelock Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep Timelock Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupTimelockTimelock Source #

FixupSpecRep TxId Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupTxIdTxId Source #

FixupSpecRep UTxOState Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

FixupSpecRep Rational Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupRationalRational Source #

FixupSpecRep Text Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupTextText Source #

FixupSpecRep () Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixup ∷ () → () Source #

FixupSpecRep Bool Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupBoolBool Source #

FixupSpecRep Char Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupCharChar Source #

(Ord a, FixupSpecRep a) ⇒ FixupSpecRep (HSSet a) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupHSSet a → HSSet a Source #

FixupSpecRep a ⇒ FixupSpecRep (NonEmpty a) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupNonEmpty a → NonEmpty a Source #

FixupSpecRep a ⇒ FixupSpecRep (Maybe a) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupMaybe a → Maybe a Source #

FixupSpecRep a ⇒ FixupSpecRep [a] Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixup ∷ [a] → [a] Source #

(FixupSpecRep a, FixupSpecRep b) ⇒ FixupSpecRep (Either a b) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupEither a b → Either a b Source #

(Eq v, Ord k, FixupSpecRep k, FixupSpecRep v) ⇒ FixupSpecRep (HSMap k v) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixupHSMap k v → HSMap k v Source #

(FixupSpecRep a, FixupSpecRep b) ⇒ FixupSpecRep (a, b) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.Orphans

Methods

fixup ∷ (a, b) → (a, b) Source #

class SpecTranslate ctx a where Source #

Associated Types

type SpecRep a ∷ Type Source #

Methods

toSpecRep ∷ a → SpecTransM ctx (SpecRep a) Source #

Instances

Instances details
SpecTranslate ctx Void Source # 
Instance details

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

Associated Types

type SpecRep Void Source #

SpecTranslate ctx Word16 Source # 
Instance details

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

Associated Types

type SpecRep Word16 Source #

SpecTranslate ctx Word32 Source # 
Instance details

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

Associated Types

type SpecRep Word32 Source #

SpecTranslate ctx Word64 Source # 
Instance details

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

Associated Types

type SpecRep Word64 Source #

SpecTranslate ctx ValidityInterval Source # 
Instance details

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

Associated Types

type SpecRep ValidityInterval Source #

SpecTranslate ctx OrdExUnits Source # 
Instance details

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

Associated Types

type SpecRep OrdExUnits Source #

SpecTranslate ctx IsValid Source # 
Instance details

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

Associated Types

type SpecRep IsValid Source #

SpecTranslate ctx CoinPerByte Source # 
Instance details

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

Associated Types

type SpecRep CoinPerByte Source #

SpecTranslate ctx GovActionId Source # 
Instance details

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

Associated Types

type SpecRep GovActionId Source #

SpecTranslate ctx GovActionIx Source # 
Instance details

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

Associated Types

type SpecRep GovActionIx Source #

SpecTranslate ctx Vote Source # 
Instance details

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

Associated Types

type SpecRep Vote Source #

SpecTranslate ctx Voter Source # 
Instance details

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

Associated Types

type SpecRep Voter Source #

SpecTranslate ctx DRepVotingThresholds Source # 
Instance details

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

Associated Types

type SpecRep DRepVotingThresholds Source #

SpecTranslate ctx PoolVotingThresholds Source # 
Instance details

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

Associated Types

type SpecRep PoolVotingThresholds Source #

SpecTranslate ctx ConwayDelegCert Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Deleg

Associated Types

type SpecRep ConwayDelegCert Source #

SpecTranslate ctx ConwayGovCert Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.GovCert

Associated Types

type SpecRep ConwayGovCert Source #

SpecTranslate ctx Addr Source # 
Instance details

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

Associated Types

type SpecRep Addr Source #

SpecTranslate ctx BootstrapAddress Source # 
Instance details

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

Associated Types

type SpecRep BootstrapAddress Source #

SpecTranslate ctx RewardAccount Source # 
Instance details

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

Associated Types

type SpecRep RewardAccount Source #

SpecTranslate ctx Withdrawals Source # 
Instance details

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

Associated Types

type SpecRep Withdrawals Source #

SpecTranslate ctx Anchor Source # 
Instance details

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

Associated Types

type SpecRep Anchor Source #

SpecTranslate ctx Network Source # 
Instance details

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

Associated Types

type SpecRep Network Source #

SpecTranslate ctx NonNegativeInterval Source # 
Instance details

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

Associated Types

type SpecRep NonNegativeInterval Source #

SpecTranslate ctx ProtVer Source # 
Instance details

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

Associated Types

type SpecRep ProtVer Source #

SpecTranslate ctx TxIx Source # 
Instance details

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

Associated Types

type SpecRep TxIx Source #

SpecTranslate ctx UnitInterval Source # 
Instance details

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

Associated Types

type SpecRep UnitInterval Source #

SpecTranslate ctx Url Source # 
Instance details

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

Associated Types

type SpecRep Url Source #

Methods

toSpecRepUrlSpecTransM ctx (SpecRep Url) Source #

SpecTranslate ctx CommitteeAuthorization Source # 
Instance details

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

Associated Types

type SpecRep CommitteeAuthorization Source #

SpecTranslate ctx Coin Source # 
Instance details

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

Associated Types

type SpecRep Coin Source #

SpecTranslate ctx DeltaCoin Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Cert

Associated Types

type SpecRep DeltaCoin Source #

SpecTranslate ctx PoolCert Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Pool

Associated Types

type SpecRep PoolCert Source #

SpecTranslate ctx StakeReference Source # 
Instance details

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

Associated Types

type SpecRep StakeReference Source #

SpecTranslate ctx DRep Source # 
Instance details

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

Associated Types

type SpecRep DRep Source #

SpecTranslate ctx SnapShot Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Cert

Associated Types

type SpecRep SnapShot Source #

SpecTranslate ctx SnapShots Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Cert

Associated Types

type SpecRep SnapShots Source #

SpecTranslate ctx Stake Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Cert

Associated Types

type SpecRep Stake Source #

SpecTranslate ctx ScriptHash Source # 
Instance details

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

Associated Types

type SpecRep ScriptHash Source #

SpecTranslate ctx TxAuxDataHash Source # 
Instance details

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

Associated Types

type SpecRep TxAuxDataHash Source #

SpecTranslate ctx CostModels Source # 
Instance details

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

Associated Types

type SpecRep CostModels Source #

SpecTranslate ctx ExUnits Source # 
Instance details

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

Associated Types

type SpecRep ExUnits Source #

SpecTranslate ctx Prices Source # 
Instance details

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

Associated Types

type SpecRep Prices Source #

SpecTranslate ctx IndividualPoolStake Source # 
Instance details

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

Associated Types

type SpecRep IndividualPoolStake Source #

SpecTranslate ctx PoolDistr Source # 
Instance details

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

Associated Types

type SpecRep PoolDistr Source #

SpecTranslate ctx PoolParams Source # 
Instance details

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

Associated Types

type SpecRep PoolParams Source #

SpecTranslate ctx TxId Source # 
Instance details

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

Associated Types

type SpecRep TxId Source #

SpecTranslate ctx TxIn Source # 
Instance details

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

Associated Types

type SpecRep TxIn Source #

SpecTranslate ctx MaryValue Source # 
Instance details

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

Associated Types

type SpecRep MaryValue Source #

SpecTranslate ctx AccountState Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Cert

Associated Types

type SpecRep AccountState Source #

SpecTranslate ctx PulsingRewUpdate Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Cert

Associated Types

type SpecRep PulsingRewUpdate Source #

SpecTranslate ctx DepositPurpose Source # 
Instance details

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

Associated Types

type SpecRep DepositPurpose Source #

SpecTranslate ctx EpochInterval Source # 
Instance details

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

Associated Types

type SpecRep EpochInterval Source #

SpecTranslate ctx EpochNo Source # 
Instance details

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

Associated Types

type SpecRep EpochNo Source #

SpecTranslate ctx SlotNo Source # 
Instance details

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

Associated Types

type SpecRep SlotNo Source #

SpecTranslate ctx Integer Source # 
Instance details

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

Associated Types

type SpecRep Integer Source #

SpecTranslate ctx Bool Source # 
Instance details

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

Associated Types

type SpecRep Bool Source #

SpecTranslate ctx a ⇒ SpecTranslate ctx (OSet a) Source # 
Instance details

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

Associated Types

type SpecRep (OSet a) Source #

Methods

toSpecRepOSet a → SpecTransM ctx (SpecRep (OSet a)) Source #

(AlonzoEraScript era, NativeScript era ~ Timelock era, Script era ~ AlonzoScript era) ⇒ SpecTranslate ctx (Timelock era) Source # 
Instance details

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

Associated Types

type SpecRep (Timelock era) Source #

Methods

toSpecRepTimelock era → SpecTransM ctx (SpecRep (Timelock era)) Source #

(AlonzoEraScript era, Script era ~ AlonzoScript era, NativeScript era ~ Timelock era) ⇒ SpecTranslate ctx (AlonzoScript era) Source # 
Instance details

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

Associated Types

type SpecRep (AlonzoScript era) Source #

(AlonzoEraScript era, NativeScript era ~ Timelock era, Script era ~ AlonzoScript era) ⇒ SpecTranslate ctx (PlutusScript era) Source # 
Instance details

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

Associated Types

type SpecRep (PlutusScript era) Source #

(SpecTranslate ctx (TxWits era), SpecTranslate ctx (TxAuxData era), SpecTranslate ConwayTxBodyTransContext (TxBody era), SpecRep (TxWits era) ~ TxWitnesses, SpecRep (TxAuxData era) ~ AuxiliaryData, SpecRep (TxBody era) ~ TxBody, Tx era ~ AlonzoTx era, EraTx era, BabbageEraTxBody era) ⇒ SpecTranslate ctx (AlonzoTx era) Source # 
Instance details

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

Associated Types

type SpecRep (AlonzoTx era) Source #

Methods

toSpecRepAlonzoTx era → SpecTransM ctx (SpecRep (AlonzoTx era)) Source #

Era era ⇒ SpecTranslate ctx (AlonzoTxAuxData era) Source # 
Instance details

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

Associated Types

type SpecRep (AlonzoTxAuxData era) Source #

(AlonzoEraScript era, SpecTranslate ctx (PlutusPurpose AsIx era), SpecRep (PlutusPurpose AsIx era) ~ RdmrPtr, Script era ~ AlonzoScript era, NativeScript era ~ Timelock era) ⇒ SpecTranslate ctx (AlonzoTxWits era) Source # 
Instance details

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

Associated Types

type SpecRep (AlonzoTxWits era) Source #

(AlonzoEraScript era, SpecTranslate ctx (PlutusPurpose AsIx era)) ⇒ SpecTranslate ctx (Redeemers era) Source # 
Instance details

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

Associated Types

type SpecRep (Redeemers era) Source #

Methods

toSpecRepRedeemers era → SpecTransM ctx (SpecRep (Redeemers era)) Source #

Era era ⇒ SpecTranslate ctx (TxDats era) Source # 
Instance details

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

Associated Types

type SpecRep (TxDats era) Source #

Methods

toSpecRepTxDats era → SpecTransM ctx (SpecRep (TxDats era)) Source #

(EraTxOut era, SpecRep (Value era) ~ Coin, Script era ~ AlonzoScript era, SpecTranslate ctx (Value era), SpecTranslate ctx (Script era)) ⇒ SpecTranslate ctx (BabbageTxOut era) Source # 
Instance details

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

Associated Types

type SpecRep (BabbageTxOut era) Source #

SpecTranslate ctx a ⇒ SpecTranslate ctx (Sized a) Source # 
Instance details

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

Associated Types

type SpecRep (Sized a) Source #

Methods

toSpecRepSized a → SpecTransM ctx (SpecRep (Sized a)) Source #

SpecTranslate ctx (ConwayExecEnactEnv era) Source # 
Instance details

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

Associated Types

type SpecRep (ConwayExecEnactEnv era) Source #

(EraPParams era, SpecTranslate ctx (PParamsHKD Identity era), SpecRep (PParamsHKD Identity era) ~ PParams) ⇒ SpecTranslate ctx (EnactState era) Source # 
Instance details

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

Associated Types

type SpecRep (EnactState era) Source #

Methods

toSpecRepEnactState era → SpecTransM ctx (SpecRep (EnactState era)) Source #

Inject ctx CoinSpecTranslate ctx (RatifyEnv era) Source # 
Instance details

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

Associated Types

type SpecRep (RatifyEnv era) Source #

Methods

toSpecRepRatifyEnv era → SpecTransM ctx (SpecRep (RatifyEnv era)) Source #

(EraPParams era, SpecTranslate ctx (PParamsHKD StrictMaybe era), SpecRep (PParamsHKD StrictMaybe era) ~ PParamsUpdate) ⇒ SpecTranslate ctx (RatifySignal era) Source # 
Instance details

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

Associated Types

type SpecRep (RatifySignal era) Source #

(EraPParams era, SpecRep (PParamsHKD Identity era) ~ PParams, SpecTranslate ctx (PParamsHKD Identity era), Inject ctx [GovActionState era], ToExpr (PParamsHKD StrictMaybe era), SpecRep (PParamsHKD StrictMaybe era) ~ PParamsUpdate, SpecTranslate ctx (PParamsHKD StrictMaybe era)) ⇒ SpecTranslate ctx (RatifyState era) Source # 
Instance details

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

Associated Types

type SpecRep (RatifyState era) Source #

Methods

toSpecRepRatifyState era → SpecTransM ctx (SpecRep (RatifyState era)) Source #

SpecTranslate ctx (Committee era) Source # 
Instance details

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

Associated Types

type SpecRep (Committee era) Source #

Methods

toSpecRepCommittee era → SpecTransM ctx (SpecRep (Committee era)) Source #

SpecTranslate ctx (Constitution era) Source # 
Instance details

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

Associated Types

type SpecRep (Constitution era) Source #

(EraPParams era, SpecTranslate ctx (PParamsHKD StrictMaybe era), SpecRep (PParamsHKD StrictMaybe era) ~ PParamsUpdate) ⇒ SpecTranslate ctx (GovAction era) Source # 
Instance details

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

Associated Types

type SpecRep (GovAction era) Source #

Methods

toSpecRepGovAction era → SpecTransM ctx (SpecRep (GovAction era)) Source #

(EraPParams era, SpecTranslate ctx (PParamsHKD StrictMaybe era), SpecRep (PParamsHKD StrictMaybe era) ~ PParamsUpdate) ⇒ SpecTranslate ctx (GovActionState era) Source # 
Instance details

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

Associated Types

type SpecRep (GovActionState era) Source #

(EraPParams era, SpecTranslate ctx (PParamsHKD StrictMaybe era), SpecRep (PParamsHKD StrictMaybe era) ~ PParamsUpdate) ⇒ SpecTranslate ctx (ProposalProcedure era) Source # 
Instance details

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

Associated Types

type SpecRep (ProposalProcedure era) Source #

SpecTranslate ctx (VotingProcedures era) Source # 
Instance details

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

Associated Types

type SpecRep (VotingProcedures era) Source #

(EraPParams era, SpecTranslate ctx (PParamsHKD StrictMaybe era), SpecRep (PParamsHKD StrictMaybe era) ~ PParamsUpdate) ⇒ SpecTranslate ctx (Proposals era) Source # 
Instance details

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

Associated Types

type SpecRep (Proposals era) Source #

Methods

toSpecRepProposals era → SpecTransM ctx (SpecRep (Proposals era)) Source #

(SpecTranslate ctx (PParamsHKD Identity era), SpecRep (PParamsHKD Identity era) ~ PParams, Inject ctx (VotingProcedures era), Inject ctx (Map RewardAccount Coin)) ⇒ SpecTranslate ctx (CertEnv era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Cert

Associated Types

type SpecRep (CertEnv era) Source #

Methods

toSpecRepCertEnv era → SpecTransM ctx (SpecRep (CertEnv era)) Source #

(ToExpr (PredicateFailure (EraRule "DELEG" era)), ToExpr (PredicateFailure (EraRule "GOVCERT" era)), ToExpr (PredicateFailure (EraRule "POOL" era))) ⇒ SpecTranslate ctx (ConwayCertPredFailure era) Source # 
Instance details

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

Associated Types

type SpecRep (ConwayCertPredFailure era) Source #

(SpecTranslate ctx (PParamsHKD Identity era), SpecRep (PParamsHKD Identity era) ~ PParams, Inject ctx (VotingProcedures era), Inject ctx (Map RewardAccount Coin)) ⇒ SpecTranslate ctx (CertsEnv era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Certs

Associated Types

type SpecRep (CertsEnv era) Source #

Methods

toSpecRepCertsEnv era → SpecTransM ctx (SpecRep (CertsEnv era)) Source #

ToExpr (PredicateFailure (EraRule "CERT" era)) ⇒ SpecTranslate ctx (ConwayCertsPredFailure era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Certs

Associated Types

type SpecRep (ConwayCertsPredFailure era) Source #

(SpecRep (PParamsHKD Identity era) ~ PParams, SpecTranslate ctx (PParamsHKD Identity era), Inject ctx (Set (Credential 'DRepRole))) ⇒ SpecTranslate ctx (ConwayDelegEnv era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Deleg

Associated Types

type SpecRep (ConwayDelegEnv era) Source #

SpecTranslate ctx (ConwayDelegPredFailure era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Deleg

Associated Types

type SpecRep (ConwayDelegPredFailure era) Source #

(EraPParams era, SpecTranslate ctx (PParamsHKD StrictMaybe era), SpecRep (PParamsHKD StrictMaybe era) ~ PParamsUpdate) ⇒ SpecTranslate ctx (EnactSignal era) Source # 
Instance details

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

Associated Types

type SpecRep (EnactSignal era) Source #

Methods

toSpecRepEnactSignal era → SpecTransM ctx (SpecRep (EnactSignal era)) Source #

(EraPParams era, ToExpr (PParamsHKD StrictMaybe era)) ⇒ SpecTranslate ctx (ConwayGovPredFailure era) Source # 
Instance details

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

Associated Types

type SpecRep (ConwayGovPredFailure era) Source #

(SpecTranslate ctx (PParamsHKD Identity era), Inject ctx (EnactState era), EraPParams era, SpecRep (PParamsHKD Identity era) ~ PParams, SpecTranslate ctx (CertState era), SpecRep (CertState era) ~ CertState) ⇒ SpecTranslate ctx (GovEnv era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Gov

Associated Types

type SpecRep (GovEnv era) Source #

Methods

toSpecRepGovEnv era → SpecTransM ctx (SpecRep (GovEnv era)) Source #

(EraPParams era, SpecTranslate ctx (PParamsHKD StrictMaybe era), SpecRep (PParamsHKD StrictMaybe era) ~ PParamsUpdate) ⇒ SpecTranslate ctx (GovSignal era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Gov

Associated Types

type SpecRep (GovSignal era) Source #

Methods

toSpecRepGovSignal era → SpecTransM ctx (SpecRep (GovSignal era)) Source #

(SpecTranslate ctx (PParamsHKD Identity era), SpecRep (PParamsHKD Identity era) ~ PParams, Inject ctx (VotingProcedures era), Inject ctx (Map RewardAccount Coin)) ⇒ SpecTranslate ctx (ConwayGovCertEnv era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.GovCert

Associated Types

type SpecRep (ConwayGovCertEnv era) Source #

SpecTranslate ctx (ConwayGovCertPredFailure era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.GovCert

Associated Types

type SpecRep (ConwayGovCertPredFailure era) Source #

(ToExpr (PredicateFailure (EraRule "GOV" era)), ToExpr (PredicateFailure (EraRule "CERTS" era)), ToExpr (PredicateFailure (EraRule "UTXOW" era))) ⇒ SpecTranslate ctx (ConwayLedgerPredFailure era) Source # 
Instance details

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

Associated Types

type SpecRep (ConwayLedgerPredFailure era) Source #

SpecTranslate ctx (ConwayNewEpochPredFailure era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Cert

Associated Types

type SpecRep (ConwayNewEpochPredFailure era) Source #

(ToExpr (Value era), ToExpr (TxOut era), ToExpr (PredicateFailure (EraRule "UTXOS" era))) ⇒ SpecTranslate ctx (ConwayUtxoPredFailure era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Utxo

Associated Types

type SpecRep (ConwayUtxoPredFailure era) Source #

(Era era, ToExpr (PlutusPurpose AsIx era), ToExpr (PlutusPurpose AsItem era), ToExpr (PredicateFailure (EraRule "UTXO" era)), ToExpr (TxCert era)) ⇒ SpecTranslate ctx (ConwayUtxowPredFailure era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Utxow

Associated Types

type SpecRep (ConwayUtxowPredFailure era) Source #

(ConwayEraTxBody era, TxBody era ~ ConwayTxBody era, SpecRep (TxOut era) ~ TxOut, SpecRep (ConwayTxCert era) ~ DCert, SpecRep (PParamsHKD StrictMaybe era) ~ PParamsUpdate, TxCert era ~ ConwayTxCert era, Share (TxOut era) ~ Interns (Credential 'Staking), Inject ctx Integer, Inject ctx TxId, SpecTranslate ctx (TxOut era), SpecTranslate ctx (ConwayTxCert era), SpecTranslate ctx (PParamsHKD StrictMaybe era)) ⇒ SpecTranslate ctx (ConwayTxBody era) Source # 
Instance details

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

Associated Types

type SpecRep (ConwayTxBody era) Source #

Era era ⇒ SpecTranslate ctx (ConwayTxCert era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Cert

Associated Types

type SpecRep (ConwayTxCert era) Source #

SpecTranslate ctx (CertState era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Cert

Associated Types

type SpecRep (CertState era) Source #

Methods

toSpecRepCertState era → SpecTransM ctx (SpecRep (CertState era)) Source #

SpecTranslate ctx (CommitteeState era) Source # 
Instance details

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

Associated Types

type SpecRep (CommitteeState era) Source #

SpecTranslate ctx (DState era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Deleg

Associated Types

type SpecRep (DState era) Source #

Methods

toSpecRepDState era → SpecTransM ctx (SpecRep (DState era)) Source #

SpecTranslate ctx (PState era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Pool

Associated Types

type SpecRep (PState era) Source #

Methods

toSpecRepPState era → SpecTransM ctx (SpecRep (PState era)) Source #

SpecTranslate ctx (VState era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.GovCert

Associated Types

type SpecRep (VState era) Source #

Methods

toSpecRepVState era → SpecTransM ctx (SpecRep (VState era)) Source #

(SpecTranslate ctx a, Compactible a) ⇒ SpecTranslate ctx (CompactForm a) Source # 
Instance details

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

Associated Types

type SpecRep (CompactForm a) Source #

SpecTranslate ctx (PParamsHKD Identity era) ⇒ SpecTranslate ctx (PParams era) Source # 
Instance details

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

Associated Types

type SpecRep (PParams era) Source #

Methods

toSpecRepPParams era → SpecTransM ctx (SpecRep (PParams era)) Source #

SpecTranslate ctx (PParamsHKD StrictMaybe era) ⇒ SpecTranslate ctx (PParamsUpdate era) Source # 
Instance details

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

Associated Types

type SpecRep (PParamsUpdate era) Source #

SpecTranslate ctx (Credential k) Source # 
Instance details

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

Associated Types

type SpecRep (Credential k) Source #

SpecTranslate ctx (KeyHash r) Source # 
Instance details

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

Associated Types

type SpecRep (KeyHash r) Source #

Methods

toSpecRepKeyHash r → SpecTransM ctx (SpecRep (KeyHash r)) Source #

SpecTranslate ctx (SafeHash a) Source # 
Instance details

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

Associated Types

type SpecRep (SafeHash a) Source #

Methods

toSpecRepSafeHash a → SpecTransM ctx (SpecRep (SafeHash a)) Source #

SpecTranslate ctx (VKey k) Source # 
Instance details

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

Associated Types

type SpecRep (VKey k) Source #

Methods

toSpecRepVKey k → SpecTransM ctx (SpecRep (VKey k)) Source #

Typeable k ⇒ SpecTranslate ctx (WitVKey k) Source # 
Instance details

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

Associated Types

type SpecRep (WitVKey k) Source #

Methods

toSpecRepWitVKey k → SpecTransM ctx (SpecRep (WitVKey k)) Source #

(SpecRep DataHash ~ DataHash, Era era) ⇒ SpecTranslate ctx (BinaryData era) Source # 
Instance details

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

Associated Types

type SpecRep (BinaryData era) Source #

Methods

toSpecRepBinaryData era → SpecTransM ctx (SpecRep (BinaryData era)) Source #

Era era ⇒ SpecTranslate ctx (Data era) Source # 
Instance details

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

Associated Types

type SpecRep (Data era) Source #

Methods

toSpecRepData era → SpecTransM ctx (SpecRep (Data era)) Source #

Era era ⇒ SpecTranslate ctx (Datum era) Source # 
Instance details

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

Associated Types

type SpecRep (Datum era) Source #

Methods

toSpecRepDatum era → SpecTransM ctx (SpecRep (Datum era)) Source #

(SpecTranslate ctx (TxOut era), SpecRep (TxOut era) ~ TxOut) ⇒ SpecTranslate ctx (UTxO era) Source # 
Instance details

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

Associated Types

type SpecRep (UTxO era) Source #

Methods

toSpecRepUTxO era → SpecTransM ctx (SpecRep (UTxO era)) Source #

(EraPParams era, ConwayEraGov era, SpecTranslate ctx (PParamsHKD Identity era), SpecRep (PParamsHKD Identity era) ~ PParams, SpecTranslate ctx (PParamsHKD StrictMaybe era), SpecRep (PParamsHKD StrictMaybe era) ~ PParamsUpdate, Inject ctx [GovActionState era], ToExpr (PParamsHKD StrictMaybe era), SpecRep (TxOut era) ~ TxOut, GovState era ~ ConwayGovState era, SpecTranslate (CertState era) (TxOut era)) ⇒ SpecTranslate ctx (EpochState era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Cert

Associated Types

type SpecRep (EpochState era) Source #

Methods

toSpecRepEpochState era → SpecTransM ctx (SpecRep (EpochState era)) Source #

(ConwayEraGov era, SpecRep (PParamsHKD Identity era) ~ PParams, SpecTranslate ctx (PParamsHKD StrictMaybe era), SpecRep (PParamsHKD StrictMaybe era) ~ PParamsUpdate, SpecRep (TxOut era) ~ TxOut, GovState era ~ ConwayGovState era, SpecTranslate (CertState era) (TxOut era)) ⇒ SpecTranslate ctx (LedgerState era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Cert

Associated Types

type SpecRep (LedgerState era) Source #

Methods

toSpecRepLedgerState era → SpecTransM ctx (SpecRep (LedgerState era)) Source #

(EraPParams era, ConwayEraGov era, SpecTranslate ctx (PParamsHKD Identity era), SpecRep (PParamsHKD Identity era) ~ PParams, SpecTranslate ctx (PParamsHKD StrictMaybe era), SpecRep (PParamsHKD StrictMaybe era) ~ PParamsUpdate, Inject ctx [GovActionState era], ToExpr (PParamsHKD StrictMaybe era), SpecRep (TxOut era) ~ TxOut, GovState era ~ ConwayGovState era, SpecTranslate (CertState era) (TxOut era)) ⇒ SpecTranslate ctx (NewEpochState era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Cert

Associated Types

type SpecRep (NewEpochState era) Source #

(SpecTranslate ctx (TxOut era), SpecRep (TxOut era) ~ TxOut, GovState era ~ ConwayGovState era, Inject ctx (CertState era)) ⇒ SpecTranslate ctx (UTxOState era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Cert

Associated Types

type SpecRep (UTxOState era) Source #

Methods

toSpecRepUTxOState era → SpecTransM ctx (SpecRep (UTxOState era)) Source #

(EraPParams era, SpecTranslate ctx (PParamsHKD Identity era), SpecRep (PParamsHKD Identity era) ~ PParams, Inject ctx (StrictMaybe ScriptHash), Inject ctx (EnactState era)) ⇒ SpecTranslate ctx (LedgerEnv era) Source # 
Instance details

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

Associated Types

type SpecRep (LedgerEnv era) Source #

Methods

toSpecRepLedgerEnv era → SpecTransM ctx (SpecRep (LedgerEnv era)) Source #

(EraPParams era, SpecTranslate ctx (PParamsHKD Identity era), Inject ctx (EnactState era), SpecRep (PParamsHKD Identity era) ~ PParams) ⇒ SpecTranslate ctx (ShelleyLedgersEnv era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Ledgers

Associated Types

type SpecRep (ShelleyLedgersEnv era) Source #

ToExpr (PredicateFailure (EraRule "LEDGER" era)) ⇒ SpecTranslate ctx (ShelleyLedgersPredFailure era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Ledgers

Associated Types

type SpecRep (ShelleyLedgersPredFailure era) Source #

(SpecRep (PParamsHKD Identity era) ~ PParams, SpecTranslate ctx (PParamsHKD Identity era)) ⇒ SpecTranslate ctx (PoolEnv era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Pool

Associated Types

type SpecRep (PoolEnv era) Source #

Methods

toSpecRepPoolEnv era → SpecTransM ctx (SpecRep (PoolEnv era)) Source #

SpecTranslate ctx (ShelleyPoolPredFailure era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Pool

Associated Types

type SpecRep (ShelleyPoolPredFailure era) Source #

(SpecRep (PParams era) ~ PParams, SpecTranslate ctx (PParamsHKD Identity era)) ⇒ SpecTranslate ctx (UtxoEnv era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Conway.Utxo

Associated Types

type SpecRep (UtxoEnv era) Source #

Methods

toSpecRepUtxoEnv era → SpecTransM ctx (SpecRep (UtxoEnv era)) Source #

SpecTranslate ctx (EpochExecEnv era) Source # 
Instance details

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

Associated Types

type SpecRep (EpochExecEnv era) Source #

SpecTranslate ctx a ⇒ SpecTranslate ctx (StrictMaybe a) Source # 
Instance details

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

Associated Types

type SpecRep (StrictMaybe a) Source #

SpecTranslate ctx a ⇒ SpecTranslate ctx (StrictSeq a) Source # 
Instance details

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

Associated Types

type SpecRep (StrictSeq a) Source #

SpecTranslate ctx a ⇒ SpecTranslate ctx (Seq a) Source # 
Instance details

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

Associated Types

type SpecRep (Seq a) Source #

Methods

toSpecRepSeq a → SpecTransM ctx (SpecRep (Seq a)) Source #

SpecTranslate ctx a ⇒ SpecTranslate ctx (Set a) Source # 
Instance details

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

Associated Types

type SpecRep (Set a) Source #

Methods

toSpecRepSet a → SpecTransM ctx (SpecRep (Set a)) Source #

SpecTranslate ctx a ⇒ SpecTranslate ctx (Maybe a) Source # 
Instance details

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

Associated Types

type SpecRep (Maybe a) Source #

Methods

toSpecRepMaybe a → SpecTransM ctx (SpecRep (Maybe a)) Source #

SpecTranslate ctx a ⇒ SpecTranslate ctx [a] Source # 
Instance details

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

Associated Types

type SpecRep [a] Source #

Methods

toSpecRep ∷ [a] → SpecTransM ctx (SpecRep [a]) Source #

DSIGNAlgorithm v ⇒ SpecTranslate ctx (SignedDSIGN v a) Source # 
Instance details

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

Associated Types

type SpecRep (SignedDSIGN v a) Source #

Methods

toSpecRepSignedDSIGN v a → SpecTransM ctx (SpecRep (SignedDSIGN v a)) Source #

SpecTranslate ctx (Hash a b) Source # 
Instance details

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

Associated Types

type SpecRep (Hash a b) Source #

Methods

toSpecRepHash a b → SpecTransM ctx (SpecRep (Hash a b)) Source #

(SpecTranslate ctx k, SpecTranslate ctx v, Ord k) ⇒ SpecTranslate ctx (OMap k v) Source # 
Instance details

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

Associated Types

type SpecRep (OMap k v) Source #

Methods

toSpecRepOMap k v → SpecTransM ctx (SpecRep (OMap k v)) Source #

SpecTranslate ctx (AlonzoPlutusPurpose AsIx era) Source # 
Instance details

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

Associated Types

type SpecRep (AlonzoPlutusPurpose AsIx era) Source #

SpecTranslate ctx (GovPurposeId r c) Source # 
Instance details

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

Associated Types

type SpecRep (GovPurposeId r c) Source #

SpecTranslate ctx (ConwayPParams Identity era) Source # 
Instance details

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

Associated Types

type SpecRep (ConwayPParams Identity era) Source #

SpecTranslate ctx (ConwayPParams StrictMaybe era) Source # 
Instance details

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

Associated Types

type SpecRep (ConwayPParams StrictMaybe era) Source #

SpecTranslate ctx (ConwayPlutusPurpose AsIx era) Source # 
Instance details

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

Associated Types

type SpecRep (ConwayPlutusPurpose AsIx era) Source #

(SpecTranslate ctx k, SpecTranslate ctx v) ⇒ SpecTranslate ctx (Map k v) Source # 
Instance details

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

Associated Types

type SpecRep (Map k v) Source #

Methods

toSpecRepMap k v → SpecTransM ctx (SpecRep (Map k v)) Source #

(SpecTranslate ctx a, SpecTranslate ctx b) ⇒ SpecTranslate ctx (a, b) Source # 
Instance details

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

Associated Types

type SpecRep (a, b) Source #

Methods

toSpecRep ∷ (a, b) → SpecTransM ctx (SpecRep (a, b)) Source #

SpecTranslate ctx (HKD f a) ⇒ SpecTranslate ctx (THKD r f a) Source # 
Instance details

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

Associated Types

type SpecRep (THKD r f a) Source #

Methods

toSpecRepTHKD r f a → SpecTransM ctx (SpecRep (THKD r f a)) Source #

data SpecTransM ctx a Source #

Instances

Instances details
MonadError SpecTranslationError (SpecTransM ctx) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Core

MonadReader ctx (SpecTransM ctx) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Core

Methods

askSpecTransM ctx ctx Source #

local ∷ (ctx → ctx) → SpecTransM ctx a → SpecTransM ctx a Source #

reader ∷ (ctx → a) → SpecTransM ctx a Source #

Applicative (SpecTransM ctx) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Core

Methods

pure ∷ a → SpecTransM ctx a Source #

(<*>)SpecTransM ctx (a → b) → SpecTransM ctx a → SpecTransM ctx b Source #

liftA2 ∷ (a → b → c) → SpecTransM ctx a → SpecTransM ctx b → SpecTransM ctx c Source #

(*>)SpecTransM ctx a → SpecTransM ctx b → SpecTransM ctx b Source #

(<*)SpecTransM ctx a → SpecTransM ctx b → SpecTransM ctx a Source #

Functor (SpecTransM ctx) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Core

Methods

fmap ∷ (a → b) → SpecTransM ctx a → SpecTransM ctx b Source #

(<$) ∷ a → SpecTransM ctx b → SpecTransM ctx a Source #

Monad (SpecTransM ctx) Source # 
Instance details

Defined in Test.Cardano.Ledger.Conformance.SpecTranslate.Core

Methods

(>>=)SpecTransM ctx a → (a → SpecTransM ctx b) → SpecTransM ctx b Source #

(>>)SpecTransM ctx a → SpecTransM ctx b → SpecTransM ctx b Source #

return ∷ a → SpecTransM ctx a Source #

askCtx ∷ ∀ b ctx. Inject ctx b ⇒ SpecTransM ctx b Source #

withCtx ∷ ctx → SpecTransM ctx a → SpecTransM ctx' a Source #

class (ForAllExecTypes (HasSpec fn) fn rule era, ForAllExecTypes ToExpr fn rule era, ForAllExecTypes NFData fn rule era, KnownSymbol rule, STS (EraRule rule era), BaseM (EraRule rule era) ~ ShelleyBase, SpecTranslate (ExecContext fn rule era) (PredicateFailure (EraRule rule era)), Inject (ExecEnvironment fn rule era) (Environment (EraRule rule era)), Inject (ExecState fn rule era) (State (EraRule rule era)), Inject (ExecSignal fn rule era) (Signal (EraRule rule era))) ⇒ ExecSpecRule fn (rule ∷ Symbol) era where Source #

Minimal complete definition

environmentSpec, stateSpec, signalSpec, runAgdaRule

Associated Types

type ExecContext fn rule era Source #

type ExecContext fn rule era = ()

type ExecEnvironment fn rule era Source #

type ExecEnvironment fn rule era = Environment (EraRule rule era)

type ExecState fn rule era Source #

type ExecState fn rule era = State (EraRule rule era)

type ExecSignal fn rule era Source #

type ExecSignal fn rule era = Signal (EraRule rule era)

Methods

environmentSpecHasCallStackExecContext fn rule era → Specification fn (ExecEnvironment fn rule era) Source #

stateSpecHasCallStackExecContext fn rule era → ExecEnvironment fn rule era → Specification fn (ExecState fn rule era) Source #

signalSpecHasCallStackExecContext fn rule era → ExecEnvironment fn rule era → ExecState fn rule era → Specification fn (ExecSignal fn rule era) Source #

classOfExecSignal fn rule era → Maybe String Source #

genExecContextHasCallStackGen (ExecContext fn rule era) Source #

default genExecContextArbitrary (ExecContext fn rule era) ⇒ Gen (ExecContext fn rule era) Source #

runAgdaRuleHasCallStackSpecRep (ExecEnvironment fn rule era) → SpecRep (ExecState fn rule era) → SpecRep (ExecSignal fn rule era) → Either OpaqueErrorString (SpecRep (ExecState fn rule era)) Source #

translateInputsHasCallStackExecEnvironment fn rule era → ExecState fn rule era → ExecSignal fn rule era → ExecContext fn rule era → ImpTestM era (SpecRep (ExecEnvironment fn rule era), SpecRep (ExecState fn rule era), SpecRep (ExecSignal fn rule era)) Source #

default translateInputs ∷ (ForAllExecTypes (SpecTranslate (ExecContext fn rule era)) fn rule era, ForAllExecSpecRep ToExpr fn rule era) ⇒ ExecEnvironment fn rule era → ExecState fn rule era → ExecSignal fn rule era → ExecContext fn rule era → ImpTestM era (SpecRep (ExecEnvironment fn rule era), SpecRep (ExecState fn rule era), SpecRep (ExecSignal fn rule era)) Source #

testConformance ∷ (ShelleyEraImp era, SpecTranslate (ExecContext fn rule era) (State (EraRule rule era)), ForAllExecSpecRep NFData fn rule era, ForAllExecSpecRep ToExpr fn rule era, NFData (SpecRep (PredicateFailure (EraRule rule era))), ToExpr (SpecRep (PredicateFailure (EraRule rule era))), Eq (SpecRep (PredicateFailure (EraRule rule era))), Eq (SpecRep (ExecState fn rule era)), Inject (State (EraRule rule era)) (ExecState fn rule era), SpecTranslate (ExecContext fn rule era) (ExecState fn rule era), FixupSpecRep (SpecRep (PredicateFailure (EraRule rule era))), FixupSpecRep (SpecRep (ExecState fn rule era)), Inject (ExecEnvironment fn rule era) (Environment (EraRule rule era)), Inject (ExecState fn rule era) (State (EraRule rule era)), Inject (ExecSignal fn rule era) (Signal (EraRule rule era)), EncCBOR (ExecContext fn rule era), EncCBOR (Environment (EraRule rule era)), EncCBOR (State (EraRule rule era)), EncCBOR (Signal (EraRule rule era)), ToExpr (ExecContext fn rule era), ToExpr (PredicateFailure (EraRule rule era)), NFData (PredicateFailure (EraRule rule era)), HasCallStack) ⇒ ExecContext fn rule era → ExecEnvironment fn rule era → ExecState fn rule era → ExecSignal fn rule era → Property Source #

extraInfoHasCallStackGlobalsExecContext fn rule era → Environment (EraRule rule era) → State (EraRule rule era) → Signal (EraRule rule era) → Either OpaqueErrorString (State (EraRule rule era), [Event (EraRule rule era)]) → Doc AnsiStyle Source #

Instances

Instances details
IsConwayUniv fn ⇒ ExecSpecRule fn "CERT" ConwayEra Source # 
Instance details

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

Associated Types

type ExecContext fn "CERT" ConwayEra Source #

type ExecEnvironment fn "CERT" ConwayEra Source #

type ExecState fn "CERT" ConwayEra Source #

type ExecSignal fn "CERT" ConwayEra Source #

Methods

environmentSpecExecContext fn "CERT" ConwayEraSpecification fn (ExecEnvironment fn "CERT" ConwayEra) Source #

stateSpecExecContext fn "CERT" ConwayEraExecEnvironment fn "CERT" ConwayEraSpecification fn (ExecState fn "CERT" ConwayEra) Source #

signalSpecExecContext fn "CERT" ConwayEraExecEnvironment fn "CERT" ConwayEraExecState fn "CERT" ConwayEraSpecification fn (ExecSignal fn "CERT" ConwayEra) Source #

classOfExecSignal fn "CERT" ConwayEraMaybe String Source #

genExecContextGen (ExecContext fn "CERT" ConwayEra) Source #

runAgdaRuleSpecRep (ExecEnvironment fn "CERT" ConwayEra) → SpecRep (ExecState fn "CERT" ConwayEra) → SpecRep (ExecSignal fn "CERT" ConwayEra) → Either OpaqueErrorString (SpecRep (ExecState fn "CERT" ConwayEra)) Source #

translateInputsExecEnvironment fn "CERT" ConwayEraExecState fn "CERT" ConwayEraExecSignal fn "CERT" ConwayEraExecContext fn "CERT" ConwayEraImpTestM ConwayEra (SpecRep (ExecEnvironment fn "CERT" ConwayEra), SpecRep (ExecState fn "CERT" ConwayEra), SpecRep (ExecSignal fn "CERT" ConwayEra)) Source #

testConformanceExecContext fn "CERT" ConwayEraExecEnvironment fn "CERT" ConwayEraExecState fn "CERT" ConwayEraExecSignal fn "CERT" ConwayEraProperty Source #

extraInfoGlobalsExecContext fn "CERT" ConwayEraEnvironment (EraRule "CERT" ConwayEra) → State (EraRule "CERT" ConwayEra) → Signal (EraRule "CERT" ConwayEra) → Either OpaqueErrorString (State (EraRule "CERT" ConwayEra), [Event (EraRule "CERT" ConwayEra)]) → Doc AnsiStyle Source #

IsConwayUniv fn ⇒ ExecSpecRule fn "CERTS" ConwayEra Source # 
Instance details

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

Associated Types

type ExecContext fn "CERTS" ConwayEra Source #

type ExecEnvironment fn "CERTS" ConwayEra Source #

type ExecState fn "CERTS" ConwayEra Source #

type ExecSignal fn "CERTS" ConwayEra Source #

Methods

environmentSpecExecContext fn "CERTS" ConwayEraSpecification fn (ExecEnvironment fn "CERTS" ConwayEra) Source #

stateSpecExecContext fn "CERTS" ConwayEraExecEnvironment fn "CERTS" ConwayEraSpecification fn (ExecState fn "CERTS" ConwayEra) Source #

signalSpecExecContext fn "CERTS" ConwayEraExecEnvironment fn "CERTS" ConwayEraExecState fn "CERTS" ConwayEraSpecification fn (ExecSignal fn "CERTS" ConwayEra) Source #

classOfExecSignal fn "CERTS" ConwayEraMaybe String Source #

genExecContextGen (ExecContext fn "CERTS" ConwayEra) Source #

runAgdaRuleSpecRep (ExecEnvironment fn "CERTS" ConwayEra) → SpecRep (ExecState fn "CERTS" ConwayEra) → SpecRep (ExecSignal fn "CERTS" ConwayEra) → Either OpaqueErrorString (SpecRep (ExecState fn "CERTS" ConwayEra)) Source #

translateInputsExecEnvironment fn "CERTS" ConwayEraExecState fn "CERTS" ConwayEraExecSignal fn "CERTS" ConwayEraExecContext fn "CERTS" ConwayEraImpTestM ConwayEra (SpecRep (ExecEnvironment fn "CERTS" ConwayEra), SpecRep (ExecState fn "CERTS" ConwayEra), SpecRep (ExecSignal fn "CERTS" ConwayEra)) Source #

testConformanceExecContext fn "CERTS" ConwayEraExecEnvironment fn "CERTS" ConwayEraExecState fn "CERTS" ConwayEraExecSignal fn "CERTS" ConwayEraProperty Source #

extraInfoGlobalsExecContext fn "CERTS" ConwayEraEnvironment (EraRule "CERTS" ConwayEra) → State (EraRule "CERTS" ConwayEra) → Signal (EraRule "CERTS" ConwayEra) → Either OpaqueErrorString (State (EraRule "CERTS" ConwayEra), [Event (EraRule "CERTS" ConwayEra)]) → Doc AnsiStyle Source #

IsConwayUniv fn ⇒ ExecSpecRule fn "DELEG" ConwayEra Source # 
Instance details

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

Associated Types

type ExecContext fn "DELEG" ConwayEra Source #

type ExecEnvironment fn "DELEG" ConwayEra Source #

type ExecState fn "DELEG" ConwayEra Source #

type ExecSignal fn "DELEG" ConwayEra Source #

Methods

environmentSpecExecContext fn "DELEG" ConwayEraSpecification fn (ExecEnvironment fn "DELEG" ConwayEra) Source #

stateSpecExecContext fn "DELEG" ConwayEraExecEnvironment fn "DELEG" ConwayEraSpecification fn (ExecState fn "DELEG" ConwayEra) Source #

signalSpecExecContext fn "DELEG" ConwayEraExecEnvironment fn "DELEG" ConwayEraExecState fn "DELEG" ConwayEraSpecification fn (ExecSignal fn "DELEG" ConwayEra) Source #

classOfExecSignal fn "DELEG" ConwayEraMaybe String Source #

genExecContextGen (ExecContext fn "DELEG" ConwayEra) Source #

runAgdaRuleSpecRep (ExecEnvironment fn "DELEG" ConwayEra) → SpecRep (ExecState fn "DELEG" ConwayEra) → SpecRep (ExecSignal fn "DELEG" ConwayEra) → Either OpaqueErrorString (SpecRep (ExecState fn "DELEG" ConwayEra)) Source #

translateInputsExecEnvironment fn "DELEG" ConwayEraExecState fn "DELEG" ConwayEraExecSignal fn "DELEG" ConwayEraExecContext fn "DELEG" ConwayEraImpTestM ConwayEra (SpecRep (ExecEnvironment fn "DELEG" ConwayEra), SpecRep (ExecState fn "DELEG" ConwayEra), SpecRep (ExecSignal fn "DELEG" ConwayEra)) Source #

testConformanceExecContext fn "DELEG" ConwayEraExecEnvironment fn "DELEG" ConwayEraExecState fn "DELEG" ConwayEraExecSignal fn "DELEG" ConwayEraProperty Source #

extraInfoGlobalsExecContext fn "DELEG" ConwayEraEnvironment (EraRule "DELEG" ConwayEra) → State (EraRule "DELEG" ConwayEra) → Signal (EraRule "DELEG" ConwayEra) → Either OpaqueErrorString (State (EraRule "DELEG" ConwayEra), [Event (EraRule "DELEG" ConwayEra)]) → Doc AnsiStyle Source #

IsConwayUniv fn ⇒ ExecSpecRule fn "ENACT" ConwayEra Source # 
Instance details

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

Associated Types

type ExecContext fn "ENACT" ConwayEra Source #

type ExecEnvironment fn "ENACT" ConwayEra Source #

type ExecState fn "ENACT" ConwayEra Source #

type ExecSignal fn "ENACT" ConwayEra Source #

Methods

environmentSpecExecContext fn "ENACT" ConwayEraSpecification fn (ExecEnvironment fn "ENACT" ConwayEra) Source #

stateSpecExecContext fn "ENACT" ConwayEraExecEnvironment fn "ENACT" ConwayEraSpecification fn (ExecState fn "ENACT" ConwayEra) Source #

signalSpecExecContext fn "ENACT" ConwayEraExecEnvironment fn "ENACT" ConwayEraExecState fn "ENACT" ConwayEraSpecification fn (ExecSignal fn "ENACT" ConwayEra) Source #

classOfExecSignal fn "ENACT" ConwayEraMaybe String Source #

genExecContextGen (ExecContext fn "ENACT" ConwayEra) Source #

runAgdaRuleSpecRep (ExecEnvironment fn "ENACT" ConwayEra) → SpecRep (ExecState fn "ENACT" ConwayEra) → SpecRep (ExecSignal fn "ENACT" ConwayEra) → Either OpaqueErrorString (SpecRep (ExecState fn "ENACT" ConwayEra)) Source #

translateInputsExecEnvironment fn "ENACT" ConwayEraExecState fn "ENACT" ConwayEraExecSignal fn "ENACT" ConwayEraExecContext fn "ENACT" ConwayEraImpTestM ConwayEra (SpecRep (ExecEnvironment fn "ENACT" ConwayEra), SpecRep (ExecState fn "ENACT" ConwayEra), SpecRep (ExecSignal fn "ENACT" ConwayEra)) Source #

testConformanceExecContext fn "ENACT" ConwayEraExecEnvironment fn "ENACT" ConwayEraExecState fn "ENACT" ConwayEraExecSignal fn "ENACT" ConwayEraProperty Source #

extraInfoGlobalsExecContext fn "ENACT" ConwayEraEnvironment (EraRule "ENACT" ConwayEra) → State (EraRule "ENACT" ConwayEra) → Signal (EraRule "ENACT" ConwayEra) → Either OpaqueErrorString (State (EraRule "ENACT" ConwayEra), [Event (EraRule "ENACT" ConwayEra)]) → Doc AnsiStyle Source #

fn ~ ConwayFnExecSpecRule fn "EPOCH" ConwayEra Source # 
Instance details

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

Associated Types

type ExecContext fn "EPOCH" ConwayEra Source #

type ExecEnvironment fn "EPOCH" ConwayEra Source #

type ExecState fn "EPOCH" ConwayEra Source #

type ExecSignal fn "EPOCH" ConwayEra Source #

Methods

environmentSpecExecContext fn "EPOCH" ConwayEraSpecification fn (ExecEnvironment fn "EPOCH" ConwayEra) Source #

stateSpecExecContext fn "EPOCH" ConwayEraExecEnvironment fn "EPOCH" ConwayEraSpecification fn (ExecState fn "EPOCH" ConwayEra) Source #

signalSpecExecContext fn "EPOCH" ConwayEraExecEnvironment fn "EPOCH" ConwayEraExecState fn "EPOCH" ConwayEraSpecification fn (ExecSignal fn "EPOCH" ConwayEra) Source #

classOfExecSignal fn "EPOCH" ConwayEraMaybe String Source #

genExecContextGen (ExecContext fn "EPOCH" ConwayEra) Source #

runAgdaRuleSpecRep (ExecEnvironment fn "EPOCH" ConwayEra) → SpecRep (ExecState fn "EPOCH" ConwayEra) → SpecRep (ExecSignal fn "EPOCH" ConwayEra) → Either OpaqueErrorString (SpecRep (ExecState fn "EPOCH" ConwayEra)) Source #

translateInputsExecEnvironment fn "EPOCH" ConwayEraExecState fn "EPOCH" ConwayEraExecSignal fn "EPOCH" ConwayEraExecContext fn "EPOCH" ConwayEraImpTestM ConwayEra (SpecRep (ExecEnvironment fn "EPOCH" ConwayEra), SpecRep (ExecState fn "EPOCH" ConwayEra), SpecRep (ExecSignal fn "EPOCH" ConwayEra)) Source #

testConformanceExecContext fn "EPOCH" ConwayEraExecEnvironment fn "EPOCH" ConwayEraExecState fn "EPOCH" ConwayEraExecSignal fn "EPOCH" ConwayEraProperty Source #

extraInfoGlobalsExecContext fn "EPOCH" ConwayEraEnvironment (EraRule "EPOCH" ConwayEra) → State (EraRule "EPOCH" ConwayEra) → Signal (EraRule "EPOCH" ConwayEra) → Either OpaqueErrorString (State (EraRule "EPOCH" ConwayEra), [Event (EraRule "EPOCH" ConwayEra)]) → Doc AnsiStyle Source #

(NFData (SpecRep (ConwayGovPredFailure ConwayEra)), IsConwayUniv fn) ⇒ ExecSpecRule fn "GOV" ConwayEra Source # 
Instance details

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

Associated Types

type ExecContext fn "GOV" ConwayEra Source #

type ExecEnvironment fn "GOV" ConwayEra Source #

type ExecState fn "GOV" ConwayEra Source #

type ExecSignal fn "GOV" ConwayEra Source #

Methods

environmentSpecExecContext fn "GOV" ConwayEraSpecification fn (ExecEnvironment fn "GOV" ConwayEra) Source #

stateSpecExecContext fn "GOV" ConwayEraExecEnvironment fn "GOV" ConwayEraSpecification fn (ExecState fn "GOV" ConwayEra) Source #

signalSpecExecContext fn "GOV" ConwayEraExecEnvironment fn "GOV" ConwayEraExecState fn "GOV" ConwayEraSpecification fn (ExecSignal fn "GOV" ConwayEra) Source #

classOfExecSignal fn "GOV" ConwayEraMaybe String Source #

genExecContextGen (ExecContext fn "GOV" ConwayEra) Source #

runAgdaRuleSpecRep (ExecEnvironment fn "GOV" ConwayEra) → SpecRep (ExecState fn "GOV" ConwayEra) → SpecRep (ExecSignal fn "GOV" ConwayEra) → Either OpaqueErrorString (SpecRep (ExecState fn "GOV" ConwayEra)) Source #

translateInputsExecEnvironment fn "GOV" ConwayEraExecState fn "GOV" ConwayEraExecSignal fn "GOV" ConwayEraExecContext fn "GOV" ConwayEraImpTestM ConwayEra (SpecRep (ExecEnvironment fn "GOV" ConwayEra), SpecRep (ExecState fn "GOV" ConwayEra), SpecRep (ExecSignal fn "GOV" ConwayEra)) Source #

testConformanceExecContext fn "GOV" ConwayEraExecEnvironment fn "GOV" ConwayEraExecState fn "GOV" ConwayEraExecSignal fn "GOV" ConwayEraProperty Source #

extraInfoGlobalsExecContext fn "GOV" ConwayEraEnvironment (EraRule "GOV" ConwayEra) → State (EraRule "GOV" ConwayEra) → Signal (EraRule "GOV" ConwayEra) → Either OpaqueErrorString (State (EraRule "GOV" ConwayEra), [Event (EraRule "GOV" ConwayEra)]) → Doc AnsiStyle Source #

IsConwayUniv fn ⇒ ExecSpecRule fn "GOVCERT" ConwayEra Source # 
Instance details

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

Associated Types

type ExecContext fn "GOVCERT" ConwayEra Source #

type ExecEnvironment fn "GOVCERT" ConwayEra Source #

type ExecState fn "GOVCERT" ConwayEra Source #

type ExecSignal fn "GOVCERT" ConwayEra Source #

Methods

environmentSpecExecContext fn "GOVCERT" ConwayEraSpecification fn (ExecEnvironment fn "GOVCERT" ConwayEra) Source #

stateSpecExecContext fn "GOVCERT" ConwayEraExecEnvironment fn "GOVCERT" ConwayEraSpecification fn (ExecState fn "GOVCERT" ConwayEra) Source #

signalSpecExecContext fn "GOVCERT" ConwayEraExecEnvironment fn "GOVCERT" ConwayEraExecState fn "GOVCERT" ConwayEraSpecification fn (ExecSignal fn "GOVCERT" ConwayEra) Source #

classOfExecSignal fn "GOVCERT" ConwayEraMaybe String Source #

genExecContextGen (ExecContext fn "GOVCERT" ConwayEra) Source #

runAgdaRuleSpecRep (ExecEnvironment fn "GOVCERT" ConwayEra) → SpecRep (ExecState fn "GOVCERT" ConwayEra) → SpecRep (ExecSignal fn "GOVCERT" ConwayEra) → Either OpaqueErrorString (SpecRep (ExecState fn "GOVCERT" ConwayEra)) Source #

translateInputsExecEnvironment fn "GOVCERT" ConwayEraExecState fn "GOVCERT" ConwayEraExecSignal fn "GOVCERT" ConwayEraExecContext fn "GOVCERT" ConwayEraImpTestM ConwayEra (SpecRep (ExecEnvironment fn "GOVCERT" ConwayEra), SpecRep (ExecState fn "GOVCERT" ConwayEra), SpecRep (ExecSignal fn "GOVCERT" ConwayEra)) Source #

testConformanceExecContext fn "GOVCERT" ConwayEraExecEnvironment fn "GOVCERT" ConwayEraExecState fn "GOVCERT" ConwayEraExecSignal fn "GOVCERT" ConwayEraProperty Source #

extraInfoGlobalsExecContext fn "GOVCERT" ConwayEraEnvironment (EraRule "GOVCERT" ConwayEra) → State (EraRule "GOVCERT" ConwayEra) → Signal (EraRule "GOVCERT" ConwayEra) → Either OpaqueErrorString (State (EraRule "GOVCERT" ConwayEra), [Event (EraRule "GOVCERT" ConwayEra)]) → Doc AnsiStyle Source #

IsConwayUniv fn ⇒ ExecSpecRule fn "LEDGER" ConwayEra Source # 
Instance details

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

Associated Types

type ExecContext fn "LEDGER" ConwayEra Source #

type ExecEnvironment fn "LEDGER" ConwayEra Source #

type ExecState fn "LEDGER" ConwayEra Source #

type ExecSignal fn "LEDGER" ConwayEra Source #

Methods

environmentSpecExecContext fn "LEDGER" ConwayEraSpecification fn (ExecEnvironment fn "LEDGER" ConwayEra) Source #

stateSpecExecContext fn "LEDGER" ConwayEraExecEnvironment fn "LEDGER" ConwayEraSpecification fn (ExecState fn "LEDGER" ConwayEra) Source #

signalSpecExecContext fn "LEDGER" ConwayEraExecEnvironment fn "LEDGER" ConwayEraExecState fn "LEDGER" ConwayEraSpecification fn (ExecSignal fn "LEDGER" ConwayEra) Source #

classOfExecSignal fn "LEDGER" ConwayEraMaybe String Source #

genExecContextGen (ExecContext fn "LEDGER" ConwayEra) Source #

runAgdaRuleSpecRep (ExecEnvironment fn "LEDGER" ConwayEra) → SpecRep (ExecState fn "LEDGER" ConwayEra) → SpecRep (ExecSignal fn "LEDGER" ConwayEra) → Either OpaqueErrorString (SpecRep (ExecState fn "LEDGER" ConwayEra)) Source #

translateInputsExecEnvironment fn "LEDGER" ConwayEraExecState fn "LEDGER" ConwayEraExecSignal fn "LEDGER" ConwayEraExecContext fn "LEDGER" ConwayEraImpTestM ConwayEra (SpecRep (ExecEnvironment fn "LEDGER" ConwayEra), SpecRep (ExecState fn "LEDGER" ConwayEra), SpecRep (ExecSignal fn "LEDGER" ConwayEra)) Source #

testConformanceExecContext fn "LEDGER" ConwayEraExecEnvironment fn "LEDGER" ConwayEraExecState fn "LEDGER" ConwayEraExecSignal fn "LEDGER" ConwayEraProperty Source #

extraInfoGlobalsExecContext fn "LEDGER" ConwayEraEnvironment (EraRule "LEDGER" ConwayEra) → State (EraRule "LEDGER" ConwayEra) → Signal (EraRule "LEDGER" ConwayEra) → Either OpaqueErrorString (State (EraRule "LEDGER" ConwayEra), [Event (EraRule "LEDGER" ConwayEra)]) → Doc AnsiStyle Source #

IsConwayUniv fn ⇒ ExecSpecRule fn "LEDGERS" ConwayEra Source # 
Instance details

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

Associated Types

type ExecContext fn "LEDGERS" ConwayEra Source #

type ExecEnvironment fn "LEDGERS" ConwayEra Source #

type ExecState fn "LEDGERS" ConwayEra Source #

type ExecSignal fn "LEDGERS" ConwayEra Source #

Methods

environmentSpecExecContext fn "LEDGERS" ConwayEraSpecification fn (ExecEnvironment fn "LEDGERS" ConwayEra) Source #

stateSpecExecContext fn "LEDGERS" ConwayEraExecEnvironment fn "LEDGERS" ConwayEraSpecification fn (ExecState fn "LEDGERS" ConwayEra) Source #

signalSpecExecContext fn "LEDGERS" ConwayEraExecEnvironment fn "LEDGERS" ConwayEraExecState fn "LEDGERS" ConwayEraSpecification fn (ExecSignal fn "LEDGERS" ConwayEra) Source #

classOfExecSignal fn "LEDGERS" ConwayEraMaybe String Source #

genExecContextGen (ExecContext fn "LEDGERS" ConwayEra) Source #

runAgdaRuleSpecRep (ExecEnvironment fn "LEDGERS" ConwayEra) → SpecRep (ExecState fn "LEDGERS" ConwayEra) → SpecRep (ExecSignal fn "LEDGERS" ConwayEra) → Either OpaqueErrorString (SpecRep (ExecState fn "LEDGERS" ConwayEra)) Source #

translateInputsExecEnvironment fn "LEDGERS" ConwayEraExecState fn "LEDGERS" ConwayEraExecSignal fn "LEDGERS" ConwayEraExecContext fn "LEDGERS" ConwayEraImpTestM ConwayEra (SpecRep (ExecEnvironment fn "LEDGERS" ConwayEra), SpecRep (ExecState fn "LEDGERS" ConwayEra), SpecRep (ExecSignal fn "LEDGERS" ConwayEra)) Source #

testConformanceExecContext fn "LEDGERS" ConwayEraExecEnvironment fn "LEDGERS" ConwayEraExecState fn "LEDGERS" ConwayEraExecSignal fn "LEDGERS" ConwayEraProperty Source #

extraInfoGlobalsExecContext fn "LEDGERS" ConwayEraEnvironment (EraRule "LEDGERS" ConwayEra) → State (EraRule "LEDGERS" ConwayEra) → Signal (EraRule "LEDGERS" ConwayEra) → Either OpaqueErrorString (State (EraRule "LEDGERS" ConwayEra), [Event (EraRule "LEDGERS" ConwayEra)]) → Doc AnsiStyle Source #

fn ~ ConwayFnExecSpecRule fn "NEWEPOCH" ConwayEra Source # 
Instance details

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

Associated Types

type ExecContext fn "NEWEPOCH" ConwayEra Source #

type ExecEnvironment fn "NEWEPOCH" ConwayEra Source #

type ExecState fn "NEWEPOCH" ConwayEra Source #

type ExecSignal fn "NEWEPOCH" ConwayEra Source #

Methods

environmentSpecExecContext fn "NEWEPOCH" ConwayEraSpecification fn (ExecEnvironment fn "NEWEPOCH" ConwayEra) Source #

stateSpecExecContext fn "NEWEPOCH" ConwayEraExecEnvironment fn "NEWEPOCH" ConwayEraSpecification fn (ExecState fn "NEWEPOCH" ConwayEra) Source #

signalSpecExecContext fn "NEWEPOCH" ConwayEraExecEnvironment fn "NEWEPOCH" ConwayEraExecState fn "NEWEPOCH" ConwayEraSpecification fn (ExecSignal fn "NEWEPOCH" ConwayEra) Source #

classOfExecSignal fn "NEWEPOCH" ConwayEraMaybe String Source #

genExecContextGen (ExecContext fn "NEWEPOCH" ConwayEra) Source #

runAgdaRuleSpecRep (ExecEnvironment fn "NEWEPOCH" ConwayEra) → SpecRep (ExecState fn "NEWEPOCH" ConwayEra) → SpecRep (ExecSignal fn "NEWEPOCH" ConwayEra) → Either OpaqueErrorString (SpecRep (ExecState fn "NEWEPOCH" ConwayEra)) Source #

translateInputsExecEnvironment fn "NEWEPOCH" ConwayEraExecState fn "NEWEPOCH" ConwayEraExecSignal fn "NEWEPOCH" ConwayEraExecContext fn "NEWEPOCH" ConwayEraImpTestM ConwayEra (SpecRep (ExecEnvironment fn "NEWEPOCH" ConwayEra), SpecRep (ExecState fn "NEWEPOCH" ConwayEra), SpecRep (ExecSignal fn "NEWEPOCH" ConwayEra)) Source #

testConformanceExecContext fn "NEWEPOCH" ConwayEraExecEnvironment fn "NEWEPOCH" ConwayEraExecState fn "NEWEPOCH" ConwayEraExecSignal fn "NEWEPOCH" ConwayEraProperty Source #

extraInfoGlobalsExecContext fn "NEWEPOCH" ConwayEraEnvironment (EraRule "NEWEPOCH" ConwayEra) → State (EraRule "NEWEPOCH" ConwayEra) → Signal (EraRule "NEWEPOCH" ConwayEra) → Either OpaqueErrorString (State (EraRule "NEWEPOCH" ConwayEra), [Event (EraRule "NEWEPOCH" ConwayEra)]) → Doc AnsiStyle Source #

IsConwayUniv fn ⇒ ExecSpecRule fn "POOL" ConwayEra Source # 
Instance details

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

Associated Types

type ExecContext fn "POOL" ConwayEra Source #

type ExecEnvironment fn "POOL" ConwayEra Source #

type ExecState fn "POOL" ConwayEra Source #

type ExecSignal fn "POOL" ConwayEra Source #

Methods

environmentSpecExecContext fn "POOL" ConwayEraSpecification fn (ExecEnvironment fn "POOL" ConwayEra) Source #

stateSpecExecContext fn "POOL" ConwayEraExecEnvironment fn "POOL" ConwayEraSpecification fn (ExecState fn "POOL" ConwayEra) Source #

signalSpecExecContext fn "POOL" ConwayEraExecEnvironment fn "POOL" ConwayEraExecState fn "POOL" ConwayEraSpecification fn (ExecSignal fn "POOL" ConwayEra) Source #

classOfExecSignal fn "POOL" ConwayEraMaybe String Source #

genExecContextGen (ExecContext fn "POOL" ConwayEra) Source #

runAgdaRuleSpecRep (ExecEnvironment fn "POOL" ConwayEra) → SpecRep (ExecState fn "POOL" ConwayEra) → SpecRep (ExecSignal fn "POOL" ConwayEra) → Either OpaqueErrorString (SpecRep (ExecState fn "POOL" ConwayEra)) Source #

translateInputsExecEnvironment fn "POOL" ConwayEraExecState fn "POOL" ConwayEraExecSignal fn "POOL" ConwayEraExecContext fn "POOL" ConwayEraImpTestM ConwayEra (SpecRep (ExecEnvironment fn "POOL" ConwayEra), SpecRep (ExecState fn "POOL" ConwayEra), SpecRep (ExecSignal fn "POOL" ConwayEra)) Source #

testConformanceExecContext fn "POOL" ConwayEraExecEnvironment fn "POOL" ConwayEraExecState fn "POOL" ConwayEraExecSignal fn "POOL" ConwayEraProperty Source #

extraInfoGlobalsExecContext fn "POOL" ConwayEraEnvironment (EraRule "POOL" ConwayEra) → State (EraRule "POOL" ConwayEra) → Signal (EraRule "POOL" ConwayEra) → Either OpaqueErrorString (State (EraRule "POOL" ConwayEra), [Event (EraRule "POOL" ConwayEra)]) → Doc AnsiStyle Source #

IsConwayUniv fn ⇒ ExecSpecRule fn "RATIFY" ConwayEra Source # 
Instance details

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

Associated Types

type ExecContext fn "RATIFY" ConwayEra Source #

type ExecEnvironment fn "RATIFY" ConwayEra Source #

type ExecState fn "RATIFY" ConwayEra Source #

type ExecSignal fn "RATIFY" ConwayEra Source #

Methods

environmentSpecExecContext fn "RATIFY" ConwayEraSpecification fn (ExecEnvironment fn "RATIFY" ConwayEra) Source #

stateSpecExecContext fn "RATIFY" ConwayEraExecEnvironment fn "RATIFY" ConwayEraSpecification fn (ExecState fn "RATIFY" ConwayEra) Source #

signalSpecExecContext fn "RATIFY" ConwayEraExecEnvironment fn "RATIFY" ConwayEraExecState fn "RATIFY" ConwayEraSpecification fn (ExecSignal fn "RATIFY" ConwayEra) Source #

classOfExecSignal fn "RATIFY" ConwayEraMaybe String Source #

genExecContextGen (ExecContext fn "RATIFY" ConwayEra) Source #

runAgdaRuleSpecRep (ExecEnvironment fn "RATIFY" ConwayEra) → SpecRep (ExecState fn "RATIFY" ConwayEra) → SpecRep (ExecSignal fn "RATIFY" ConwayEra) → Either OpaqueErrorString (SpecRep (ExecState fn "RATIFY" ConwayEra)) Source #

translateInputsExecEnvironment fn "RATIFY" ConwayEraExecState fn "RATIFY" ConwayEraExecSignal fn "RATIFY" ConwayEraExecContext fn "RATIFY" ConwayEraImpTestM ConwayEra (SpecRep (ExecEnvironment fn "RATIFY" ConwayEra), SpecRep (ExecState fn "RATIFY" ConwayEra), SpecRep (ExecSignal fn "RATIFY" ConwayEra)) Source #

testConformanceExecContext fn "RATIFY" ConwayEraExecEnvironment fn "RATIFY" ConwayEraExecState fn "RATIFY" ConwayEraExecSignal fn "RATIFY" ConwayEraProperty Source #

extraInfoGlobalsExecContext fn "RATIFY" ConwayEraEnvironment (EraRule "RATIFY" ConwayEra) → State (EraRule "RATIFY" ConwayEra) → Signal (EraRule "RATIFY" ConwayEra) → Either OpaqueErrorString (State (EraRule "RATIFY" ConwayEra), [Event (EraRule "RATIFY" ConwayEra)]) → Doc AnsiStyle Source #

IsConwayUniv fn ⇒ ExecSpecRule fn "UTXO" ConwayEra Source # 
Instance details

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

Associated Types

type ExecContext fn "UTXO" ConwayEra Source #

type ExecEnvironment fn "UTXO" ConwayEra Source #

type ExecState fn "UTXO" ConwayEra Source #

type ExecSignal fn "UTXO" ConwayEra Source #

Methods

environmentSpecExecContext fn "UTXO" ConwayEraSpecification fn (ExecEnvironment fn "UTXO" ConwayEra) Source #

stateSpecExecContext fn "UTXO" ConwayEraExecEnvironment fn "UTXO" ConwayEraSpecification fn (ExecState fn "UTXO" ConwayEra) Source #

signalSpecExecContext fn "UTXO" ConwayEraExecEnvironment fn "UTXO" ConwayEraExecState fn "UTXO" ConwayEraSpecification fn (ExecSignal fn "UTXO" ConwayEra) Source #

classOfExecSignal fn "UTXO" ConwayEraMaybe String Source #

genExecContextGen (ExecContext fn "UTXO" ConwayEra) Source #

runAgdaRuleSpecRep (ExecEnvironment fn "UTXO" ConwayEra) → SpecRep (ExecState fn "UTXO" ConwayEra) → SpecRep (ExecSignal fn "UTXO" ConwayEra) → Either OpaqueErrorString (SpecRep (ExecState fn "UTXO" ConwayEra)) Source #

translateInputsExecEnvironment fn "UTXO" ConwayEraExecState fn "UTXO" ConwayEraExecSignal fn "UTXO" ConwayEraExecContext fn "UTXO" ConwayEraImpTestM ConwayEra (SpecRep (ExecEnvironment fn "UTXO" ConwayEra), SpecRep (ExecState fn "UTXO" ConwayEra), SpecRep (ExecSignal fn "UTXO" ConwayEra)) Source #

testConformanceExecContext fn "UTXO" ConwayEraExecEnvironment fn "UTXO" ConwayEraExecState fn "UTXO" ConwayEraExecSignal fn "UTXO" ConwayEraProperty Source #

extraInfoGlobalsExecContext fn "UTXO" ConwayEraEnvironment (EraRule "UTXO" ConwayEra) → State (EraRule "UTXO" ConwayEra) → Signal (EraRule "UTXO" ConwayEra) → Either OpaqueErrorString (State (EraRule "UTXO" ConwayEra), [Event (EraRule "UTXO" ConwayEra)]) → Doc AnsiStyle Source #

(IsConwayUniv fn, SpecTranslate ConwayTxBodyTransContext (ConwayTxCert ConwayEra)) ⇒ ExecSpecRule fn "UTXOW" ConwayEra Source # 
Instance details

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

Associated Types

type ExecContext fn "UTXOW" ConwayEra Source #

type ExecEnvironment fn "UTXOW" ConwayEra Source #

type ExecState fn "UTXOW" ConwayEra Source #

type ExecSignal fn "UTXOW" ConwayEra Source #

Methods

environmentSpecExecContext fn "UTXOW" ConwayEraSpecification fn (ExecEnvironment fn "UTXOW" ConwayEra) Source #

stateSpecExecContext fn "UTXOW" ConwayEraExecEnvironment fn "UTXOW" ConwayEraSpecification fn (ExecState fn "UTXOW" ConwayEra) Source #

signalSpecExecContext fn "UTXOW" ConwayEraExecEnvironment fn "UTXOW" ConwayEraExecState fn "UTXOW" ConwayEraSpecification fn (ExecSignal fn "UTXOW" ConwayEra) Source #

classOfExecSignal fn "UTXOW" ConwayEraMaybe String Source #

genExecContextGen (ExecContext fn "UTXOW" ConwayEra) Source #

runAgdaRuleSpecRep (ExecEnvironment fn "UTXOW" ConwayEra) → SpecRep (ExecState fn "UTXOW" ConwayEra) → SpecRep (ExecSignal fn "UTXOW" ConwayEra) → Either OpaqueErrorString (SpecRep (ExecState fn "UTXOW" ConwayEra)) Source #

translateInputsExecEnvironment fn "UTXOW" ConwayEraExecState fn "UTXOW" ConwayEraExecSignal fn "UTXOW" ConwayEraExecContext fn "UTXOW" ConwayEraImpTestM ConwayEra (SpecRep (ExecEnvironment fn "UTXOW" ConwayEra), SpecRep (ExecState fn "UTXOW" ConwayEra), SpecRep (ExecSignal fn "UTXOW" ConwayEra)) Source #

testConformanceExecContext fn "UTXOW" ConwayEraExecEnvironment fn "UTXOW" ConwayEraExecState fn "UTXOW" ConwayEraExecSignal fn "UTXOW" ConwayEraProperty Source #

extraInfoGlobalsExecContext fn "UTXOW" ConwayEraEnvironment (EraRule "UTXOW" ConwayEra) → State (EraRule "UTXOW" ConwayEra) → Signal (EraRule "UTXOW" ConwayEra) → Either OpaqueErrorString (State (EraRule "UTXOW" ConwayEra), [Event (EraRule "UTXOW" ConwayEra)]) → Doc AnsiStyle Source #

type ForAllExecSpecRep (c ∷ TypeConstraint) fn rule era = (c (SpecRep (ExecEnvironment fn rule era)), c (SpecRep (ExecState fn rule era)), c (SpecRep (ExecSignal fn rule era))) Source #

type ForAllExecTypes (c ∷ TypeConstraint) fn rule era = (c (ExecEnvironment fn rule era), c (ExecState fn rule era), c (ExecSignal fn rule era)) Source #

diffConformanceToExpr a ⇒ a → a → Doc AnsiStyle Source #

checkConformance ∷ ∀ rule era fn. (Era era, ToExpr (SpecRep (ExecState fn rule era)), Eq (SpecRep (ExecState fn rule era)), EncCBOR (ExecContext fn rule era), EncCBOR (Environment (EraRule rule era)), EncCBOR (State (EraRule rule era)), EncCBOR (Signal (EraRule rule era)), HasCallStack) ⇒ ExecContext fn rule era → Environment (EraRule rule era) → State (EraRule rule era) → Signal (EraRule rule era) → Either OpaqueErrorString (SpecRep (ExecState fn rule era)) → Either OpaqueErrorString (SpecRep (ExecState fn rule era)) → ImpTestM era () Source #

defaultTestConformance ∷ ∀ fn era rule. (HasCallStack, ShelleyEraImp era, ExecSpecRule fn rule era, ForAllExecSpecRep NFData fn rule era, ForAllExecSpecRep ToExpr fn rule era, NFData (PredicateFailure (EraRule rule era)), Eq (SpecRep (ExecState fn rule era)), Inject (State (EraRule rule era)) (ExecState fn rule era), SpecTranslate (ExecContext fn rule era) (ExecState fn rule era), FixupSpecRep (SpecRep (ExecState fn rule era)), EncCBOR (ExecContext fn rule era), EncCBOR (Environment (EraRule rule era)), EncCBOR (State (EraRule rule era)), EncCBOR (Signal (EraRule rule era)), ToExpr (ExecContext fn rule era), ToExpr (PredicateFailure (EraRule rule era))) ⇒ ExecContext fn rule era → ExecEnvironment fn rule era → ExecState fn rule era → ExecSignal fn rule era → Property Source #

runConformance ∷ ∀ (rule ∷ Symbol) (fn ∷ [Type] → TypeType) era. (ExecSpecRule fn rule era, ForAllExecSpecRep NFData fn rule era, ForAllExecSpecRep ToExpr fn rule era, FixupSpecRep (SpecRep (ExecState fn rule era)), Inject (State (EraRule rule era)) (ExecState fn rule era), SpecTranslate (ExecContext fn rule era) (ExecState fn rule era), ToExpr (ExecContext fn rule era), HasCallStack, NFData (PredicateFailure (EraRule rule era))) ⇒ ExecContext fn rule era → ExecEnvironment fn rule era → ExecState fn rule era → ExecSignal fn rule era → ImpTestM era (Either (NonEmpty (PredicateFailure (EraRule rule era))) (SpecRep (ExecState fn rule era)), Either OpaqueErrorString (SpecRep (ExecState fn rule era)), Either (NonEmpty (PredicateFailure (EraRule rule era))) (State (EraRule rule era), [Event (EraRule rule era)])) Source #

conformsToImpl ∷ ∀ (rule ∷ Symbol) fn era. (ShelleyEraImp era, ExecSpecRule fn rule era, ForAllExecSpecRep NFData fn rule era, ForAllExecSpecRep ToExpr fn rule era, NFData (SpecRep (PredicateFailure (EraRule rule era))), NFData (ExecContext fn rule era), ToExpr (SpecRep (PredicateFailure (EraRule rule era))), ToExpr (ExecContext fn rule era), SpecTranslate (ExecContext fn rule era) (State (EraRule rule era)), Eq (SpecRep (PredicateFailure (EraRule rule era))), Inject (State (EraRule rule era)) (ExecState fn rule era), Eq (SpecRep (ExecState fn rule era)), SpecTranslate (ExecContext fn rule era) (ExecState fn rule era), FixupSpecRep (SpecRep (PredicateFailure (EraRule rule era))), FixupSpecRep (SpecRep (ExecState fn rule era)), EncCBOR (ExecContext fn rule era), EncCBOR (Environment (EraRule rule era)), EncCBOR (State (EraRule rule era)), EncCBOR (Signal (EraRule rule era)), HasCallStack, NFData (PredicateFailure (EraRule rule era)), ToExpr (PredicateFailure (EraRule rule era))) ⇒ Property Source #

generatesWithin ∷ ∀ a. (NFData a, ToExpr a, Typeable a, HasCallStack) ⇒ Gen a → IntSpec Source #

inputsGenerateWithin ∷ ∀ (fn ∷ [Type] → TypeType) (rule ∷ Symbol) era. ExecSpecRule fn rule era ⇒ IntSpec Source #

translateWithContextSpecTranslate ctx a ⇒ ctx → a → ImpTestM era (SpecRep a) Source #

Translate a Haskell type a whose translation context is ctx into its Agda type, in the ImpTest monad.

integerToHash ∷ ∀ h a. HashAlgorithm h ⇒ IntegerMaybe (Hash h a) Source #