Skip to content

Commit cb40006

Browse files
committed
Rename AutomaticDRepFlag to AutomaticDRepType
1 parent fa3e340 commit cb40006

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedAbstainDRep.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{-# LANGUAGE TypeApplications #-}
88

99
module Cardano.Testnet.Test.LedgerEvents.Gov.PredefinedAbstainDRep
10-
( AutomaticDRepFlag(..)
10+
( AutomaticDRepType(..)
1111
, hprop_check_predefined_abstain_drep
1212
, delegateToAutomaticDRep
1313
, desiredPoolNumberProposalTest
@@ -134,7 +134,7 @@ hprop_check_predefined_abstain_drep = H.integrationWorkspace "test-activity" $ \
134134
wallet0 Nothing [(1, "yes")] newNumberOfDesiredPools2 0 (Just newNumberOfDesiredPools2) 10
135135

136136
-- | Which automatic DRep to delegate to
137-
data AutomaticDRepFlag = AlwaysAbstainDRep
137+
data AutomaticDRepType = AlwaysAbstainDRep
138138
| NoConfidenceDRep
139139

140140
delegateToAutomaticDRep
@@ -147,7 +147,7 @@ delegateToAutomaticDRep
147147
-> ShelleyBasedEra ConwayEra -- ^ The Shelley based era witness for ConwayEra
148148
-> FilePath -- ^ Base directory path where generated files will be stored.
149149
-> String -- ^ Name for the subfolder that will be created under 'work' folder.
150-
-> AutomaticDRepFlag -- ^ Which type of automatic DRep to delegate to.
150+
-> AutomaticDRepType -- ^ Which type of automatic DRep to delegate to.
151151
-> PaymentKeyInfo -- ^ Wallet that will pay for the transaction.
152152
-> StakingKeyPair -- ^ Staking key pair used for delegation.
153153
-> m ()

cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedNoConfidenceDRep.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import qualified Cardano.Ledger.Shelley.LedgerState as L
1919
import Cardano.Testnet
2020
import Cardano.Testnet.Test.LedgerEvents.Gov.PredefinedAbstainDRep
2121
(desiredPoolNumberProposalTest,
22-
getDesiredPoolNumberValue, voteChangeProposal, delegateToAutomaticDRep, AutomaticDRepFlag (..))
22+
getDesiredPoolNumberValue, voteChangeProposal, delegateToAutomaticDRep, AutomaticDRepType (..))
2323

2424
import Prelude
2525

0 commit comments

Comments
 (0)