Skip to content

Commit

Permalink
Merge pull request #1207 from input-output-hk/lc/conway-for-x-onwards…
Browse files Browse the repository at this point in the history
…-type-classes

Support Conway in IsXEraOnwards type classes
  • Loading branch information
ffakenz authored Dec 13, 2023
2 parents f37f8ff + 337c61e commit b7c618c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions hydra-cardano-api/src/Hydra/Cardano/Api/AlonzoEraOnwards.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ instance IsAlonzoEraOnwards AlonzoEra where

instance IsAlonzoEraOnwards BabbageEra where
alonzoEraOnwards = AlonzoEraOnwardsBabbage

instance IsAlonzoEraOnwards ConwayEra where
alonzoEraOnwards = AlonzoEraOnwardsConway
3 changes: 3 additions & 0 deletions hydra-cardano-api/src/Hydra/Cardano/Api/BabbageEraOnwards.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ class IsBabbageEraOnwards era where

instance IsBabbageEraOnwards BabbageEra where
babbageEraOnwards = BabbageEraOnwardsBabbage

instance IsBabbageEraOnwards ConwayEra where
babbageEraOnwards = BabbageEraOnwardsConway
3 changes: 3 additions & 0 deletions hydra-cardano-api/src/Hydra/Cardano/Api/MaryEraOnwards.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ instance IsMaryEraOnwards AlonzoEra where

instance IsMaryEraOnwards BabbageEra where
maryEraOnwards = MaryEraOnwardsBabbage

instance IsMaryEraOnwards ConwayEra where
maryEraOnwards = MaryEraOnwardsConway

This file was deleted.

0 comments on commit b7c618c

Please sign in to comment.