cardano-ledger-alonzo-1.19.0.0: Cardano ledger introducing Plutus Core
Safe HaskellNone
LanguageHaskell2010

Test.Cardano.Ledger.Alonzo.Era

Synopsis

Documentation

mkTestLedgerTxInfo ∷ (EraUTxO era, EraPlutusContext era, ScriptsNeeded era ~ AlonzoScriptsNeeded era) ⇒ ProtVer → EpochInfo (Either Text) → SystemStart → UTxO era → Tx 'TopTx era → LedgerLevelTxInfo 'TopTx era → LedgerTxInfo 'TopTx era Source #

This is a construction of LedgerTxInfo without any memoization.

mkTestLedgerTxInfoWithScripts ∷ ∀ era (level ∷ TxLevel). (EraUTxO era, EraPlutusContext era, ScriptsNeeded era ~ AlonzoScriptsNeeded era) ⇒ ProtVer → EpochInfo (Either Text) → SystemStart → UTxO era → ScriptsProvided era → Tx level era → LedgerLevelTxInfo level era → LedgerTxInfo level era Source #

Like mkTestLedgerTxInfo, but for a transaction of either level, which can use the supplied scripts. For a sub-transaction these are the scripts provided by the whole batch.

Orphan instances