Skip to content

Commit 175e07a

Browse files
committed
consensus-test: add missing Haddock
1 parent eefcf30 commit 175e07a

File tree

1 file changed

+4
-0
lines changed
  • ouroboros-consensus/test/consensus-test/Test/Consensus

1 file changed

+4
-0
lines changed

ouroboros-consensus/test/consensus-test/Test/Consensus/Mempool.hs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ testLedgerConfig = SimpleLedgerConfig {
327327

328328
data 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.
653657
data TestSetupWithTxsInMempool = TestSetupWithTxsInMempool TestSetup [TestTx]
654658
deriving (Show)
655659

0 commit comments

Comments
 (0)