Skip to content

Commit bc85aa7

Browse files
committed
Rename AutomaticDRepFlag to AutomaticDRepType
1 parent 1d34a01 commit bc85aa7

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
@@ -132,7 +132,7 @@ hprop_check_predefined_abstain_drep = H.integrationWorkspace "test-activity" $ \
132132
wallet0 Nothing [(1, "yes")] newNumberOfDesiredPools2 newNumberOfDesiredPools2 2
133133

134134
-- | Which automatic DRep to delegate to
135-
data AutomaticDRepFlag = AlwaysAbstainDRep
135+
data AutomaticDRepType = AlwaysAbstainDRep
136136
| NoConfidenceDRep
137137

138138
delegateToAutomaticDRep
@@ -145,7 +145,7 @@ delegateToAutomaticDRep
145145
-> ShelleyBasedEra ConwayEra -- ^ The Shelley based era witness for ConwayEra
146146
-> FilePath -- ^ Base directory path where generated files will be stored.
147147
-> String -- ^ Name for the subfolder that will be created under 'work' folder.
148-
-> AutomaticDRepFlag -- ^ Which type of automatic DRep to delegate to.
148+
-> AutomaticDRepType -- ^ Which type of automatic DRep to delegate to.
149149
-> PaymentKeyInfo -- ^ Wallet that will pay for the transaction.
150150
-> StakingKeyPair -- ^ Staking key pair used for delegation.
151151
-> 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)