Skip to content

Commit

Permalink
everything before conway: remove key-reg-deposit-amt flag from stake-…
Browse files Browse the repository at this point in the history
…address command
  • Loading branch information
smelc committed Dec 11, 2023
1 parent b4fc846 commit ae880fc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cardano-cli/src/Cardano/CLI/EraBased/Options/StakeAddress.hs
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,18 @@ pStakeAddressRegistrationCertificateCmd :: ()
pStakeAddressRegistrationCertificateCmd era = do
forEraInEonMaybe era $ \sbe ->
caseShelleyToBabbageOrConwayEraOnwards
(\shelleyToBabbage -> subParser "registration-certificate"
(const $ subParser "registration-certificate"
$ Opt.info
( StakeAddressRegistrationCertificateCmd (shelleyToBabbageEraToShelleyBasedEra shelleyToBabbage)
( StakeAddressRegistrationCertificateCmd sbe
<$> pStakeIdentifier
<*> optional pKeyRegistDeposit
<*> pure Nothing
<*> pOutputFile
)
desc
)
(\conwayOnwards -> subParser "registration-certificate"
(const $ subParser "registration-certificate"
$ Opt.info
( StakeAddressRegistrationCertificateCmd (conwayEraOnwardsToShelleyBasedEra conwayOnwards)
( StakeAddressRegistrationCertificateCmd sbe
<$> pStakeIdentifier
<*> fmap Just pKeyRegistDeposit
<*> pOutputFile
Expand Down

0 comments on commit ae880fc

Please sign in to comment.