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
@@ -727,15 +735,6 @@ conwayEraSpecificSpec ::
727735 ) =>
728736 SpecWith (ImpInit (LedgerSpec era ))
729737conwayEraSpecificSpec = do
730- describe " Register stake credential" $ do
731- it " Without any deposit" $ do
732- cred <- KeyHashObj <$> freshKeyHash
733- regTxCert <- genRegTxCert cred
734- submitTx_ $
735- mkBasicTx mkBasicTxBody
736- & bodyTxL . certsTxBodyL .~ [regTxCert]
737- expectRegistered cred
738-
739738 describe " Delegate stake" $ do
740739 it " Register and delegate in the same transaction" $ do
741740 cred1 <- KeyHashObj <$> freshKeyHash
You can’t perform that action at this time.
0 commit comments