From df3f3a621d83011a56ec826cf5304a80a95ba31d Mon Sep 17 00:00:00 2001 From: Mateusz Galazyn Date: Fri, 30 Aug 2024 16:02:17 +0200 Subject: [PATCH] Set default era to Conway. Add older eras deprecation notice. --- .../src/Cardano/CLI/EraBased/Commands.hs | 15 +++--- .../Cardano/CLI/EraBased/Options/Common.hs | 42 ++++++++-------- cardano-cli/src/Cardano/CLI/EraBased/Run.hs | 8 ++- cardano-cli/src/Cardano/CLI/Helpers.hs | 4 +- cardano-cli/src/Cardano/CLI/Legacy/Options.hs | 33 +++++------- cardano-cli/src/Cardano/CLI/Options.hs | 2 +- .../TextEnvelope/Certificates/StakeAddress.hs | 50 ++++++++++--------- .../cardano-cli-golden/files/golden/help.cli | 14 +++--- .../files/golden/help/allegra.cli | 2 +- .../golden/help/allegra_transaction_view.cli | 1 + .../files/golden/help/alonzo.cli | 2 +- .../golden/help/alonzo_transaction_view.cli | 1 + .../files/golden/help/babbage.cli | 2 +- .../golden/help/babbage_transaction_view.cli | 1 + .../golden/help/genesis_create-cardano.cli | 17 ++++--- .../golden/help/genesis_create-staked.cli | 17 ++++--- .../files/golden/help/genesis_create.cli | 17 ++++--- ...ate-genesis-key-delegation-certificate.cli | 12 +++-- .../governance_create-mir-certificate.cli | 12 +++-- ...create-mir-certificate_stake-addresses.cli | 12 +++-- ...te-mir-certificate_transfer-to-rewards.cli | 12 +++-- ...e-mir-certificate_transfer-to-treasury.cli | 12 +++-- .../files/golden/help/latest.cli | 2 +- .../golden/help/latest_transaction_view.cli | 1 + .../golden/help/legacy_Legacy_commands.cli | 2 +- .../help/legacy_genesis_create-cardano.cli | 17 ++++--- .../help/legacy_genesis_create-staked.cli | 17 ++++--- .../golden/help/legacy_genesis_create.cli | 17 ++++--- ...ate-genesis-key-delegation-certificate.cli | 12 +++-- ...gacy_governance_create-mir-certificate.cli | 12 +++-- ...create-mir-certificate_stake-addresses.cli | 12 +++-- ...te-mir-certificate_transfer-to-rewards.cli | 12 +++-- ...e-mir-certificate_transfer-to-treasury.cli | 12 +++-- ...y_stake-address_delegation-certificate.cli | 17 ++++--- ...ake-address_deregistration-certificate.cli | 17 ++++--- ...stake-address_registration-certificate.cli | 17 ++++--- ..._stake-pool_deregistration-certificate.cli | 17 ++++--- ...cy_stake-pool_registration-certificate.cli | 17 ++++--- .../help/legacy_transaction_build-raw.cli | 18 ++++--- .../golden/help/legacy_transaction_build.cli | 15 ++++-- ...ransaction_calculate-min-required-utxo.cli | 17 ++++--- ...legacy_transaction_calculate-min-value.cli | 17 ++++--- .../files/golden/help/mary.cli | 2 +- .../golden/help/mary_transaction_view.cli | 1 + .../files/golden/help/shelley.cli | 2 +- .../golden/help/shelley_transaction_view.cli | 1 + .../stake-address_delegation-certificate.cli | 17 ++++--- ...ake-address_deregistration-certificate.cli | 17 ++++--- ...stake-address_registration-certificate.cli | 17 ++++--- .../stake-pool_deregistration-certificate.cli | 17 ++++--- .../stake-pool_registration-certificate.cli | 17 ++++--- .../golden/help/transaction_build-raw.cli | 18 ++++--- .../files/golden/help/transaction_build.cli | 15 ++++-- ...ransaction_calculate-min-required-utxo.cli | 17 ++++--- .../help/transaction_calculate-min-value.cli | 17 ++++--- .../stake_address_deregistration_certificate | 2 +- .../stake_address_registration_certificate | 2 +- 57 files changed, 444 insertions(+), 274 deletions(-) diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Commands.hs b/cardano-cli/src/Cardano/CLI/EraBased/Commands.hs index f00b05a6b0..aa6711daed 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Commands.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Commands.hs @@ -38,11 +38,12 @@ import Cardano.CLI.EraBased.Options.Transaction import Data.Foldable import Data.Maybe import Data.Text (Text) +import Data.Typeable (Typeable) import Options.Applicative (Parser) import qualified Options.Applicative as Opt data AnyEraCommand where - AnyEraCommandOf :: ShelleyBasedEra era -> Cmds era -> AnyEraCommand + AnyEraCommandOf :: Typeable era => ShelleyBasedEra era -> Cmds era -> AnyEraCommand renderAnyEraCommand :: AnyEraCommand -> Text renderAnyEraCommand = \case @@ -90,25 +91,25 @@ pAnyEraCommand envCli = subParser "shelley" $ Opt.info (AnyEraCommandOf ShelleyBasedEraShelley <$> pCmds ShelleyBasedEraShelley envCli) $ - Opt.progDesc "Shelley era commands" + Opt.progDesc ("Shelley era commands" <> deprecationText) , subParser "allegra" $ Opt.info (AnyEraCommandOf ShelleyBasedEraAllegra <$> pCmds ShelleyBasedEraAllegra envCli) $ - Opt.progDesc "Allegra era commands" + Opt.progDesc ("Allegra era commands" <> deprecationText) , subParser "mary" $ Opt.info (AnyEraCommandOf ShelleyBasedEraMary <$> pCmds ShelleyBasedEraMary envCli) $ - Opt.progDesc "Mary era commands" + Opt.progDesc ("Mary era commands" <> deprecationText) , subParser "alonzo" $ Opt.info (AnyEraCommandOf ShelleyBasedEraAlonzo <$> pCmds ShelleyBasedEraAlonzo envCli) $ - Opt.progDesc "Alonzo era commands" + Opt.progDesc ("Alonzo era commands" <> deprecationText) , subParser "babbage" $ Opt.info (AnyEraCommandOf ShelleyBasedEraBabbage <$> pCmds ShelleyBasedEraBabbage envCli) $ - Opt.progDesc "Babbage era commands" + Opt.progDesc ("Babbage era commands" <> deprecationText) , subParser "conway" $ Opt.info (AnyEraCommandOf ShelleyBasedEraConway <$> pCmds ShelleyBasedEraConway envCli) $ Opt.progDesc "Conway era commands" , subParser "latest" $ Opt.info (AnyEraCommandOf ShelleyBasedEraBabbage <$> pCmds ShelleyBasedEraBabbage envCli) $ - Opt.progDesc "Latest era commands (Babbage)" + Opt.progDesc ("Latest era commands (Babbage)" <> deprecationText) ] pCmds :: ShelleyBasedEra era -> EnvCli -> Parser (Cmds era) diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs index 112cc58ffc..2771714c76 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs @@ -58,10 +58,7 @@ import qualified Text.Parsec.Token as Parsec import Text.Read (readEither, readMaybe) defaultShelleyBasedEra :: EraInEon ShelleyBasedEra -defaultShelleyBasedEra = EraInEon ShelleyBasedEraBabbage - -defaultShelleyToBabbageEra :: EraInEon ShelleyToBabbageEra -defaultShelleyToBabbageEra = EraInEon ShelleyToBabbageEraBabbage +defaultShelleyBasedEra = EraInEon ShelleyBasedEraConway command' :: String -> String -> Parser a -> Mod CommandFields a command' c descr p = @@ -373,40 +370,43 @@ pAnyShelleyBasedEra envCli = mconcat [ [ Opt.flag' (EraInEon ShelleyBasedEraShelley) $ - mconcat [Opt.long "shelley-era", Opt.help "Specify the Shelley era"] + mconcat [Opt.long "shelley-era", Opt.help $ "Specify the Shelley era" <> deprecationText] , Opt.flag' (EraInEon ShelleyBasedEraAllegra) $ - mconcat [Opt.long "allegra-era", Opt.help "Specify the Allegra era"] + mconcat [Opt.long "allegra-era", Opt.help $ "Specify the Allegra era" <> deprecationText] , Opt.flag' (EraInEon ShelleyBasedEraMary) $ - mconcat [Opt.long "mary-era", Opt.help "Specify the Mary era"] + mconcat [Opt.long "mary-era", Opt.help $ "Specify the Mary era" <> deprecationText] , Opt.flag' (EraInEon ShelleyBasedEraAlonzo) $ - mconcat [Opt.long "alonzo-era", Opt.help "Specify the Alonzo era"] + mconcat [Opt.long "alonzo-era", Opt.help $ "Specify the Alonzo era" <> deprecationText] , Opt.flag' (EraInEon ShelleyBasedEraBabbage) $ - mconcat [Opt.long "babbage-era", Opt.help "Specify the Babbage era (default)"] + mconcat [Opt.long "babbage-era", Opt.help $ "Specify the Babbage era" <> deprecationText] , Opt.flag' (EraInEon ShelleyBasedEraConway) $ - mconcat [Opt.long "conway-era", Opt.help "Specify the Conway era"] + mconcat [Opt.long "conway-era", Opt.help "Specify the Conway era (default)"] ] , maybeToList $ pure <$> envCliAnyShelleyBasedEra envCli , pure $ pure defaultShelleyBasedEra ] +deprecationText :: String +deprecationText = " - DEPRECATED - will be removed in the future" + pAnyShelleyToBabbageEra :: EnvCli -> Parser (EraInEon ShelleyToBabbageEra) pAnyShelleyToBabbageEra envCli = asum $ mconcat [ [ Opt.flag' (EraInEon ShelleyToBabbageEraShelley) $ - mconcat [Opt.long "shelley-era", Opt.help "Specify the Shelley era"] + mconcat [Opt.long "shelley-era", Opt.help $ "Specify the Shelley era" <> deprecationText] , Opt.flag' (EraInEon ShelleyToBabbageEraAllegra) $ - mconcat [Opt.long "allegra-era", Opt.help "Specify the Allegra era"] + mconcat [Opt.long "allegra-era", Opt.help $ "Specify the Allegra era" <> deprecationText] , Opt.flag' (EraInEon ShelleyToBabbageEraMary) $ - mconcat [Opt.long "mary-era", Opt.help "Specify the Mary era"] + mconcat [Opt.long "mary-era", Opt.help $ "Specify the Mary era" <> deprecationText] , Opt.flag' (EraInEon ShelleyToBabbageEraAlonzo) $ - mconcat [Opt.long "alonzo-era", Opt.help "Specify the Alonzo era"] + mconcat [Opt.long "alonzo-era", Opt.help $ "Specify the Alonzo era" <> deprecationText] , Opt.flag' (EraInEon ShelleyToBabbageEraBabbage) $ mconcat [Opt.long "babbage-era", Opt.help "Specify the Babbage era (default)"] ] , maybeToList $ pure <$> envCliAnyShelleyToBabbageEra envCli - , pure $ pure defaultShelleyToBabbageEra + , pure . pure $ EraInEon ShelleyToBabbageEraBabbage ] pShelleyBasedShelley :: EnvCli -> Parser (EraInEon ShelleyBasedEra) @@ -415,7 +415,7 @@ pShelleyBasedShelley envCli = mconcat [ [ Opt.flag' (EraInEon ShelleyBasedEraShelley) $ - mconcat [Opt.long "shelley-era", Opt.help "Specify the Shelley era"] + mconcat [Opt.long "shelley-era", Opt.help $ "Specify the Shelley era" <> deprecationText] ] , maybeToList $ fmap pure $ @@ -429,7 +429,7 @@ pShelleyBasedAllegra envCli = mconcat [ [ Opt.flag' (EraInEon ShelleyBasedEraAllegra) $ - mconcat [Opt.long "allegra-era", Opt.help "Specify the Allegra era"] + mconcat [Opt.long "allegra-era", Opt.help $ "Specify the Allegra era" <> deprecationText] ] , maybeToList $ fmap pure $ @@ -443,7 +443,7 @@ pShelleyBasedMary envCli = mconcat [ [ Opt.flag' (EraInEon ShelleyBasedEraMary) $ - mconcat [Opt.long "mary-era", Opt.help "Specify the Mary era"] + mconcat [Opt.long "mary-era", Opt.help $ "Specify the Mary era" <> deprecationText] ] , maybeToList $ fmap pure $ @@ -457,7 +457,7 @@ pShelleyBasedAlonzo envCli = mconcat [ [ Opt.flag' (EraInEon ShelleyBasedEraAlonzo) $ - mconcat [Opt.long "alonzo-era", Opt.help "Specify the Alonzo era"] + mconcat [Opt.long "alonzo-era", Opt.help $ "Specify the Alonzo era" <> deprecationText] ] , maybeToList $ fmap pure $ @@ -471,7 +471,7 @@ pShelleyBasedBabbage envCli = mconcat [ [ Opt.flag' (EraInEon ShelleyBasedEraBabbage) $ - mconcat [Opt.long "babbage-era", Opt.help "Specify the Babbage era (default)"] + mconcat [Opt.long "babbage-era", Opt.help $ "Specify the Babbage era" <> deprecationText] ] , maybeToList $ fmap pure $ @@ -485,7 +485,7 @@ pShelleyBasedConway envCli = mconcat [ [ Opt.flag' (EraInEon ShelleyBasedEraConway) $ - mconcat [Opt.long "conway-era", Opt.help "Specify the Conway era"] + mconcat [Opt.long "conway-era", Opt.help "Specify the Conway era (default)"] ] , maybeToList $ fmap pure $ diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Run.hs b/cardano-cli/src/Cardano/CLI/EraBased/Run.hs index d3e9762b43..de62b06efc 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Run.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Run.hs @@ -21,8 +21,10 @@ import Cardano.CLI.EraBased.Run.StakeAddress import Cardano.CLI.EraBased.Run.StakePool import Cardano.CLI.EraBased.Run.TextView import Cardano.CLI.EraBased.Run.Transaction +import Cardano.CLI.Helpers (printWarning) import Cardano.CLI.Types.Errors.CmdError +import Control.Monad import Data.Function ((&)) runAnyEraCommand @@ -30,7 +32,11 @@ runAnyEraCommand => AnyEraCommand -> ExceptT CmdError IO () runAnyEraCommand = \case - AnyEraCommandOf sbe cmd -> + AnyEraCommandOf sbe cmd -> do + let selectedEraNum = fromEnum $ AnyShelleyBasedEra sbe + currentEraNum = fromEnum $ AnyShelleyBasedEra ShelleyBasedEraConway + when (selectedEraNum < currentEraNum) $ + printWarning "Selected era is deprecated and will be removed in the future." shelleyBasedEraConstraints sbe $ runCmds cmd runCmds diff --git a/cardano-cli/src/Cardano/CLI/Helpers.hs b/cardano-cli/src/Cardano/CLI/Helpers.hs index 65c334fd67..bb29e9bee1 100644 --- a/cardano-cli/src/Cardano/CLI/Helpers.hs +++ b/cardano-cli/src/Cardano/CLI/Helpers.hs @@ -75,8 +75,8 @@ decodeCBOR decodeCBOR bs decoder = first CBORDecodingError $ deserialiseFromBytes decoder bs -printWarning :: String -> IO () -printWarning warning = do +printWarning :: MonadIO m => String -> m () +printWarning warning = liftIO $ do ANSI.hSetSGR IO.stderr [SetColor Foreground Vivid Yellow] IO.hPutStrLn IO.stderr $ "WARNING: " <> warning ANSI.hSetSGR IO.stderr [Reset] diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Options.hs b/cardano-cli/src/Cardano/CLI/Legacy/Options.hs index ea154c4be1..4fa5d58e05 100644 --- a/cardano-cli/src/Cardano/CLI/Legacy/Options.hs +++ b/cardano-cli/src/Cardano/CLI/Legacy/Options.hs @@ -45,7 +45,6 @@ import Cardano.CLI.Parser import Cardano.CLI.Types.Common import Data.Foldable -import Data.Function import Data.Maybe (fromMaybe, maybeToList) import Data.Word (Word64) import Options.Applicative hiding (help, str) @@ -1303,43 +1302,37 @@ pLegacyCardanoEra envCli = [ Opt.flag' (AnyCardanoEra ByronEra) $ mconcat [ Opt.long "byron-era" - , Opt.help "Specify the Byron era" + , Opt.help $ "Specify the Byron era" <> deprecationText ] , Opt.flag' (AnyCardanoEra ShelleyEra) $ mconcat [ Opt.long "shelley-era" - , Opt.help "Specify the Shelley era" + , Opt.help $ "Specify the Shelley era" <> deprecationText ] , Opt.flag' (AnyCardanoEra AllegraEra) $ mconcat [ Opt.long "allegra-era" - , Opt.help "Specify the Allegra era" + , Opt.help $ "Specify the Allegra era" <> deprecationText ] , Opt.flag' (AnyCardanoEra MaryEra) $ mconcat [ Opt.long "mary-era" - , Opt.help "Specify the Mary era" + , Opt.help $ "Specify the Mary era" <> deprecationText ] , Opt.flag' (AnyCardanoEra AlonzoEra) $ mconcat [ Opt.long "alonzo-era" - , Opt.help "Specify the Alonzo era" + , Opt.help $ "Specify the Alonzo era" <> deprecationText ] , Opt.flag' (AnyCardanoEra BabbageEra) $ mconcat [ Opt.long "babbage-era" - , Opt.help "Specify the Babbage era (default)" + , Opt.help $ "Specify the Babbage era (default)" <> deprecationText ] ] , maybeToList $ pure <$> envCliAnyCardanoEra envCli - , -- TODO is this default needed anymore? - pure $ pure defaultCardanoEra + , pure . pure $ AnyCardanoEra BabbageEra ] - where - defaultCardanoEra = - defaultShelleyBasedEra & \(EraInEon era) -> - let cera = toCardanoEra era - in cardanoEraConstraints cera (AnyCardanoEra cera) pLegacyShelleyBasedEra :: EnvCli -> Parser (EraInEon ShelleyBasedEra) pLegacyShelleyBasedEra envCli = @@ -1349,29 +1342,29 @@ pLegacyShelleyBasedEra envCli = [ Opt.flag' (EraInEon ShelleyBasedEraShelley) $ mconcat [ Opt.long "shelley-era" - , Opt.help "Specify the Shelley era" + , Opt.help $ "Specify the Shelley era" <> deprecationText ] , Opt.flag' (EraInEon ShelleyBasedEraAllegra) $ mconcat [ Opt.long "allegra-era" - , Opt.help "Specify the Allegra era" + , Opt.help $ "Specify the Allegra era" <> deprecationText ] , Opt.flag' (EraInEon ShelleyBasedEraMary) $ mconcat [ Opt.long "mary-era" - , Opt.help "Specify the Mary era" + , Opt.help $ "Specify the Mary era" <> deprecationText ] , Opt.flag' (EraInEon ShelleyBasedEraAlonzo) $ mconcat [ Opt.long "alonzo-era" - , Opt.help "Specify the Alonzo era" + , Opt.help $ "Specify the Alonzo era" <> deprecationText ] , Opt.flag' (EraInEon ShelleyBasedEraBabbage) $ mconcat [ Opt.long "babbage-era" - , Opt.help "Specify the Babbage era (default)" + , Opt.help $ "Specify the Babbage era (default)" <> deprecationText ] ] , maybeToList $ pure <$> envCliAnyShelleyBasedEra envCli - , pure $ pure defaultShelleyBasedEra + , pure . pure $ EraInEon ShelleyBasedEraBabbage ] diff --git a/cardano-cli/src/Cardano/CLI/Options.hs b/cardano-cli/src/Cardano/CLI/Options.hs index 039cc1455e..6522e4d48d 100644 --- a/cardano-cli/src/Cardano/CLI/Options.hs +++ b/cardano-cli/src/Cardano/CLI/Options.hs @@ -93,7 +93,7 @@ parseLegacy :: EnvCli -> Parser ClientCommand parseLegacy envCli = subParser "legacy" $ Opt.info (LegacyCmds <$> parseLegacyCmds envCli) $ - Opt.progDesc "Legacy commands" + Opt.progDesc ("Legacy commands" <> deprecationText) _parseTopLevelLatest :: EnvCli -> Parser ClientCommand _parseTopLevelLatest envCli = diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/StakeAddress.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/StakeAddress.hs index 41ca8ceac5..0809f6b008 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/StakeAddress.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/StakeAddress.hs @@ -28,10 +28,10 @@ hprop_golden_shelleyStakeAddressCertificates = propertyOnce . H.moduleWorkspace referenceDeregistrationCertificate <- noteInputFile "test/cardano-cli-golden/files/input/shelley/certificates/stake_address_deregistration_certificate" - referenceDelegationCertificate <- - noteInputFile - "test/cardano-cli-golden/files/input/shelley/certificates/stake_address_delegation_certificate" - operatorVkey <- noteInputFile "test/cardano-cli-golden/files/input/shelley/node-pool/operator.vkey" + -- referenceDelegationCertificate <- + -- noteInputFile + -- "test/cardano-cli-golden/files/input/shelley/certificates/stake_address_delegation_certificate" + -- operatorVkey <- noteInputFile "test/cardano-cli-golden/files/input/shelley/node-pool/operator.vkey" -- Key filepaths verKey <- noteTempFile tempDir "stake-verification-key-file" @@ -42,7 +42,8 @@ hprop_golden_shelleyStakeAddressCertificates = propertyOnce . H.moduleWorkspace -- Generate stake verification key void $ execCardanoCLI - [ "stake-address" + [ "babbage" + , "stake-address" , "key-gen" , "--verification-key-file" , verKey @@ -92,22 +93,23 @@ hprop_golden_shelleyStakeAddressCertificates = propertyOnce . H.moduleWorkspace referenceDeregistrationCertificate deregistrationCertificate - -- Create stake address delegation certificate - void $ - execCardanoCLI - [ "stake-address" - , "delegation-certificate" - , "--stake-verification-key-file" - , verKey - , "--cold-verification-key-file" - , operatorVkey - , "--out-file" - , deregistrationCertificate - ] - - -- Check the newly created files have not deviated from the - -- golden files - checkTextEnvelopeFormat - registrationCertificateType - referenceDelegationCertificate - deregistrationCertificate +-- TODO that's a legacy command, to be removed +-- -- Create stake address delegation certificate +-- void $ +-- execCardanoCLI +-- [ "stake-address" +-- , "delegation-certificate" +-- , "--stake-verification-key-file" +-- , verKey +-- , "--cold-verification-key-file" +-- , operatorVkey +-- , "--out-file" +-- , deregistrationCertificate +-- ] +-- +-- -- Check the newly created files have not deviated from the +-- -- golden files +-- checkTextEnvelopeFormat +-- registrationCertificateType +-- referenceDelegationCertificate +-- deregistrationCertificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli index 89bc48f9a4..a8f8ca908e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -28,7 +28,7 @@ Usage: cardano-cli shelley | transaction ) - Shelley era commands + Shelley era commands - DEPRECATED - will be removed in the future Usage: cardano-cli shelley address (key-gen | key-hash | build | info) @@ -1223,7 +1223,7 @@ Usage: cardano-cli allegra | transaction ) - Allegra era commands + Allegra era commands - DEPRECATED - will be removed in the future Usage: cardano-cli allegra address (key-gen | key-hash | build | info) @@ -2418,7 +2418,7 @@ Usage: cardano-cli mary | transaction ) - Mary era commands + Mary era commands - DEPRECATED - will be removed in the future Usage: cardano-cli mary address (key-gen | key-hash | build | info) @@ -3727,7 +3727,7 @@ Usage: cardano-cli alonzo | transaction ) - Alonzo era commands + Alonzo era commands - DEPRECATED - will be removed in the future Usage: cardano-cli alonzo address (key-gen | key-hash | build | info) @@ -5059,7 +5059,7 @@ Usage: cardano-cli babbage | transaction ) - Babbage era commands + Babbage era commands - DEPRECATED - will be removed in the future Usage: cardano-cli babbage address (key-gen | key-hash | build | info) @@ -8319,7 +8319,7 @@ Usage: cardano-cli latest | transaction ) - Latest era commands (Babbage) + Latest era commands (Babbage) - DEPRECATED - will be removed in the future Usage: cardano-cli latest address (key-gen | key-hash | build | info) @@ -9659,7 +9659,7 @@ Usage: cardano-cli latest transaction view Usage: cardano-cli legacy Legacy commands - Legacy commands + Legacy commands - DEPRECATED - will be removed in the future Usage: cardano-cli legacy text-view decode-cbor diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra.cli index a3c6f7e817..fccc1d9c97 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra.cli @@ -11,7 +11,7 @@ Usage: cardano-cli allegra | transaction ) - Allegra era commands + Allegra era commands - DEPRECATED - will be removed in the future Available options: -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_view.cli index 9f804c4d65..1085feec6a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_view.cli @@ -1 +1,2 @@ +WARNING: Selected era is deprecated and will be removed in the future. Command "era transaction view" has been removed. Please use "debug transaction view" instead. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo.cli index a07934300d..996405d634 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo.cli @@ -11,7 +11,7 @@ Usage: cardano-cli alonzo | transaction ) - Alonzo era commands + Alonzo era commands - DEPRECATED - will be removed in the future Available options: -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_view.cli index 9f804c4d65..1085feec6a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_view.cli @@ -1 +1,2 @@ +WARNING: Selected era is deprecated and will be removed in the future. Command "era transaction view" has been removed. Please use "debug transaction view" instead. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage.cli index d936e0ea4f..ffbff170a5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage.cli @@ -11,7 +11,7 @@ Usage: cardano-cli babbage | transaction ) - Babbage era commands + Babbage era commands - DEPRECATED - will be removed in the future Available options: -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_view.cli index 9f804c4d65..1085feec6a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_view.cli @@ -1 +1,2 @@ +WARNING: Selected era is deprecated and will be removed in the future. Command "era transaction view" has been removed. Please use "debug transaction view" instead. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-cardano.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-cardano.cli index ad83ead8e7..f75c7eb010 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-cardano.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-cardano.cli @@ -27,12 +27,17 @@ Usage: cardano-cli genesis create-cardano genesis/delegation/spending keys. Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --genesis-dir DIR The genesis directory containing the genesis template and required genesis/delegation/spending keys. --gen-genesis-keys INT The number of genesis keys to make [default is 3]. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-staked.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-staked.cli index 2ef56d89c5..bbdd1d0e65 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-staked.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-staked.cli @@ -25,12 +25,17 @@ Usage: cardano-cli genesis create-staked genesis/delegation/spending keys. Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --key-output-format STRING Optional key output format. Accepted output formats are "text-envelope" and "bech32" (default is diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create.cli index bd6f7b1c31..5cc0a8f634 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create.cli @@ -18,12 +18,17 @@ Usage: cardano-cli genesis create genesis/delegation/spending keys. Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --key-output-format STRING Optional key output format. Accepted output formats are "text-envelope" and "bech32" (default is diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-genesis-key-delegation-certificate.cli index b5a2245283..8f258665fc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-genesis-key-delegation-certificate.cli @@ -22,10 +22,14 @@ Usage: cardano-cli governance create-genesis-key-delegation-certificate Create a genesis key delegation certificate Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future --babbage-era Specify the Babbage era (default) --genesis-verification-key STRING Genesis verification key (hex-encoded). diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate.cli index baf64ac666..4fc1297069 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate.cli @@ -19,10 +19,14 @@ Usage: cardano-cli governance create-mir-certificate Create an MIR (Move Instantaneous Rewards) certificate Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future --babbage-era Specify the Babbage era (default) --reserves Use the reserves pot. --treasury Use the treasury pot. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_stake-addresses.cli index 9ca20fe42c..1c4148ee92 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_stake-addresses.cli @@ -15,10 +15,14 @@ Usage: cardano-cli governance create-mir-certificate stake-addresses Create an MIR certificate to pay stake addresses Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future --babbage-era Specify the Babbage era (default) --reserves Use the reserves pot. --treasury Use the treasury pot. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-rewards.cli index a1c4a904ff..8d6d8dd20b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-rewards.cli @@ -12,10 +12,14 @@ Usage: cardano-cli governance create-mir-certificate transfer-to-rewards pot Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future --babbage-era Specify the Babbage era (default) --transfer LOVELACE The amount to transfer. --out-file FILE The output file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-treasury.cli index f6e15f65d5..b2f3533f40 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-treasury.cli @@ -12,10 +12,14 @@ Usage: cardano-cli governance create-mir-certificate transfer-to-treasury pot Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future --babbage-era Specify the Babbage era (default) --transfer LOVELACE The amount to transfer. --out-file FILE The output file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest.cli index 59ff0a091e..70063a9bf4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest.cli @@ -11,7 +11,7 @@ Usage: cardano-cli latest | transaction ) - Latest era commands (Babbage) + Latest era commands (Babbage) - DEPRECATED - will be removed in the future Available options: -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_view.cli index 9f804c4d65..1085feec6a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_view.cli @@ -1 +1,2 @@ +WARNING: Selected era is deprecated and will be removed in the future. Command "era transaction view" has been removed. Please use "debug transaction view" instead. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_Legacy_commands.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_Legacy_commands.cli index 8079b3bab4..26203ad784 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_Legacy_commands.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_Legacy_commands.cli @@ -2,4 +2,4 @@ Invalid argument `Legacy' Usage: cardano-cli legacy Legacy commands - Legacy commands + Legacy commands - DEPRECATED - will be removed in the future diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-cardano.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-cardano.cli index f98fe2ccbc..5f40527b0d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-cardano.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-cardano.cli @@ -27,12 +27,17 @@ Usage: cardano-cli legacy genesis create-cardano genesis/delegation/spending keys. Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --genesis-dir DIR The genesis directory containing the genesis template and required genesis/delegation/spending keys. --gen-genesis-keys INT The number of genesis keys to make [default is 3]. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-staked.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-staked.cli index 3d89e00c9c..dd90d321b1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-staked.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-staked.cli @@ -27,12 +27,17 @@ Usage: cardano-cli legacy genesis create-staked genesis/delegation/spending keys. Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --key-output-format STRING Optional key output format. Accepted output formats are "text-envelope" and "bech32" (default is diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create.cli index deb636083d..c147133cfa 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create.cli @@ -18,12 +18,17 @@ Usage: cardano-cli legacy genesis create genesis/delegation/spending keys. Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --key-output-format STRING Optional key output format. Accepted output formats are "text-envelope" and "bech32" (default is diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-genesis-key-delegation-certificate.cli index 3f3dad9576..38f7072dd6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-genesis-key-delegation-certificate.cli @@ -22,10 +22,14 @@ Usage: cardano-cli legacy governance create-genesis-key-delegation-certificate Create a genesis key delegation certificate Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future --babbage-era Specify the Babbage era (default) --genesis-verification-key STRING Genesis verification key (hex-encoded). diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate.cli index aa0dc4d34d..9371cce567 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate.cli @@ -19,10 +19,14 @@ Usage: cardano-cli legacy governance create-mir-certificate Create an MIR (Move Instantaneous Rewards) certificate Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future --babbage-era Specify the Babbage era (default) --reserves Use the reserves pot. --treasury Use the treasury pot. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_stake-addresses.cli index d012b21860..5b00c63d95 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_stake-addresses.cli @@ -15,10 +15,14 @@ Usage: cardano-cli legacy governance create-mir-certificate stake-addresses Create an MIR certificate to pay stake addresses Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future --babbage-era Specify the Babbage era (default) --reserves Use the reserves pot. --treasury Use the treasury pot. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_transfer-to-rewards.cli index 6a3e6a89e5..15020a4dcf 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_transfer-to-rewards.cli @@ -12,10 +12,14 @@ Usage: cardano-cli legacy governance create-mir-certificate transfer-to-rewards pot Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future --babbage-era Specify the Babbage era (default) --transfer LOVELACE The amount to transfer. --out-file FILE The output file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_transfer-to-treasury.cli index c0b0b20937..86e0849089 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_transfer-to-treasury.cli @@ -12,10 +12,14 @@ Usage: cardano-cli legacy governance create-mir-certificate transfer-to-treasury pot Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future --babbage-era Specify the Babbage era (default) --transfer LOVELACE The amount to transfer. --out-file FILE The output file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_delegation-certificate.cli index 9b66edd189..b3b832475a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_delegation-certificate.cli @@ -21,12 +21,17 @@ Usage: cardano-cli legacy stake-address delegation-certificate Create a stake address pool delegation certificate Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --stake-verification-key STRING Stake verification key (Bech32 or hex-encoded). --stake-verification-key-file FILE diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_deregistration-certificate.cli index 9671ea1b6a..d9af6f74c6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_deregistration-certificate.cli @@ -18,12 +18,17 @@ Usage: cardano-cli legacy stake-address deregistration-certificate Create a stake address deregistration certificate Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --stake-verification-key STRING Stake verification key (Bech32 or hex-encoded). --stake-verification-key-file FILE diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_registration-certificate.cli index 4f0c91f98f..9807adaaba 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_registration-certificate.cli @@ -18,12 +18,17 @@ Usage: cardano-cli legacy stake-address registration-certificate Create a stake address registration certificate Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --stake-verification-key STRING Stake verification key (Bech32 or hex-encoded). --stake-verification-key-file FILE diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_deregistration-certificate.cli index 021ad40d8f..53ac63ade8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_deregistration-certificate.cli @@ -15,12 +15,17 @@ Usage: cardano-cli legacy stake-pool deregistration-certificate Create a stake pool deregistration certificate Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --stake-pool-verification-key STRING Stake pool verification key (Bech32 or hex-encoded). --cold-verification-key-file FILE diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_registration-certificate.cli index db4f17822c..dbf5d5fb4f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_registration-certificate.cli @@ -38,12 +38,17 @@ Usage: cardano-cli legacy stake-pool registration-certificate Create a stake pool registration certificate Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --stake-pool-verification-key STRING Stake pool verification key (Bech32 or hex-encoded). --cold-verification-key-file FILE diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build-raw.cli index 0fb55ed306..52d89f0e93 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build-raw.cli @@ -134,12 +134,18 @@ Usage: cardano-cli legacy transaction build-raw Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Available options: - --byron-era Specify the Byron era - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) + --byron-era Specify the Byron era - DEPRECATED - will be removed + in the future + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era (default) - DEPRECATED - will + be removed in the future --script-valid Assertion that the script is valid. (default) --script-invalid Assertion that the script is invalid. If a transaction is submitted with such a script, the diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build.cli index 44d02588b1..8d6acc377e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build.cli @@ -161,11 +161,16 @@ Available options: CARDANO_NODE_SOCKET_PATH environment variable. The argument is optional if CARDANO_NODE_SOCKET_PATH is defined and mandatory otherwise. - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era (default) - DEPRECATED - will + be removed in the future --cardano-mode For talking to a node running in full Cardano mode (default). --epoch-slots SLOTS The number of slots per epoch for the Byron era. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-required-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-required-utxo.cli index 5909789562..56c0fdccb7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-required-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-required-utxo.cli @@ -24,12 +24,17 @@ Usage: cardano-cli legacy transaction calculate-min-required-utxo Calculate the minimum required UTxO for a transaction output. Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --protocol-params-file FILE Filepath of the JSON-encoded protocol parameters file --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-value.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-value.cli index 14093dcb51..54d21d6648 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-value.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-value.cli @@ -24,12 +24,17 @@ Usage: cardano-cli legacy transaction calculate-min-value DEPRECATED: Use 'calculate-min-required-utxo' instead. Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --protocol-params-file FILE Filepath of the JSON-encoded protocol parameters file --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary.cli index b9331aba22..0353f82c1a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary.cli @@ -11,7 +11,7 @@ Usage: cardano-cli mary | transaction ) - Mary era commands + Mary era commands - DEPRECATED - will be removed in the future Available options: -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_view.cli index 9f804c4d65..1085feec6a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_view.cli @@ -1 +1,2 @@ +WARNING: Selected era is deprecated and will be removed in the future. Command "era transaction view" has been removed. Please use "debug transaction view" instead. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley.cli index c20ad10b29..150c77ceb3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley.cli @@ -11,7 +11,7 @@ Usage: cardano-cli shelley | transaction ) - Shelley era commands + Shelley era commands - DEPRECATED - will be removed in the future Available options: -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_view.cli index 9f804c4d65..1085feec6a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_view.cli @@ -1 +1,2 @@ +WARNING: Selected era is deprecated and will be removed in the future. Command "era transaction view" has been removed. Please use "debug transaction view" instead. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_delegation-certificate.cli index c1e421604b..f4308c3af7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_delegation-certificate.cli @@ -21,12 +21,17 @@ Usage: cardano-cli stake-address delegation-certificate Create a stake address pool delegation certificate Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --stake-verification-key STRING Stake verification key (Bech32 or hex-encoded). --stake-verification-key-file FILE diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_deregistration-certificate.cli index 3236ed020a..815f3af32d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_deregistration-certificate.cli @@ -18,12 +18,17 @@ Usage: cardano-cli stake-address deregistration-certificate Create a stake address deregistration certificate Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --stake-verification-key STRING Stake verification key (Bech32 or hex-encoded). --stake-verification-key-file FILE diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_registration-certificate.cli index a3e5492c41..1086bcb867 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_registration-certificate.cli @@ -18,12 +18,17 @@ Usage: cardano-cli stake-address registration-certificate Create a stake address registration certificate Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --stake-verification-key STRING Stake verification key (Bech32 or hex-encoded). --stake-verification-key-file FILE diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_deregistration-certificate.cli index 86043da82b..50e234bed9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_deregistration-certificate.cli @@ -15,12 +15,17 @@ Usage: cardano-cli stake-pool deregistration-certificate Create a stake pool deregistration certificate Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --stake-pool-verification-key STRING Stake pool verification key (Bech32 or hex-encoded). --cold-verification-key-file FILE diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_registration-certificate.cli index b82b49f9ec..c0dfba337a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_registration-certificate.cli @@ -38,12 +38,17 @@ Usage: cardano-cli stake-pool registration-certificate Create a stake pool registration certificate Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --stake-pool-verification-key STRING Stake pool verification key (Bech32 or hex-encoded). --cold-verification-key-file FILE diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli index 93acee9795..72ddc1ab55 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli @@ -132,12 +132,18 @@ Usage: cardano-cli transaction build-raw Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Available options: - --byron-era Specify the Byron era - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) + --byron-era Specify the Byron era - DEPRECATED - will be removed + in the future + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era (default) - DEPRECATED - will + be removed in the future --script-valid Assertion that the script is valid. (default) --script-invalid Assertion that the script is invalid. If a transaction is submitted with such a script, the diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli index c03d260244..0bb2ca8757 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli @@ -156,11 +156,16 @@ Available options: CARDANO_NODE_SOCKET_PATH environment variable. The argument is optional if CARDANO_NODE_SOCKET_PATH is defined and mandatory otherwise. - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era (default) - DEPRECATED - will + be removed in the future --cardano-mode For talking to a node running in full Cardano mode (default). --epoch-slots SLOTS The number of slots per epoch for the Byron era. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-required-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-required-utxo.cli index 0af8255ef4..ddaf68b896 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-required-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-required-utxo.cli @@ -24,12 +24,17 @@ Usage: cardano-cli transaction calculate-min-required-utxo Calculate the minimum required UTxO for a transaction output. Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --protocol-params-file FILE Filepath of the JSON-encoded protocol parameters file --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-value.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-value.cli index 53df137bd3..0283166e1f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-value.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-value.cli @@ -24,12 +24,17 @@ Usage: cardano-cli transaction calculate-min-value DEPRECATED: Use 'calculate-min-required-utxo' instead. Available options: - --shelley-era Specify the Shelley era - --allegra-era Specify the Allegra era - --mary-era Specify the Mary era - --alonzo-era Specify the Alonzo era - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era + --shelley-era Specify the Shelley era - DEPRECATED - will be + removed in the future + --allegra-era Specify the Allegra era - DEPRECATED - will be + removed in the future + --mary-era Specify the Mary era - DEPRECATED - will be removed + in the future + --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed + in the future + --babbage-era Specify the Babbage era - DEPRECATED - will be + removed in the future + --conway-era Specify the Conway era (default) --protocol-params-file FILE Filepath of the JSON-encoded protocol parameters file --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS diff --git a/cardano-cli/test/cardano-cli-golden/files/input/shelley/certificates/stake_address_deregistration_certificate b/cardano-cli/test/cardano-cli-golden/files/input/shelley/certificates/stake_address_deregistration_certificate index 6a0e555d2d..95edee6d83 100644 --- a/cardano-cli/test/cardano-cli-golden/files/input/shelley/certificates/stake_address_deregistration_certificate +++ b/cardano-cli/test/cardano-cli-golden/files/input/shelley/certificates/stake_address_deregistration_certificate @@ -2,4 +2,4 @@ "type": "CertificateShelley", "description": "Stake Address Deregistration Certificate", "cborHex": "82018200581cd0efd9836e62225a47baf9bedfeaccbb86ba3f49d9edc4ac0aa26df5" -} \ No newline at end of file +} diff --git a/cardano-cli/test/cardano-cli-golden/files/input/shelley/certificates/stake_address_registration_certificate b/cardano-cli/test/cardano-cli-golden/files/input/shelley/certificates/stake_address_registration_certificate index 128078d121..06d9611fd7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/input/shelley/certificates/stake_address_registration_certificate +++ b/cardano-cli/test/cardano-cli-golden/files/input/shelley/certificates/stake_address_registration_certificate @@ -2,4 +2,4 @@ "type": "CertificateShelley", "description": "Stake Address Registration Certificate", "cborHex": "82008200581cc6ea7e348d300b32798888497290db24a99a36f2238ed9668f602d7a" -} \ No newline at end of file +}