Skip to content

Commit

Permalink
add temporary log trace for debugging STAKE_POOLS_LIST_01
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed Jul 3, 2020
1 parent dbbc405 commit 148e370
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -563,6 +563,7 @@ spec = do
eventually "eventually shows non-zero rewards" $ do
Right pools@[pool1,_pool2,pool3] <- snd <$> listPools ctx
let rewards = view (#metrics . #nonMyopicMemberRewards)
print (rewards <$> pools) -- FIXME temporary
(rewards <$> pools) `shouldBe`
(rewards <$> sortOn (Down . rewards) pools)
-- Make sure the rewards are not all equal:
Expand All @@ -589,7 +590,7 @@ spec = do
]
where
arbitraryStake :: Maybe Coin
arbitraryStake = Just $ ada 10000
arbitraryStake = Just $ ada 10000000000
where ada = Coin . (1000*1000*)

dummyPool :: PoolId
Expand Down

0 comments on commit 148e370

Please sign in to comment.