We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--repro-mempool-and-forge
1 parent 126de8e commit 49d3143Copy full SHA for 49d3143
ouroboros-consensus-cardano/src/unstable-cardano-tools/Cardano/Tools/DBAnalyser/Analysis.hs
@@ -811,7 +811,10 @@ reproMempoolForge numBlks env = do
811
-- add this block's transactions to the mempool
812
do
813
results <- Mempool.addTxs mempool $ LedgerSupportsMempool.extractTxs blk'
814
- let rejs = [ rej | rej@Mempool.MempoolTxRejected{} <- results ]
+ let rejs =
815
+ [ (LedgerSupportsMempool.txId tx, rej)
816
+ | rej@(Mempool.MempoolTxRejected tx _) <- results
817
+ ]
818
unless (null rejs) $ do
819
fail $ "Mempool rejected some of the on-chain txs: " <> show rejs
820
0 commit comments