Skip to content

Commit

Permalink
Export the Convert class
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Nov 28, 2024
1 parent 591aba6 commit f0350e3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion cardano-api/gen/Test/Gen/Cardano/Api/Typed.hs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ import qualified Cardano.Binary as CBOR
import qualified Cardano.Crypto.Hash as Crypto
import qualified Cardano.Crypto.Hash.Class as CRYPTO
import qualified Cardano.Crypto.Seed as Crypto
import Cardano.Api.Eon.Convert
import qualified Cardano.Ledger.Alonzo.Scripts as Alonzo
import qualified Cardano.Ledger.BaseTypes as Ledger
import qualified Cardano.Ledger.Core as Ledger
Expand Down
2 changes: 2 additions & 0 deletions cardano-api/internal/Cardano/Api/Eras.hs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module Cardano.Api.Eras
, maybeEon
, monoidForEraInEon
, monoidForEraInEonA
, Convert (..)
, Inject (..)

-- * Data family instances
Expand All @@ -49,5 +50,6 @@ module Cardano.Api.Eras
)
where

import Cardano.Api.Eon.Convert
import Cardano.Api.Eras.Case
import Cardano.Api.Eras.Core
2 changes: 2 additions & 0 deletions cardano-api/src/Cardano/Api.hs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ module Cardano.Api
, unFeatured
, asFeaturedInEra
, asFeaturedInShelleyBasedEra
, Convert (..)
, Inject (..)

-- * Eons
Expand Down Expand Up @@ -1045,6 +1046,7 @@ import Cardano.Api.Eon.AllegraEraOnwards
import Cardano.Api.Eon.AlonzoEraOnwards
import Cardano.Api.Eon.BabbageEraOnwards
import Cardano.Api.Eon.ByronToAlonzoEra
import Cardano.Api.Eon.Convert
import Cardano.Api.Eon.ConwayEraOnwards
import Cardano.Api.Eon.MaryEraOnwards
import Cardano.Api.Eon.ShelleyBasedEra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ module Test.Cardano.Api.Transaction.Autobalance
where

import Cardano.Api
import Cardano.Api.Eon.Convert
import Cardano.Api.Fees
import qualified Cardano.Api.Ledger as L
import qualified Cardano.Api.Ledger.Lens as L
Expand Down

0 comments on commit f0350e3

Please sign in to comment.