Skip to content

Commit 48f544a

Browse files
committed
Delete top-level alonzo command group and delete associated tests
1 parent e27175c commit 48f544a

File tree

104 files changed

+18
-3909
lines changed

Some content is hidden

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

104 files changed

+18
-3909
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ pAnyEraCommand envCli =
4848
[ -- Note, byron is ommitted because there is already a legacy command group for it.
4949

5050
Opt.hsubparser $
51-
commandWithMetavar "alonzo" $
52-
Opt.info (AnyEraCommandOf ShelleyBasedEraAlonzo <$> pCmds ShelleyBasedEraAlonzo envCli) $
53-
Opt.progDesc ("Alonzo era commands" <> deprecationText)
54-
, Opt.hsubparser $
5551
commandWithMetavar "babbage" $
5652
Opt.info (AnyEraCommandOf ShelleyBasedEraBabbage <$> pCmds ShelleyBasedEraBabbage envCli) $
5753
Opt.progDesc ("Babbage era commands" <> deprecationText)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import Hedgehog.Extras.Test.Base qualified as H
1818
hprop_golden_shelleyTx :: Property
1919
hprop_golden_shelleyTx = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -> do
2020
-- Reference keys
21-
let goldenReferenceTx = "test/cardano-cli-golden/files/golden/alonzo/tx"
21+
let goldenReferenceTx = "test/cardano-cli-golden/files/golden/babbage/tx"
2222

2323
-- Key filepaths
2424
paymentSignKey <-
@@ -29,7 +29,7 @@ hprop_golden_shelleyTx = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -> do
2929
-- Create transaction body
3030
void $
3131
execCardanoCLI
32-
[ "alonzo"
32+
[ "babbage"
3333
, "transaction"
3434
, "build-raw"
3535
, "--tx-in"

cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Build.hs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ hprop_golden_shelley_transaction_build =
2929

3030
void $
3131
execCardanoCLI
32-
[ "alonzo"
32+
[ "babbage"
3333
, "transaction"
3434
, "build-raw"
3535
, "--tx-in"
@@ -56,7 +56,7 @@ hprop_golden_shelley_transaction_build_certificate_script_witnessed =
5656

5757
void $
5858
execCardanoCLI
59-
[ "alonzo"
59+
[ "babbage"
6060
, "transaction"
6161
, "build-raw"
6262
, "--tx-in"
@@ -98,7 +98,7 @@ hprop_golden_shelley_transaction_build_minting =
9898

9999
void $
100100
execCardanoCLI
101-
[ "alonzo"
101+
[ "babbage"
102102
, "transaction"
103103
, "build-raw"
104104
, "--tx-in"
@@ -131,7 +131,7 @@ hprop_golden_shelley_transaction_build_withdrawal_script_witnessed =
131131

132132
void $
133133
execCardanoCLI
134-
[ "alonzo"
134+
[ "babbage"
135135
, "transaction"
136136
, "build-raw"
137137
, "--tx-in"
@@ -160,7 +160,7 @@ hprop_golden_shelley_transaction_build_txin_script_witnessed =
160160

161161
void $
162162
execCardanoCLI
163-
[ "alonzo"
163+
[ "babbage"
164164
, "transaction"
165165
, "build-raw"
166166
, "--tx-in"

cardano-cli/test/cardano-cli-golden/Test/Golden/TxView.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ goldenDir, inputDir :: FilePath
1717
goldenDir = "test/cardano-cli-golden/files/golden"
1818
inputDir = "test/cardano-cli-golden/files/input"
1919

20-
hprop_golden_view_alonzo_yaml :: Property
21-
hprop_golden_view_alonzo_yaml =
20+
hprop_golden_view_babbage_yaml :: Property
21+
hprop_golden_view_babbage_yaml =
2222
propertyOnce $
2323
moduleWorkspace "tmp" $ \tempDir -> do
2424
transactionBodyFile <- noteTempFile tempDir "transaction-body-file"
2525

2626
-- Create transaction body
2727
void $
2828
execCardanoCLI
29-
[ "alonzo"
29+
[ "babbage"
3030
, "transaction"
3131
, "build-raw"
3232
, "--tx-in"

cardano-cli/test/cardano-cli-golden/files/golden/alonzo/transaction-view.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ auxiliary scripts: null
22
certificates: null
33
collateral inputs: []
44
datums: []
5-
era: Alonzo
5+
era: Babbage
66
fee: 139 Lovelace
77
inputs:
88
- fe5dd07fb576bff960d6e066eade5b26cdb5afebe29f76ea58d0a098bce5d891#135
@@ -35,7 +35,7 @@ outputs:
3535
stake reference:
3636
stake credential key hash: c0a060899d6806f810547e2cb66f92d5c817a16af2a20f269e258ee0
3737
redeemers: []
38-
reference inputs: null
38+
reference inputs: []
3939
required signers (payment key hashes needed for scripts): null
4040
return collateral: null
4141
scripts:
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"type": "Tx AlonzoEra",
2+
"type": "Tx BabbageEra",
33
"description": "Ledger Cddl Format",
44
"cborHex": "84a30081825820f62cd7bc15d8c6d2c8519fb8d13c57c0157ab6bab50af62bc63706feb966393d0001828258390076619da7963eaa588252c45e960667a4647eed69135f51f5a10f2888d2c20ac07056fc8899c47d825cefd9dcf5efba150236e043262e2b431b0000011764f7be0782581d604088059bbeb6add02eecd0c6a2a52c06910f2a6b4ba0029e9fe6ed131a00989680021a00028b79a100818258208dc60533b5dfa60a530955a696323a2ef4f14e8bc95a8f84cf6c441fea4234275840043220211a264209f6e61903e60e80093b7b3a08e8bc5fe8f8707635acd69b6e0589e61aea544b87729983955decded90a59f9701042bebe57f2afba7c94fc02f5f6"
55
}

cardano-cli/test/cardano-cli-golden/files/golden/base_help.cli

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Usage: cardano-cli
1010
| query
1111
| legacy
1212
| byron
13-
| alonzo
1413
| babbage
1514
| conway
1615
| latest
@@ -38,8 +37,6 @@ Byron specific commands
3837
byron Byron specific commands
3938

4039
Available commands:
41-
alonzo Alonzo era commands - DEPRECATED - will be removed in
42-
the future
4340
babbage Babbage era commands - DEPRECATED - will be removed
4441
in the future
4542
conway Conway era commands

0 commit comments

Comments
 (0)