Skip to content

Commit 32d7ad2

Browse files
committed
tx-submission: re-enabled SharedTxState invariant
1 parent dfcf868 commit 32d7ad2

File tree

1 file changed

+4
-4
lines changed
  • ouroboros-network/testlib/Test/Ouroboros/Network/TxSubmission

1 file changed

+4
-4
lines changed

ouroboros-network/testlib/Test/Ouroboros/Network/TxSubmission/TxLogic.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ sharedTxStateInvariant invariantStrength
138138
timedTxs
139139
} =
140140

141-
-- -- `inflightTxs` and `bufferedTxs` are disjoint
142-
-- counterexample "inflightTxs not disjoint with bufferedTxs"
143-
-- (null (Map.keysSet inflightTxs `Set.intersection` bufferedTxsSet))
144-
-- .&&.
141+
-- `inflightTxs` and `bufferedTxs` are disjoint
142+
counterexample "inflightTxs not disjoint with bufferedTxs"
143+
(null (Map.keysSet inflightTxs `Set.intersection` bufferedTxsSet))
144+
.&&.
145145
counterexample "bufferedTxs txid not a subset of unacknowledged txids"
146146
let unacknowledgedSet =
147147
foldr (\PeerTxState { unacknowledgedTxIds } r ->

0 commit comments

Comments
 (0)