Skip to content

Commit

Permalink
Mention timeline in ProtocolParams deprecation pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
carbolymer committed Jun 19, 2024
1 parent 850aa19 commit 6c82f2d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cardano-api/internal/Cardano/Api/ProtocolParameters.hs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,10 @@ instance IsShelleyBasedEra era => Eq (LedgerProtocolParameters era) where
shelleyBasedEraConstraints (shelleyBasedEra @era)
$ a == b

{-# DEPRECATED convertToLedgerProtocolParameters "Use the ledger's PParams (from module Cardano.Api.Ledger) type instead of ProtocolParameters." #-}
{-#
DEPRECATED
convertToLedgerProtocolParameters
"Use the ledger's PParams (from module Cardano.Api.Ledger) type instead of ProtocolParameters. The type will be removed after Chang hard fork." #-}
convertToLedgerProtocolParameters
:: ShelleyBasedEra era
-> ProtocolParameters
Expand Down

0 comments on commit 6c82f2d

Please sign in to comment.