Skip to content

Commit

Permalink
Remove NodeToClientVersion instance for AnyCardanoEra
Browse files Browse the repository at this point in the history
  • Loading branch information
newhoggy committed Jan 17, 2023
1 parent f4d31b8 commit 0dba35c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cardano-api/src/Cardano/Api/Eras.hs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ module Cardano.Api.Eras
import Prelude

import Cardano.Api.HasTypeProxy
import Cardano.Api.IPC.Version

import Control.DeepSeq
import Data.Aeson (FromJSON (..), ToJSON, toJSON, withText)
Expand All @@ -58,7 +57,6 @@ import Data.Type.Equality (TestEquality (..), (:~:) (Refl))

import Ouroboros.Consensus.Shelley.Eras as Consensus (StandardAllegra, StandardAlonzo,
StandardBabbage, StandardMary, StandardShelley)
import Ouroboros.Network.NodeToClient.Version (NodeToClientVersion (..))

-- | A type used as a tag to distinguish the Byron era.
data ByronEra
Expand Down Expand Up @@ -216,9 +214,6 @@ data AnyCardanoEra where
=> CardanoEra era -- and explicit value.
-> AnyCardanoEra

instance NodeToClientVersionOf AnyCardanoEra where
nodeToClientVersionOf (AnyCardanoEra _) = NodeToClientV_9

deriving instance Show AnyCardanoEra

instance Eq AnyCardanoEra where
Expand Down

0 comments on commit 0dba35c

Please sign in to comment.