Skip to content

Commit

Permalink
Sign.hs: remove deprecated patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Jan 16, 2025
1 parent c72b2c0 commit 74c7f2e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions cardano-api/internal/Cardano/Api/Tx/Sign.hs
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ module Cardano.Api.Tx.Sign
-- * Data family instances
, AsType
( AsTx
, AsByronTx
, AsShelleyTx
, AsMaryTx
, AsAllegraTx
, AsAlonzoTx
Expand Down Expand Up @@ -185,18 +183,6 @@ instance HasTypeProxy era => HasTypeProxy (Tx era) where
data AsType (Tx era) = AsTx (AsType era)
proxyToAsType _ = AsTx (proxyToAsType (Proxy :: Proxy era))

{-# DEPRECATED AsByronTx "Use AsTx AsByronEra instead." #-}
pattern AsByronTx :: AsType (Tx ByronEra)
pattern AsByronTx = AsTx AsByronEra

{-# COMPLETE AsByronTx #-}

{-# DEPRECATED AsShelleyTx "Use AsTx AsShelleyEra instead." #-}
pattern AsShelleyTx :: AsType (Tx ShelleyEra)
pattern AsShelleyTx = AsTx AsShelleyEra

{-# COMPLETE AsShelleyTx #-}

pattern AsMaryTx :: AsType (Tx MaryEra)
pattern AsMaryTx = AsTx AsMaryEra

Expand Down

0 comments on commit 74c7f2e

Please sign in to comment.