File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
testlib/Test/Cardano/Ledger/Shelley/Binary
test/Test/Cardano/Ledger/Shelley/Binary Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ import Paths_cardano_ledger_shelley (getDataFileName)
88import Test.Cardano.Ledger.Common
99import Test.Cardano.Ledger.Core.JSON (goldenJsonPParamsSpec , goldenJsonPParamsUpdateSpec )
1010import Test.Cardano.Ledger.Shelley.Arbitrary ()
11- import qualified Test.Cardano.Ledger.Shelley.Binary.Golden as ShelleyGolden
11+ import Test.Cardano.Ledger.Shelley.Binary.Golden (
12+ goldenNewEpochStateExpectation ,
13+ shelleyDecodeDuplicateDelegCertSucceeds ,
14+ )
1215import Test.Cardano.Ledger.Shelley.Era ()
1316
1417spec :: Spec
1821 goldenJsonPParamsSpec @ ShelleyEra
1922 beforeAll (getDataFileName " golden/pparams-update.json" ) $
2023 goldenJsonPParamsUpdateSpec @ ShelleyEra
21- ShelleyGolden. spec
24+ prop " NewEpochState" $ goldenNewEpochStateExpectation @ ShelleyEra
25+ describe " TxCerts" $ do
26+ forEachEraVersion @ ShelleyEra shelleyDecodeDuplicateDelegCertSucceeds
Original file line number Diff line number Diff line change 77module Test.Cardano.Ledger.Shelley.Binary.Golden (
88 goldenNewEpochStateExpectation ,
99 duplicateDelegCertsTxBody ,
10- spec ,
10+ shelleyDecodeDuplicateDelegCertSucceeds ,
1111 module Test.Cardano.Ledger.Core.Binary.Golden ,
1212) where
1313
@@ -140,10 +140,3 @@ shelleyDecodeDuplicateDelegCertSucceeds version =
140140 mkBasicTxBody @ ShelleyEra @ TopTx
141141 & certsTxBodyL .~ SSeq. fromList [testCert, testCert]
142142 & ttlTxBodyL .~ SlotNo 300
143-
144- spec :: Spec
145- spec =
146- describe " Golden" $ do
147- prop " NewEpochState" $ goldenNewEpochStateExpectation @ ShelleyEra
148- describe " TxCerts" $ do
149- forEachEraVersion @ ShelleyEra shelleyDecodeDuplicateDelegCertSucceeds
You can’t perform that action at this time.
0 commit comments