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
57
57
it " With correct deposit or without any deposit" $ do
58
58
expectedDeposit <- getsNES $ nesEsL . curPParamsEpochStateL . ppKeyDepositL
59
59
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
+
60
68
freshKeyHash >>= \ kh -> do
61
69
submitTx_ $
62
70
mkBasicTx mkBasicTxBody
@@ -726,15 +734,6 @@ conwayEraSpecificSpec ::
726
734
) =>
727
735
SpecWith (ImpInit (LedgerSpec era ))
728
736
conwayEraSpecificSpec = 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
-
738
737
describe " Delegate stake" $ do
739
738
it " Register and delegate in the same transaction" $ do
740
739
cred1 <- KeyHashObj <$> freshKeyHash
You can’t perform that action at this time.
0 commit comments