Reconstruct a DELEG trace from all the transaction certificates in a Block
Modulecardano-ledger-shelley-test-1.9.0.0Haskell2010
Test.Cardano.Ledger.Shelley.Rules.TestChain
- 1 type
- 11 values
- Packagecardano-ledger-shelley-test-1.9.0.0
- Exports12
- LanguageHaskell2010
- LicenceApache-2.0
- SourceTestChain.hs
Reconstruct a LEDGER trace from the transactions in a Block and ChainState
This function is nearly the same as ledgerTraceFromBlock, but it restricts the UTxO state to only those needed by the block. It also returns the unused UTxO for comparison later.
Transform the [(source, signal, target)] of a CHAIN Trace by manually applying the Chain TICK Rule to each source and producing [(source, signal, target')].
This allows for testing properties on Chain traces while excluding the effects of Transactions and Certificates. For example we can check that pools that are due for retirement at an epoch transition, are indeed retired.
Had we not excluded the effects of Transactions/Certificates, we might have a pool that was correctly retired, but is again registered by a certificate in the block following the transition.
Reconstruct a POOL trace from the transactions in a Block and ChainState
Test a property on the first subtracecount sub-Traces that end on an EpochBoundary
Properties on really short chains, with only 100 successes