Skip to content

Commit

Permalink
Add comment to hprop_check_predefined_abstain_drep explaining what …
Browse files Browse the repository at this point in the history
…it tests
  • Loading branch information
palas committed May 3, 2024
1 parent e2bebb7 commit 7a04e61
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,16 @@ import Hedgehog
import qualified Hedgehog.Extras as H
import qualified Hedgehog.Extras.Stock.IO.Network.Sprocket as IO

-- | Execute me with:
-- | This test creates a default testnet with three DReps and one stake holder delegated to each.
-- We then do a proposal for an arbitrary parameter change (in this case to the
-- @desiredNumberOfPools@ parameter) to check that it fails, when the first DRep votes "yes" and the
-- last two vote "no". Later we chack that if we change the stake holders under the DReps that vote
-- "no" to delegate to the automate "always abstain" DRep, the same kind of proposal passes.
--
-- This test is meant to ensure that delegating to "always abstain" has the desired effect of
-- counting as abstaining for the stake delegated.
--
-- Execute me with:
-- @DISABLE_RETRIES=1 cabal test cardano-testnet-test --test-options '-p "/Predefined Abstain DRep/"'@
hprop_check_predefined_abstain_drep :: Property
hprop_check_predefined_abstain_drep = H.integrationWorkspace "test-activity" $ \tempAbsBasePath' -> do
Expand Down

0 comments on commit 7a04e61

Please sign in to comment.