Skip to content

Commit 2e9bf97

Browse files
committed
Delete top-level babbage command group and delete associated tests
1 parent 48f544a commit 2e9bf97

File tree

135 files changed

+68
-5799
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+68
-5799
lines changed

cardano-cli/cardano-cli.cabal

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,6 @@ test-suite cardano-cli-golden
460460
Test.Golden.CreateTestnetData
461461
Test.Golden.EraBased.Governance.AnswerPoll
462462
Test.Golden.EraBased.Governance.CreatePoll
463-
Test.Golden.EraBased.Governance.VerifyPoll
464463
Test.Golden.ErrorsSpec
465464
Test.Golden.Governance.Action
466465
Test.Golden.Governance.Committee
@@ -493,10 +492,7 @@ test-suite cardano-cli-golden
493492
Test.Golden.Shelley.StakeAddress.RegistrationCertificate
494493
Test.Golden.Shelley.StakePool.RegistrationCertificate
495494
Test.Golden.Shelley.TextEnvelope.Certificates.GenesisKeyDelegation
496-
Test.Golden.Shelley.TextEnvelope.Certificates.MIR
497495
Test.Golden.Shelley.TextEnvelope.Certificates.Operational
498-
Test.Golden.Shelley.TextEnvelope.Certificates.StakeAddress
499-
Test.Golden.Shelley.TextEnvelope.Certificates.StakePool
500496
Test.Golden.Shelley.TextEnvelope.Keys.ExtendedPaymentKeys
501497
Test.Golden.Shelley.TextEnvelope.Keys.GenesisDelegateKeys
502498
Test.Golden.Shelley.TextEnvelope.Keys.GenesisKeys

cardano-cli/src/Cardano/CLI/EraBased/Option.hs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import Cardano.Api (ShelleyBasedEra (..))
88

99
import Cardano.CLI.Environment
1010
import Cardano.CLI.EraBased.Command
11-
import Cardano.CLI.EraBased.Common.Option
1211
import Cardano.CLI.EraBased.Genesis.Option
1312
import Cardano.CLI.EraBased.Governance.Option (pGovernanceCmds)
1413
import Cardano.CLI.EraBased.Query.Option
@@ -45,13 +44,7 @@ pCmds era envCli = do
4544
pAnyEraCommand :: EnvCli -> Parser AnyEraCommand
4645
pAnyEraCommand envCli =
4746
asum
48-
[ -- Note, byron is ommitted because there is already a legacy command group for it.
49-
50-
Opt.hsubparser $
51-
commandWithMetavar "babbage" $
52-
Opt.info (AnyEraCommandOf ShelleyBasedEraBabbage <$> pCmds ShelleyBasedEraBabbage envCli) $
53-
Opt.progDesc ("Babbage era commands" <> deprecationText)
54-
, Opt.hsubparser $
47+
[ Opt.hsubparser $
5548
commandWithMetavar "conway" $
5649
Opt.info (AnyEraCommandOf ShelleyBasedEraConway <$> pCmds ShelleyBasedEraConway envCli) $
5750
Opt.progDesc "Conway era commands"

cardano-cli/test/cardano-cli-golden/Test/Golden/EraBased/Governance/CreatePoll.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ hprop_golden_governanceCreatePoll =
2121

2222
stdout <-
2323
execCardanoCLI
24-
[ "babbage"
24+
[ "conway"
2525
, "governance"
2626
, "create-poll"
2727
, "--question"
@@ -50,7 +50,7 @@ hprop_golden_governanceCreateLongPoll =
5050

5151
stdout <-
5252
execCardanoCLI
53-
[ "babbage"
53+
[ "conway"
5454
, "governance"
5555
, "create-poll"
5656
, "--question"

cardano-cli/test/cardano-cli-golden/Test/Golden/EraBased/Governance/VerifyPoll.hs

Lines changed: 0 additions & 121 deletions
This file was deleted.

cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/DeregistrationCertificate.hs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ hprop_golden_shelley_stake_address_deregistration_certificate = propertyOnce . H
2727

2828
void $
2929
execCardanoCLI
30-
[ "babbage"
30+
[ "conway"
3131
, "stake-address"
3232
, "deregistration-certificate"
3333
, "--staking-verification-key-file"
3434
, verificationKeyFile
35+
, "--key-reg-deposit-amt"
36+
, "2000000"
3537
, "--out-file"
3638
, deregistrationCertFile
3739
]
@@ -41,11 +43,13 @@ hprop_golden_shelley_stake_address_deregistration_certificate = propertyOnce . H
4143

4244
void $
4345
execCardanoCLI
44-
[ "babbage"
46+
[ "conway"
4547
, "stake-address"
4648
, "deregistration-certificate"
4749
, "--stake-script-file"
4850
, exampleScript
51+
, "--key-reg-deposit-amt"
52+
, "2000000"
4953
, "--out-file"
5054
, scriptDeregistrationCertFile
5155
]

cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/RegistrationCertificate.hs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ hprop_golden_shelley_stake_address_registration_certificate = propertyOnce . H.m
2727

2828
void $
2929
execCardanoCLI
30-
[ "babbage"
30+
[ "conway"
3131
, "stake-address"
3232
, "registration-certificate"
3333
, "--staking-verification-key-file"
3434
, keyGenStakingVerificationKeyFile
35+
, "--key-reg-deposit-amt"
36+
, "2000000"
3537
, "--out-file"
3638
, registrationCertFile
3739
]
@@ -42,11 +44,13 @@ hprop_golden_shelley_stake_address_registration_certificate = propertyOnce . H.m
4244

4345
void $
4446
execCardanoCLI
45-
[ "babbage"
47+
[ "conway"
4648
, "stake-address"
4749
, "registration-certificate"
4850
, "--stake-script-file"
4951
, exampleScript
52+
, "--key-reg-deposit-amt"
53+
, "2000000"
5054
, "--out-file"
5155
, scriptRegistrationCertFile
5256
]

cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakePool/RegistrationCertificate.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ hprop_golden_shelley_stake_pool_registration_certificate = propertyOnce . H.modu
2424

2525
void $
2626
execCardanoCLI
27-
[ "babbage"
27+
[ "conway"
2828
, "stake-pool"
2929
, "registration-certificate"
3030
, "--testnet-magic"

cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/MIR.hs

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)