Skip to content

Commit d09b535

Browse files
committed
Add Upgrade spec for Dijkstra
1 parent cd4fc53 commit d09b535

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

eras/dijkstra/testlib/Test/Cardano/Ledger/Dijkstra/TreeDiff.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{-# LANGUAGE FlexibleInstances #-}
22
{-# OPTIONS_GHC -Wno-orphans #-}
33

4-
module Test.Cardano.Ledger.Dijkstra.TreeDiff () where
4+
module Test.Cardano.Ledger.Dijkstra.TreeDiff (
5+
module Test.Cardano.Ledger.Conway.TreeDiff,
6+
) where
57

68
import Cardano.Ledger.Dijkstra (DijkstraEra)
79
import Cardano.Ledger.Dijkstra.Core (EraTxBody (..), PlutusScript)

libs/cardano-ledger-api/cardano-ledger-api.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ test-suite cardano-ledger-api-test
139139
cardano-ledger-byron,
140140
cardano-ledger-conway:{cardano-ledger-conway, testlib},
141141
cardano-ledger-core:{cardano-ledger-core, testlib},
142+
cardano-ledger-dijkstra:{cardano-ledger-dijkstra, testlib},
142143
cardano-ledger-mary:{cardano-ledger-mary, testlib},
143144
cardano-ledger-shelley:{cardano-ledger-shelley, testlib},
144145
cardano-slotting:testlib,

libs/cardano-ledger-api/test/Tests.hs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import Cardano.Ledger.Alonzo (AlonzoEra)
88
import Cardano.Ledger.Babbage (BabbageEra)
99
import Cardano.Ledger.Conway (ConwayEra)
1010
import Cardano.Ledger.Core
11+
import Cardano.Ledger.Dijkstra (DijkstraEra)
1112
import Cardano.Ledger.Mary (MaryEra)
1213
import Data.Default (def)
1314
import Test.Cardano.Ledger.Allegra.Binary.Annotator ()
@@ -21,6 +22,8 @@ import Test.Cardano.Ledger.Api.Upgrade (BinaryUpgradeOpts (..))
2122
import qualified Test.Cardano.Ledger.Api.Upgrade as Upgrade
2223
import Test.Cardano.Ledger.Babbage.Binary.Annotator ()
2324
import Test.Cardano.Ledger.Conway.Binary.Annotator ()
25+
import Test.Cardano.Ledger.Dijkstra.Binary.Annotator ()
26+
import Test.Cardano.Ledger.Dijkstra.TreeDiff ()
2427
import Test.Cardano.Ledger.Imp.Common
2528
import Test.Cardano.Ledger.Mary.Binary.Annotator ()
2629
import Test.Cardano.Ledger.Shelley.ImpTest (LedgerSpec, modifyImpInitProtVer)
@@ -51,6 +54,7 @@ apiSpec =
5154
Upgrade.spec @AlonzoEra (BinaryUpgradeOpts False False)
5255
Upgrade.spec @BabbageEra def
5356
Upgrade.spec @ConwayEra def
57+
Upgrade.spec @DijkstraEra def
5458

5559
main :: IO ()
5660
main = ledgerTestMain apiSpec

0 commit comments

Comments
 (0)