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

Test.Cardano.Ledger.Constrained.Conway.Certs

Description

Specs necessary to generate, environment, state, and signal for the CERTS rule

Synopsis

Documentation

projectEnvCertsEnv ConwayCertEnv Conway Source #

Project a CertEnv out of a CertsEnv (i.e drop the Tx)

listSeqPairSpecIsConwayUniv fn ⇒ CertsEnv ConwayCertState ConwaySpecification fn ([ConwayTxCert Conway], Seq (ConwayTxCert Conway)) Source #

Specify a pair of List and Seq, where they have essentially the same elements EXCEPT, the Seq has duplicate keys filtered out.

data CertKey c Source #

Used to aggregate the key used in registering a Certificate. Different certificates use different kinds of Keys, that allows us to use one type to represent all kinds of keys (Similar to DepositPurpose)

Instances

Instances details
Show (CertKey c) Source # 
Instance details

Defined in Test.Cardano.Ledger.Constrained.Conway.Certs

Methods

showsPrecIntCertKey c → ShowS Source #

showCertKey c → String Source #

showList ∷ [CertKey c] → ShowS Source #

Eq (CertKey c) Source # 
Instance details

Defined in Test.Cardano.Ledger.Constrained.Conway.Certs

Methods

(==)CertKey c → CertKey c → Bool Source #

(/=)CertKey c → CertKey c → Bool Source #

Ord (CertKey c) Source # 
Instance details

Defined in Test.Cardano.Ledger.Constrained.Conway.Certs

Methods

compareCertKey c → CertKey c → Ordering Source #

(<)CertKey c → CertKey c → Bool Source #

(<=)CertKey c → CertKey c → Bool Source #

(>)CertKey c → CertKey c → Bool Source #

(>=)CertKey c → CertKey c → Bool Source #

maxCertKey c → CertKey c → CertKey c Source #

minCertKey c → CertKey c → CertKey c Source #