@@ -88,7 +88,7 @@ spec = describe "Valid transactions" $ do
8888 mkBasicTx $
8989 mkBasicTxBody & inputsTxBodyL .~ [txIn]
9090
91- it " Validating CERT script" $ do
91+ it " Validating CERT script" . whenMajorVersionAtMost @ 11 $ do
9292 txIn <- produceScript alwaysSucceedsWithDatumHash
9393 let txCert = RegTxCert $ ScriptHashObj alwaysSucceedsNoDatumHash
9494 submitTx_ $
@@ -97,7 +97,7 @@ spec = describe "Valid transactions" $ do
9797 & inputsTxBodyL .~ [txIn]
9898 & certsTxBodyL .~ [txCert]
9999
100- it " Not validating CERT script" $ do
100+ it " Not validating CERT script" . whenMajorVersionAtMost @ 11 $ do
101101 txIn <- produceScript alwaysFailsWithDatumHash
102102 let txCert = RegTxCert $ ScriptHashObj alwaysSucceedsNoDatumHash
103103 submitPhase2Invalid_ $
@@ -106,13 +106,13 @@ spec = describe "Valid transactions" $ do
106106 & inputsTxBodyL .~ [txIn]
107107 & certsTxBodyL .~ [txCert]
108108
109- it " Validating WITHDRAWAL script" $ do
109+ it " Validating WITHDRAWAL script" . whenMajorVersionAtMost @ 11 $ do
110110 account <- registerStakeCredential $ ScriptHashObj alwaysSucceedsNoDatumHash
111111 submitTx_ $
112112 mkBasicTx $
113113 mkBasicTxBody & withdrawalsTxBodyL .~ Withdrawals [(account, mempty )]
114114
115- it " Not validating WITHDRAWAL script" $ do
115+ it " Not validating WITHDRAWAL script" . whenMajorVersionAtMost @ 11 $ do
116116 account <- registerStakeCredential $ ScriptHashObj alwaysFailsNoDatumHash
117117 submitPhase2Invalid_ $
118118 mkBasicTx $
@@ -126,7 +126,7 @@ spec = describe "Valid transactions" $ do
126126
127127 -- Process a transaction with a succeeding script in every place possible,
128128 -- and also with succeeding timelock scripts.
129- it " Validating scripts everywhere" $ do
129+ it " Validating scripts everywhere" . whenMajorVersionAtMost @ 11 $ do
130130 slotNo <- use impLastTickG
131131 let
132132 timelockScriptHash i = do
@@ -183,7 +183,7 @@ spec = describe "Valid transactions" $ do
183183 & witsTxL . datsTxWitsL . unTxDatsL %~ Map. insert datumHash datum
184184 submitTx_ tx
185185
186- it " Multiple identical certificates" $ do
186+ it " Multiple identical certificates" . whenMajorVersionAtMost @ 11 $ do
187187 let scriptHash = alwaysSucceedsNoDatumHash
188188 void . registerStakeCredential $ ScriptHashObj scriptHash
189189 let tx =
0 commit comments