@@ -47,7 +47,6 @@ import Test.Cardano.Ledger.Plutus.Examples (
4747spec ::
4848 forall era .
4949 ( ConwayEraImp era
50- , ShelleyEraTxCert era
5150 , InjectRuleFailure " LEDGER" ConwayLedgerPredFailure era
5251 , InjectRuleFailure " LEDGER" ConwayUtxoPredFailure era
5352 , InjectRuleFailure " LEDGER" ConwayGovPredFailure era
@@ -82,7 +81,7 @@ spec = do
8281 modifyPParams $ ppGovActionLifetimeL .~ EpochInterval 2
8382 kh <- freshKeyHash
8483 let cred = KeyHashObj kh
85- ra <- registerStakeCredential cred
84+ ra <- registerStakeCredentialWithDeposit cred
8685 submitAndExpireProposalToMakeReward cred
8786 balance <- getBalance cred
8887
@@ -107,7 +106,7 @@ spec = do
107106 modifyPParams $ ppGovActionLifetimeL .~ EpochInterval 2
108107 kh <- freshKeyHash
109108 let cred = KeyHashObj kh
110- ra <- registerStakeCredential cred
109+ ra <- registerStakeCredentialWithDeposit cred
111110 submitAndExpireProposalToMakeReward cred
112111 balance <- getBalance cred
113112
@@ -130,7 +129,7 @@ spec = do
130129 refund <- getsNES $ nesEsL . curPParamsEpochStateL . ppKeyDepositL
131130 kh <- freshKeyHash
132131 let cred = KeyHashObj kh
133- ra <- registerStakeCredential cred
132+ ra <- registerStakeCredentialWithDeposit cred
134133 Positive newDeposit <- arbitrary
135134 modifyPParams $ \ pp ->
136135 pp
@@ -158,7 +157,7 @@ spec = do
158157 & ppDRepActivityL .~ EpochInterval 1
159158 kh <- freshKeyHash
160159 let cred = KeyHashObj kh
161- ra <- registerStakeCredential cred
160+ ra <- registerStakeCredentialWithDeposit cred
162161 submitAndExpireProposalToMakeReward cred
163162 balance <- getBalance cred
164163
@@ -185,7 +184,7 @@ spec = do
185184 & ppDRepActivityL .~ EpochInterval 1
186185 kh <- freshKeyHash
187186 let cred = KeyHashObj kh
188- ra <- registerStakeCredential cred
187+ ra <- registerStakeCredentialWithDeposit cred
189188 submitAndExpireProposalToMakeReward cred
190189 balance <- getBalance cred
191190
@@ -210,7 +209,7 @@ spec = do
210209 modifyPParams $ ppGovActionLifetimeL .~ EpochInterval 2
211210 let scriptHash = hashPlutusScript $ alwaysSucceedsNoDatum SPlutusV3
212211 let cred = ScriptHashObj scriptHash
213- ra <- registerStakeCredential cred
212+ ra <- registerStakeCredentialWithDeposit cred
214213 submitAndExpireProposalToMakeReward cred
215214 balance <- getBalance cred
216215
@@ -286,7 +285,7 @@ spec = do
286285 mkBasicTx (mkBasicTxBody & proposalProceduresTxBodyL .~ [proposal])
287286 ccHot <- registerCommitteeHotKey ccCold
288287 govActionId <- do
289- rewardAccount <- registerRewardAccount
288+ rewardAccount <- registerRewardAccountWithDeposit
290289 submitTreasuryWithdrawals [(rewardAccount, Coin 1 )]
291290
292291 let
0 commit comments