Skip to content

Commit 54f57c1

Browse files
authored
Merge pull request #1242 from IntersectMBO/jordan/refactoring-20250626
Refactoring 2025-06-26
2 parents 886c58c + 3849d2f commit 54f57c1

File tree

11 files changed

+328
-408
lines changed

11 files changed

+328
-408
lines changed

cardano-cli/src/Cardano/CLI/EraBased/Genesis/Internal/Common.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ readProtocolParameters
129129
:: forall era
130130
. Exp.IsEra era
131131
=> ProtocolParamsFile
132-
-> ExceptT ProtocolParamsError IO (L.PParams (ShelleyLedgerEra era))
132+
-> ExceptT ProtocolParamsError IO (L.PParams (Exp.LedgerEra era))
133133
readProtocolParameters (ProtocolParamsFile fpath) = do
134134
pparams <- handleIOExceptT (ProtocolParamsErrorFile . FileIOError fpath) $ LBS.readFile fpath
135135
firstExceptT (ProtocolParamsErrorJSON fpath . Text.pack) . hoistEither $

cardano-cli/src/Cardano/CLI/EraBased/Option.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pCmds envCli = do
3737
, fmap GenesisCmds <$> pGenesisCmds (convert useEra) envCli
3838
, fmap GovernanceCmds <$> pGovernanceCmds
3939
, Just (NodeCmds <$> pNodeCmds)
40-
, fmap QueryCmds <$> pQueryCmds (convert useEra) envCli
40+
, fmap QueryCmds <$> pQueryCmds envCli
4141
, fmap StakeAddressCmds <$> pStakeAddressCmds envCli
4242
, fmap StakePoolCmds <$> pStakePoolCmds (convert useEra) envCli
4343
, fmap TextViewCmds <$> pTextViewCmds

0 commit comments

Comments
 (0)