|
1 | 1 | {-# LANGUAGE DataKinds #-} |
2 | | -{-# LANGUAGE TypeFamilies #-} |
3 | 2 | {-# LANGUAGE MultiParamTypeClasses #-} |
| 3 | +{-# LANGUAGE TypeFamilies #-} |
4 | 4 | {-# OPTIONS_GHC -Wno-orphans #-} |
5 | 5 |
|
6 | 6 | module Cardano.Ledger.Dijkstra.Rules.Ledger () where |
7 | | -import Cardano.Ledger.Dijkstra.Core (EraRuleFailure, EraRuleEvent, InjectRuleFailure (..)) |
8 | | -import Cardano.Ledger.Dijkstra.Era (DijkstraEra) |
9 | | -import Cardano.Ledger.Conway.Rules (ConwayLedgerPredFailure (..), ConwayLedgerEvent, ConwayUtxowPredFailure, ConwayUtxoPredFailure, ConwayUtxosPredFailure, ConwayCertsPredFailure, ConwayCertPredFailure, ConwayDelegPredFailure, ConwayGovCertPredFailure, ConwayGovPredFailure) |
10 | | -import Cardano.Ledger.Babbage.Rules (BabbageUtxowPredFailure, BabbageUtxoPredFailure) |
11 | | -import Cardano.Ledger.Alonzo.Rules (AlonzoUtxowPredFailure, AlonzoUtxoPredFailure, AlonzoUtxosPredFailure) |
12 | | -import Cardano.Ledger.Shelley.Rules (ShelleyUtxowPredFailure, ShelleyUtxoPredFailure, ShelleyPoolPredFailure) |
| 7 | + |
13 | 8 | import Cardano.Ledger.Allegra.Rules (AllegraUtxoPredFailure) |
14 | | -import Cardano.Ledger.Dijkstra.Rules.Utxow () |
| 9 | +import Cardano.Ledger.Alonzo.Rules ( |
| 10 | + AlonzoUtxoPredFailure, |
| 11 | + AlonzoUtxosPredFailure, |
| 12 | + AlonzoUtxowPredFailure, |
| 13 | + ) |
| 14 | +import Cardano.Ledger.Babbage.Rules (BabbageUtxoPredFailure, BabbageUtxowPredFailure) |
| 15 | +import Cardano.Ledger.Conway.Rules ( |
| 16 | + ConwayCertPredFailure, |
| 17 | + ConwayCertsPredFailure, |
| 18 | + ConwayDelegPredFailure, |
| 19 | + ConwayGovCertPredFailure, |
| 20 | + ConwayGovPredFailure, |
| 21 | + ConwayLedgerEvent, |
| 22 | + ConwayLedgerPredFailure (..), |
| 23 | + ConwayUtxoPredFailure, |
| 24 | + ConwayUtxosPredFailure, |
| 25 | + ConwayUtxowPredFailure, |
| 26 | + ) |
| 27 | +import Cardano.Ledger.Dijkstra.Core (EraRuleEvent, EraRuleFailure, InjectRuleFailure (..)) |
| 28 | +import Cardano.Ledger.Dijkstra.Era (DijkstraEra) |
15 | 29 | import Cardano.Ledger.Dijkstra.Rules.Certs () |
| 30 | +import Cardano.Ledger.Dijkstra.Rules.Utxow () |
| 31 | +import Cardano.Ledger.Shelley.Rules ( |
| 32 | + ShelleyPoolPredFailure, |
| 33 | + ShelleyUtxoPredFailure, |
| 34 | + ShelleyUtxowPredFailure, |
| 35 | + ) |
16 | 36 |
|
17 | 37 | type instance EraRuleFailure "LEDGER" DijkstraEra = ConwayLedgerPredFailure DijkstraEra |
18 | 38 |
|
|
0 commit comments