File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed
cardano-cli/src/Cardano/CLI Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -397,7 +397,7 @@ runTransactionBuildEstimateCmd -- TODO change type
397397 , txBodyOutFile
398398 } = do
399399 let sbe = convert currentEra
400- meo = convert currentEra
400+ meo = convert (convert currentEra :: BabbageEraOnwards era )
401401
402402 ledgerPParams <-
403403 firstExceptT TxCmdProtocolParamsError $ readProtocolParameters sbe protocolParamsFile
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ module Cardano.CLI.Orphans
99where
1010
1111import Cardano.Api
12- import qualified Cardano.Api.Experimental as Exp
1312import qualified Cardano.Api.Ledger as L
1413import Cardano.Api.Shelley (scriptDataToJsonDetailedSchema )
1514
@@ -33,9 +32,3 @@ instance ToJSON HashableScriptData where
3332 [ " hash" .= hashScriptDataBytes hsd
3433 , " json" .= scriptDataToJsonDetailedSchema hsd
3534 ]
36-
37- -- TODO Delete me when added in API
38- instance Convert Exp. Era MaryEraOnwards where
39- convert = \ case
40- Exp. BabbageEra -> MaryEraOnwardsBabbage
41- Exp. ConwayEra -> MaryEraOnwardsConway
You can’t perform that action at this time.
0 commit comments