From 25fcdff827c111e9bbddebfc679dc144cf96dd35 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 | 43 +++++++++---------- 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 | 16 ++++--- .../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 | 15 ++++--- .../golden/help/genesis_create-staked.cli | 15 ++++--- .../files/golden/help/genesis_create.cli | 15 ++++--- ...ate-genesis-key-delegation-certificate.cli | 15 ++++--- .../governance_create-mir-certificate.cli | 15 ++++--- ...create-mir-certificate_stake-addresses.cli | 15 ++++--- ...te-mir-certificate_transfer-to-rewards.cli | 15 ++++--- ...e-mir-certificate_transfer-to-treasury.cli | 15 ++++--- .../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 | 15 ++++--- .../help/legacy_genesis_create-staked.cli | 15 ++++--- .../golden/help/legacy_genesis_create.cli | 15 ++++--- ...ate-genesis-key-delegation-certificate.cli | 15 ++++--- ...gacy_governance_create-mir-certificate.cli | 15 ++++--- ...create-mir-certificate_stake-addresses.cli | 15 ++++--- ...te-mir-certificate_transfer-to-rewards.cli | 15 ++++--- ...e-mir-certificate_transfer-to-treasury.cli | 15 ++++--- ...y_stake-address_delegation-certificate.cli | 15 ++++--- ...ake-address_deregistration-certificate.cli | 15 ++++--- ...stake-address_registration-certificate.cli | 15 ++++--- ..._stake-pool_deregistration-certificate.cli | 15 ++++--- ...cy_stake-pool_registration-certificate.cli | 15 ++++--- .../help/legacy_transaction_build-raw.cli | 18 +++++--- .../golden/help/legacy_transaction_build.cli | 15 ++++--- ...ransaction_calculate-min-required-utxo.cli | 15 ++++--- ...legacy_transaction_calculate-min-value.cli | 15 ++++--- .../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 | 15 ++++--- ...ake-address_deregistration-certificate.cli | 15 ++++--- ...stake-address_registration-certificate.cli | 15 ++++--- .../stake-pool_deregistration-certificate.cli | 15 ++++--- .../stake-pool_registration-certificate.cli | 15 ++++--- .../golden/help/transaction_build-raw.cli | 18 +++++--- .../files/golden/help/transaction_build.cli | 15 ++++--- ...ransaction_calculate-min-required-utxo.cli | 15 ++++--- .../help/transaction_calculate-min-value.cli | 15 ++++--- .../stake_address_deregistration_certificate | 2 +- .../stake_address_registration_certificate | 2 +- 57 files changed, 427 insertions(+), 248 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..1795b4b18b 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs @@ -57,12 +57,6 @@ import qualified Text.Parsec.String as Parsec import qualified Text.Parsec.Token as Parsec import Text.Read (readEither, readMaybe) -defaultShelleyBasedEra :: EraInEon ShelleyBasedEra -defaultShelleyBasedEra = EraInEon ShelleyBasedEraBabbage - -defaultShelleyToBabbageEra :: EraInEon ShelleyToBabbageEra -defaultShelleyToBabbageEra = EraInEon ShelleyToBabbageEraBabbage - command' :: String -> String -> Parser a -> Mod CommandFields a command' c descr p = mconcat @@ -373,40 +367,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 (default)" <> deprecationText] , Opt.flag' (EraInEon ShelleyBasedEraConway) $ mconcat [Opt.long "conway-era", Opt.help "Specify the Conway era"] ] , maybeToList $ pure <$> envCliAnyShelleyBasedEra envCli - , pure $ pure defaultShelleyBasedEra + , pure . pure $ EraInEon ShelleyBasedEraBabbage ] +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)"] + mconcat [Opt.long "babbage-era", Opt.help $ "Specify the Babbage era (default)" <> deprecationText] ] , maybeToList $ pure <$> envCliAnyShelleyToBabbageEra envCli - , pure $ pure defaultShelleyToBabbageEra + , pure . pure $ EraInEon ShelleyToBabbageEraBabbage ] pShelleyBasedShelley :: EnvCli -> Parser (EraInEon ShelleyBasedEra) @@ -415,7 +412,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 +426,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 +440,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 +454,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 +468,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 $ 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..204c6fe9b3 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 @@ -2,9 +2,10 @@ module Test.Golden.Shelley.TextEnvelope.Certificates.StakeAddress where -import Cardano.Api (AsType (..), CardanoEra (..), textEnvelopeTypeInEra) +import Cardano.Api import Control.Monad (void) +import Data.Char (toLower) import Test.Cardano.CLI.Util @@ -20,6 +21,7 @@ import qualified Hedgehog.Extras.Test.File as H hprop_golden_shelleyStakeAddressCertificates :: Property hprop_golden_shelleyStakeAddressCertificates = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -> do let era = BabbageEra + eraStr = map toLower . docToString $ pretty era -- Reference files referenceRegistrationCertificate <- @@ -42,7 +44,8 @@ hprop_golden_shelleyStakeAddressCertificates = propertyOnce . H.moduleWorkspace -- Generate stake verification key void $ execCardanoCLI - [ "stake-address" + [ eraStr + , "stake-address" , "key-gen" , "--verification-key-file" , verKey @@ -55,7 +58,7 @@ hprop_golden_shelleyStakeAddressCertificates = propertyOnce . H.moduleWorkspace -- Create stake address registration certificate void $ execCardanoCLI - [ "babbage" + [ eraStr , "stake-address" , "registration-certificate" , "--stake-verification-key-file" @@ -76,7 +79,7 @@ hprop_golden_shelleyStakeAddressCertificates = propertyOnce . H.moduleWorkspace -- Create stake address deregistration certificate void $ execCardanoCLI - [ "babbage" + [ eraStr , "stake-address" , "deregistration-certificate" , "--stake-verification-key-file" @@ -95,8 +98,9 @@ hprop_golden_shelleyStakeAddressCertificates = propertyOnce . H.moduleWorkspace -- Create stake address delegation certificate void $ execCardanoCLI - [ "stake-address" - , "delegation-certificate" + [ eraStr + , "stake-address" + , "stake-delegation-certificate" , "--stake-verification-key-file" , verKey , "--cold-verification-key-file" 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..428a22ac1b 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,11 +27,16 @@ 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) + --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 --conway-era Specify the Conway era --genesis-dir DIR The genesis directory containing the genesis template and required genesis/delegation/spending keys. 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..f811fffc96 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,11 +25,16 @@ 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) + --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 --conway-era Specify the Conway era --key-output-format STRING Optional key output format. Accepted output formats 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..a949f6fe52 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,11 +18,16 @@ 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) + --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 --conway-era Specify the Conway era --key-output-format STRING Optional key output format. Accepted output formats 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..b9a08bdfb0 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,11 +22,16 @@ 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 - --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 --genesis-verification-key STRING Genesis verification key (hex-encoded). --genesis-verification-key-file FILE 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..b708b577b1 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,11 +19,16 @@ 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 - --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 --reserves Use the reserves pot. --treasury Use the treasury pot. --stake-address ADDRESS Target stake address (bech32 format). 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..10c1a8784f 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,11 +15,16 @@ 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 - --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 --reserves Use the reserves pot. --treasury Use the treasury pot. --stake-address ADDRESS Target stake address (bech32 format). 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..89cc553fe4 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,11 +12,16 @@ 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 - --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 --transfer LOVELACE The amount to transfer. --out-file FILE The output file. -h,--help Show this help text 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..7a09a1e6f5 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,11 +12,16 @@ 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 - --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 --transfer LOVELACE The amount to transfer. --out-file FILE The output file. -h,--help Show this help text 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..e4d476ccbc 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,11 +27,16 @@ 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) + --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 --conway-era Specify the Conway era --genesis-dir DIR The genesis directory containing the genesis template and required genesis/delegation/spending keys. 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..2ba2c88df2 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,11 +27,16 @@ 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) + --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 --conway-era Specify the Conway era --key-output-format STRING Optional key output format. Accepted output formats 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..faf7e4bf4d 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,11 +18,16 @@ 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) + --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 --conway-era Specify the Conway era --key-output-format STRING Optional key output format. Accepted output formats 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..8388f43f7c 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,11 +22,16 @@ 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 - --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 --genesis-verification-key STRING Genesis verification key (hex-encoded). --genesis-verification-key-file FILE 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..02afe85179 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,11 +19,16 @@ 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 - --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 --reserves Use the reserves pot. --treasury Use the treasury pot. --stake-address ADDRESS Target stake address (bech32 format). 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..21faaf69b9 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,11 +15,16 @@ 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 - --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 --reserves Use the reserves pot. --treasury Use the treasury pot. --stake-address ADDRESS Target stake address (bech32 format). 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..6764c99dfe 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,11 +12,16 @@ 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 - --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 --transfer LOVELACE The amount to transfer. --out-file FILE The output file. -h,--help Show this help text 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..ac571c6b34 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,11 +12,16 @@ 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 - --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 --transfer LOVELACE The amount to transfer. --out-file FILE The output file. -h,--help Show this help text 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..f6c7281e52 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,11 +21,16 @@ 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) + --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 --conway-era Specify the Conway era --stake-verification-key STRING Stake verification key (Bech32 or hex-encoded). 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..0901b22c6e 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,11 +18,16 @@ 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) + --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 --conway-era Specify the Conway era --stake-verification-key STRING Stake verification key (Bech32 or hex-encoded). 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..2426f02ed8 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,11 +18,16 @@ 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) + --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 --conway-era Specify the Conway era --stake-verification-key STRING Stake verification key (Bech32 or hex-encoded). 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..5aa66ec360 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,11 +15,16 @@ 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) + --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 --conway-era Specify the Conway era --stake-pool-verification-key STRING Stake pool verification key (Bech32 or hex-encoded). 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..5f491e8201 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,11 +38,16 @@ 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) + --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 --conway-era Specify the Conway era --stake-pool-verification-key STRING Stake pool verification key (Bech32 or hex-encoded). 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..876a88064b 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,11 +24,16 @@ 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) + --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 --conway-era Specify the Conway era --protocol-params-file FILE Filepath of the JSON-encoded protocol parameters file 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..e45bc3824c 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,11 +24,16 @@ 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) + --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 --conway-era Specify the Conway era --protocol-params-file FILE Filepath of the JSON-encoded protocol parameters file 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..5c29556455 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,11 +21,16 @@ 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) + --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 --conway-era Specify the Conway era --stake-verification-key STRING Stake verification key (Bech32 or hex-encoded). 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..52032ffb85 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,11 +18,16 @@ 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) + --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 --conway-era Specify the Conway era --stake-verification-key STRING Stake verification key (Bech32 or hex-encoded). 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..8a2f890322 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,11 +18,16 @@ 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) + --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 --conway-era Specify the Conway era --stake-verification-key STRING Stake verification key (Bech32 or hex-encoded). 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..882de0a152 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,11 +15,16 @@ 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) + --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 --conway-era Specify the Conway era --stake-pool-verification-key STRING Stake pool verification key (Bech32 or hex-encoded). 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..03c1f563e9 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,11 +38,16 @@ 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) + --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 --conway-era Specify the Conway era --stake-pool-verification-key STRING Stake pool verification key (Bech32 or hex-encoded). 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..9accb4198a 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,11 +24,16 @@ 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) + --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 --conway-era Specify the Conway era --protocol-params-file FILE Filepath of the JSON-encoded protocol parameters file 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..7eb9a9da55 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,11 +24,16 @@ 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) + --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 --conway-era Specify the Conway era --protocol-params-file FILE Filepath of the JSON-encoded protocol parameters file 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 +}