From c23f3fea64dbac2bb4c985eebef07465544d2a11 Mon Sep 17 00:00:00 2001 From: Carlos LopezDeLara <64222734+CarlosLopezDeLara@users.noreply.github.com> Date: Wed, 25 Oct 2023 08:43:38 -0600 Subject: [PATCH] update certificate descriptions to match the ones we had when it was under DRep.hs --- cardano-cli/src/Cardano/CLI/EraBased/Run/StakeAddress.hs | 6 +++--- .../golden/governance/stakeaddress/alwaysAbstainDeleg.cert | 2 +- .../golden/governance/stakeaddress/noConfidenceDeleg.cert | 2 +- .../governance/stakeaddress/poolAndAlwaysAbstainDeleg.cert | 2 +- .../governance/stakeaddress/poolAndDrepVkeyDeleg.cert | 2 +- .../governance/stakeaddress/poolAndNoConfidenceDeleg.cert | 2 +- .../certificates/stake_address_delegation_certificate | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Run/StakeAddress.hs b/cardano-cli/src/Cardano/CLI/EraBased/Run/StakeAddress.hs index f9885f9ee8..01a7360fbc 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Run/StakeAddress.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Run/StakeAddress.hs @@ -191,7 +191,7 @@ runStakeAddressStakeDelegationCertificateCmd sbe stakeVerifier poolVKeyOrHashOrF firstExceptT StakeAddressCmdWriteFileError . newExceptT $ writeLazyByteStringFile outFp - $ textEnvelopeToJSON (Just @TextEnvelopeDescr "Stake Address Delegation Certificate") certificate + $ textEnvelopeToJSON (Just @TextEnvelopeDescr "Stake Delegation Certificate") certificate runStakeAddressStakeAndVoteDelegationCertificateCmd :: () => ConwayEraOnwards era @@ -226,7 +226,7 @@ runStakeAddressStakeAndVoteDelegationCertificateCmd w stakeVerifier poolVKeyOrHa firstExceptT StakeAddressCmdWriteFileError . newExceptT $ writeLazyByteStringFile outFp - $ textEnvelopeToJSON (Just @TextEnvelopeDescr "Stake Address Delegation Certificate") certificate + $ textEnvelopeToJSON (Just @TextEnvelopeDescr "Stake and Vote Delegation Certificate") certificate runStakeAddressVoteDelegationCertificateCmd :: () => ConwayEraOnwards era @@ -255,7 +255,7 @@ runStakeAddressVoteDelegationCertificateCmd w stakeVerifier voteDelegationTarget firstExceptT StakeAddressCmdWriteFileError . newExceptT $ writeLazyByteStringFile outFp - $ textEnvelopeToJSON (Just @TextEnvelopeDescr "Stake Address Delegation Certificate") certificate + $ textEnvelopeToJSON (Just @TextEnvelopeDescr "Vote Delegation Certificate") certificate createStakeDelegationCertificate :: forall era. () => StakeCredential diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/alwaysAbstainDeleg.cert b/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/alwaysAbstainDeleg.cert index b2e7d36a9e..c256ca8a75 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/alwaysAbstainDeleg.cert +++ b/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/alwaysAbstainDeleg.cert @@ -1,5 +1,5 @@ { "type": "CertificateShelley", - "description": "Stake Address Delegation Certificate", + "description": "Vote Delegation Certificate", "cborHex": "83098200581cef1785cf18928f8353c90e76b7a8fc60855472d31a0ea1c1c774ab018102" } \ No newline at end of file diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/noConfidenceDeleg.cert b/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/noConfidenceDeleg.cert index 70884adee7..06dc9b4470 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/noConfidenceDeleg.cert +++ b/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/noConfidenceDeleg.cert @@ -1,5 +1,5 @@ { "type": "CertificateShelley", - "description": "Stake Address Delegation Certificate", + "description": "Vote Delegation Certificate", "cborHex": "83098200581cef1785cf18928f8353c90e76b7a8fc60855472d31a0ea1c1c774ab018103" } \ No newline at end of file diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/poolAndAlwaysAbstainDeleg.cert b/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/poolAndAlwaysAbstainDeleg.cert index fcf4bb3f0d..777a264ca9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/poolAndAlwaysAbstainDeleg.cert +++ b/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/poolAndAlwaysAbstainDeleg.cert @@ -1,5 +1,5 @@ { "type": "CertificateShelley", - "description": "Stake Address Delegation Certificate", + "description": "Stake and Vote Delegation Certificate", "cborHex": "840a8200581cef1785cf18928f8353c90e76b7a8fc60855472d31a0ea1c1c774ab01581cc27cf021914a2b3bcb286d3d741979083422378c577fe757702b69888102" } \ No newline at end of file diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/poolAndDrepVkeyDeleg.cert b/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/poolAndDrepVkeyDeleg.cert index 11f95ef09a..6dc565c85f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/poolAndDrepVkeyDeleg.cert +++ b/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/poolAndDrepVkeyDeleg.cert @@ -1,5 +1,5 @@ { "type": "CertificateShelley", - "description": "Stake Address Delegation Certificate", + "description": "Stake and Vote Delegation Certificate", "cborHex": "840a8200581cef1785cf18928f8353c90e76b7a8fc60855472d31a0ea1c1c774ab01581cc27cf021914a2b3bcb286d3d741979083422378c577fe757702b69888200581ce68f9ee70599cb93d9f60678f9c6463c01938c27d9820c7bf93887a5" } \ No newline at end of file diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/poolAndNoConfidenceDeleg.cert b/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/poolAndNoConfidenceDeleg.cert index 100cdf4f9e..a2ce19f224 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/poolAndNoConfidenceDeleg.cert +++ b/cardano-cli/test/cardano-cli-golden/files/golden/governance/stakeaddress/poolAndNoConfidenceDeleg.cert @@ -1,5 +1,5 @@ { "type": "CertificateShelley", - "description": "Stake Address Delegation Certificate", + "description": "Stake and Vote Delegation Certificate", "cborHex": "840a8200581cef1785cf18928f8353c90e76b7a8fc60855472d31a0ea1c1c774ab01581cc27cf021914a2b3bcb286d3d741979083422378c577fe757702b69888103" } \ No newline at end of file diff --git a/cardano-cli/test/cardano-cli-golden/files/input/shelley/certificates/stake_address_delegation_certificate b/cardano-cli/test/cardano-cli-golden/files/input/shelley/certificates/stake_address_delegation_certificate index 34cf5f0d95..457c17bde9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/input/shelley/certificates/stake_address_delegation_certificate +++ b/cardano-cli/test/cardano-cli-golden/files/input/shelley/certificates/stake_address_delegation_certificate @@ -1,5 +1,5 @@ { "type": "CertificateShelley", - "description": "Stake Address Delegation Certificate", + "description": "Stake Delegation Certificate", "cborHex": "83028200581c6b69790498faca4908e4b44a1005d6dbec9a3d511fa62d4636355ff1581c4124a0c2ba8a7ba05824b3df23f706a1c8b3239446ab16709ae85aa1" }