Skip to content

Commit

Permalink
Fix state spec by using a HydraContext with more than 1 party
Browse files Browse the repository at this point in the history
  • Loading branch information
ffakenz committed Feb 8, 2023
1 parent 3cc7f55 commit d1419d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hydra-node/test/Hydra/Chain/Direct/StateSpec.hs
Expand Up @@ -49,6 +49,7 @@ import Hydra.Chain.Direct.State (
genContestTx,
genFanoutTx,
genHydraContext,
genHydraContextFor,
genInitTx,
genStInitial,
getContestationDeadline,
Expand Down Expand Up @@ -141,7 +142,7 @@ spec = parallel $ do
in isNothing (observeInit cctxB tx)

prop "is not observed if wrong number of PT tokens distributed" $
forAll (genHydraContext maximumNumberOfParties) $ \ctx ->
forAll (genHydraContextFor maximumNumberOfParties) $ \ctx ->
forAll (pickChainContext ctx) $
\cctx ->
forAll genTxIn $ \seedInput ->
Expand Down

0 comments on commit d1419d5

Please sign in to comment.