File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
ouroboros-consensus/test/consensus-test/Test/Consensus Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -327,6 +327,7 @@ testLedgerConfig = SimpleLedgerConfig {
327327
328328data TestSetup = TestSetup
329329 { testLedgerState :: LedgerState TestBlock
330+ -- ^ The ledger state /before/ the txs in the mempool.
330331 , testInitialTxs :: [TestTx ]
331332 -- ^ These are all valid and will be the initial contents of the Mempool.
332333 , testMempoolMultOverride :: Maybe MempoolMultiplicityOverride
@@ -650,6 +651,9 @@ instance Arbitrary TestSetupWithTxInMempool where
650651 , tx' <- testInitialTxs testSetup'
651652 ]
652653
654+ -- | A 'TestSetup' along with a subset of the transactions in the initial mempool
655+ --
656+ -- The subset is represented by a list with the same order as the mempool.
653657data TestSetupWithTxsInMempool = TestSetupWithTxsInMempool TestSetup [TestTx ]
654658 deriving (Show )
655659
You can’t perform that action at this time.
0 commit comments