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 89eea4d commit f4b67ed
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 29 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
6 changes: 0 additions & 6 deletions cardano-cli/test/cardano-cli-golden/files/golden/help.cli
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,6 @@ Usage: cardano-cli shelley stake-address registration-certificate
| --stake-script-file FILE
| --stake-address ADDRESS
)
[--key-reg-deposit-amt NATURAL]
--out-file FILE

Create a stake address registration certificate
Expand Down Expand Up @@ -1831,7 +1830,6 @@ Usage: cardano-cli allegra stake-address registration-certificate
| --stake-script-file FILE
| --stake-address ADDRESS
)
[--key-reg-deposit-amt NATURAL]
--out-file FILE

Create a stake address registration certificate
Expand Down Expand Up @@ -2982,7 +2980,6 @@ Usage: cardano-cli mary stake-address registration-certificate
| --stake-script-file FILE
| --stake-address ADDRESS
)
[--key-reg-deposit-amt NATURAL]
--out-file FILE

Create a stake address registration certificate
Expand Down Expand Up @@ -4133,7 +4130,6 @@ Usage: cardano-cli alonzo stake-address registration-certificate
| --stake-script-file FILE
| --stake-address ADDRESS
)
[--key-reg-deposit-amt NATURAL]
--out-file FILE

Create a stake address registration certificate
Expand Down Expand Up @@ -5316,7 +5312,6 @@ Usage: cardano-cli babbage stake-address registration-certificate
| --stake-script-file FILE
| --stake-address ADDRESS
)
[--key-reg-deposit-amt NATURAL]
--out-file FILE

Create a stake address registration certificate
Expand Down Expand Up @@ -8001,7 +7996,6 @@ Usage: cardano-cli latest stake-address registration-certificate
| --stake-script-file FILE
| --stake-address ADDRESS
)
[--key-reg-deposit-amt NATURAL]
--out-file FILE

Create a stake address registration certificate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Usage: cardano-cli allegra stake-address registration-certificate
| --stake-script-file FILE
| --stake-address ADDRESS
)
[--key-reg-deposit-amt NATURAL]
--out-file FILE

Create a stake address registration certificate
Expand All @@ -16,7 +15,5 @@ Available options:
Filepath of the staking verification key.
--stake-script-file FILE Filepath of the staking script.
--stake-address ADDRESS Target stake address (bech32 format).
--key-reg-deposit-amt NATURAL
Key registration deposit amount.
--out-file FILE The output file.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Usage: cardano-cli alonzo stake-address registration-certificate
| --stake-script-file FILE
| --stake-address ADDRESS
)
[--key-reg-deposit-amt NATURAL]
--out-file FILE

Create a stake address registration certificate
Expand All @@ -16,7 +15,5 @@ Available options:
Filepath of the staking verification key.
--stake-script-file FILE Filepath of the staking script.
--stake-address ADDRESS Target stake address (bech32 format).
--key-reg-deposit-amt NATURAL
Key registration deposit amount.
--out-file FILE The output file.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Usage: cardano-cli babbage stake-address registration-certificate
| --stake-script-file FILE
| --stake-address ADDRESS
)
[--key-reg-deposit-amt NATURAL]
--out-file FILE

Create a stake address registration certificate
Expand All @@ -16,7 +15,5 @@ Available options:
Filepath of the staking verification key.
--stake-script-file FILE Filepath of the staking script.
--stake-address ADDRESS Target stake address (bech32 format).
--key-reg-deposit-amt NATURAL
Key registration deposit amount.
--out-file FILE The output file.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Usage: cardano-cli latest stake-address registration-certificate
| --stake-script-file FILE
| --stake-address ADDRESS
)
[--key-reg-deposit-amt NATURAL]
--out-file FILE

Create a stake address registration certificate
Expand All @@ -16,7 +15,5 @@ Available options:
Filepath of the staking verification key.
--stake-script-file FILE Filepath of the staking script.
--stake-address ADDRESS Target stake address (bech32 format).
--key-reg-deposit-amt NATURAL
Key registration deposit amount.
--out-file FILE The output file.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Usage: cardano-cli mary stake-address registration-certificate
| --stake-script-file FILE
| --stake-address ADDRESS
)
[--key-reg-deposit-amt NATURAL]
--out-file FILE

Create a stake address registration certificate
Expand All @@ -16,7 +15,5 @@ Available options:
Filepath of the staking verification key.
--stake-script-file FILE Filepath of the staking script.
--stake-address ADDRESS Target stake address (bech32 format).
--key-reg-deposit-amt NATURAL
Key registration deposit amount.
--out-file FILE The output file.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Usage: cardano-cli shelley stake-address registration-certificate
| --stake-script-file FILE
| --stake-address ADDRESS
)
[--key-reg-deposit-amt NATURAL]
--out-file FILE

Create a stake address registration certificate
Expand All @@ -16,7 +15,5 @@ Available options:
Filepath of the staking verification key.
--stake-script-file FILE Filepath of the staking script.
--stake-address ADDRESS Target stake address (bech32 format).
--key-reg-deposit-amt NATURAL
Key registration deposit amount.
--out-file FILE The output file.
-h,--help Show this help text

0 comments on commit f4b67ed

Please sign in to comment.