File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,14 @@ spec = do
5757 it " With correct deposit or without any deposit" $ do
5858 expectedDeposit <- getsNES $ nesEsL . curPParamsEpochStateL . ppKeyDepositL
5959
60+ cred <- KeyHashObj <$> freshKeyHash
61+ -- NOTE: This will always generate certs with deposits post-Conway
62+ regTxCert <- genRegTxCert cred
63+ submitTx_ $
64+ mkBasicTx mkBasicTxBody
65+ & bodyTxL . certsTxBodyL .~ [regTxCert]
66+ expectRegistered cred
67+
6068 freshKeyHash >>= \ kh -> do
6169 submitTx_ $
6270 mkBasicTx mkBasicTxBody
@@ -726,15 +734,6 @@ conwayEraSpecificSpec ::
726734 ) =>
727735 SpecWith (ImpInit (LedgerSpec era ))
728736conwayEraSpecificSpec = do
729- describe " Register stake credential" $ do
730- it " Without any deposit" $ do
731- cred <- KeyHashObj <$> freshKeyHash
732- regTxCert <- genRegTxCert cred
733- submitTx_ $
734- mkBasicTx mkBasicTxBody
735- & bodyTxL . certsTxBodyL .~ [regTxCert]
736- expectRegistered cred
737-
738737 describe " Delegate stake" $ do
739738 it " Register and delegate in the same transaction" $ do
740739 cred1 <- KeyHashObj <$> freshKeyHash
You can’t perform that action at this time.
0 commit comments