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

Test.Cardano.Ledger.Generic.ApplyTx

Synopsis

Documentation

pparamsEraPParams era ⇒ Proof era → PParams era Source #

applyTxReflect era ⇒ Proof era → IntSlotNoModel era → Tx era → Model era Source #

epochBoundary ∷ ∀ era. Proof era → EpochNoEpochNoModel era → Model era Source #

applyTxSimpleReflect era ⇒ Proof era → IntModel era → TxField era → Model era Source #

applyTxBodyReflect era ⇒ Proof era → IntModel era → TxBody era → Model era Source #

applyFieldReflect era ⇒ Proof era → IntModel era → TxBodyField era → Model era Source #

applyWithdrawalsProof era → Model era → RewardAccount (EraCrypto era) → CoinModel era Source #

applyCert ∷ ∀ era. Reflect era ⇒ Model era → TxCert era → Model era Source #

applyShelleyCert ∷ ∀ era. EraPParams era ⇒ Model era → ShelleyTxCert era → Model era Source #

data CollInfo era Source #

Constructors

CollInfo 

Fields

collInfo ∷ (Reflect era, HasCallStack) ⇒ IntTxIxModel era → CollInfo era → TxBodyField era → CollInfo era Source #

Collect information about how to process Collateral, in a second phase failure.

updateInfoCollInfo era → Model era → Model era Source #

applyTxFailReflect era ⇒ Proof era → IntTxIxModel era → TxField era → Model era Source #

goIO () Source #

This is a template of how we might create unit tests that run both the real STS rules and the model to see that they agree. collateralOutputTx and initUTxO are from the BabbageFeatures.hs unit test file.

applyRUpd ∷ ∀ era. RewardUpdateOld (EraCrypto era) → Model era → Model era Source #

notValidatingTx ∷ (Scriptic era, EraTx era, GoodCrypto (EraCrypto era)) ⇒ Proof era → Tx era Source #