Skip to content

Commit 465b83a

Browse files
committed
Remove cardano-ledger-byron-test package and references to it
and transfer its CHANGELOG to the new testlib
1 parent 1862229 commit 465b83a

File tree

10 files changed

+8
-275
lines changed

10 files changed

+8
-275
lines changed

RELEASING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,6 @@ but the changelog _only_ needs to indicate if breaking changes have been made:
335335
* `cardano-ledger-babbage-test`
336336
* `cardano-ledger-conway-test`
337337
* `cardano-crypto-test`
338-
* `cardano-ledger-byron-test`
339338

340339
A changelog which indicates that no changes have been made will have the form:
341340

REVISIONING.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ Next, you will add the actual revisions and test if you can build your packages
7272
'.#"ghc96/byron-spec-chain/1.0.0.2"' \
7373
'.#"ghc96/byron-spec-ledger/1.0.0.2"' \
7474
'.#"ghc96/cardano-ledger-byron/1.0.0.4"' \
75-
'.#"ghc96/cardano-ledger-byron-test/1.5.0.1"' \
7675
'.#"ghc96/cardano-crypto-wrapper/1.5.1.1"' \
7776
'.#"ghc96/cardano-crypto-test/1.5.0.1"' \
7877
'.#"ghc96/cardano-ledger-conway/1.12.0.0"' \
@@ -120,7 +119,6 @@ Next, you will add the actual revisions and test if you can build your packages
120119
'.#"ghc96/byron-spec-chain/1.0.0.2"' \
121120
'.#"ghc96/byron-spec-ledger/1.0.0.2"' \
122121
'.#"ghc96/cardano-ledger-byron/1.0.0.4"' \
123-
'.#"ghc96/cardano-ledger-byron-test/1.5.0.1"' \
124122
'.#"ghc96/cardano-crypto-wrapper/1.5.1.1"' \
125123
'.#"ghc96/cardano-crypto-test/1.5.0.1"' \
126124
'.#"ghc96/cardano-ledger-conway/1.12.0.0"' \
@@ -169,7 +167,6 @@ extra-packages:
169167
byron-spec-chain-1.0.0.2,
170168
byron-spec-ledger-1.0.0.2,
171169
cardano-ledger-byron-1.0.0.4,
172-
cardano-ledger-byron-test-1.5.0.1,
173170
cardano-crypto-wrapper-1.5.1.1,
174171
cardano-crypto-test-1.5.0.1,
175172
cardano-ledger-conway-1.12.0.0,
@@ -211,7 +208,6 @@ library
211208
byron-spec-chain \
212209
byron-spec-ledger \
213210
cardano-ledger-byron \
214-
cardano-ledger-byron-test \
215211
cardano-crypto-wrapper \
216212
cardano-crypto-test \
217213
cardano-ledger-conway \
@@ -260,7 +256,6 @@ library
260256
byron-spec-chain \
261257
byron-spec-ledger \
262258
cardano-ledger-byron \
263-
cardano-ledger-byron-test \
264259
cardano-crypto-wrapper \
265260
cardano-crypto-test \
266261
cardano-ledger-conway \

cabal.project

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ packages:
2929
-- byron-spec-chain:
3030
-- byron-spec-ledger:
3131
-- cardano-ledger-byron:
32-
-- cardano-ledger-byron-test:
3332
-- cardano-crypto-wrapper:
3433
-- cardano-crypto-test:
3534
-- Packages used during development and are not released to CHaPs:
@@ -56,7 +55,6 @@ packages:
5655
eras/byron/chain/executable-spec
5756
eras/byron/ledger/executable-spec
5857
eras/byron/ledger/impl
59-
eras/byron/ledger/impl/test
6058
eras/byron/crypto
6159
eras/byron/crypto/test
6260
libs/cardano-ledger-conformance

eras/byron/ledger/impl/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
### `testlib`
66

77
* Added `testlib` sublibrary as replacement of `cardano-ledger-byron-test` package
8+
* Depend on libraries that use crypton instead of cryptonite (from former `cardano-ledger-byron-test` v1.5.2.1)
9+
* Move `mainnet-genesis.json` to this test package to make `ts_prop_elaboratedCertsValid` pass when run with `cabal`. #4586 (from former `cardano-ledger-byron-test` v1.5.2.0)
810

911
## 1.1.0.0
1012

eras/byron/ledger/impl/test/.ghcid

Lines changed: 0 additions & 1 deletion
This file was deleted.

eras/byron/ledger/impl/test/CHANGELOG.md

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

eras/byron/ledger/impl/test/cardano-ledger-byron-test.cabal

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

eras/shelley/impl/cardano-ledger-shelley.cabal

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,7 @@ library testlib
167167
bytestring,
168168
cardano-data,
169169
cardano-ledger-binary:{cardano-ledger-binary, testlib},
170-
cardano-ledger-byron,
171-
cardano-ledger-byron-test,
170+
cardano-ledger-byron:{cardano-ledger-byron, testlib},
172171
cardano-ledger-core:{cardano-ledger-core, testlib},
173172
cardano-ledger-shelley,
174173
cardano-slotting:{cardano-slotting, testlib},

hie.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,15 @@ cradle:
9393
- path: "eras/byron/ledger/impl/src"
9494
component: "lib:cardano-ledger-byron"
9595

96+
- path: "eras/byron/ledger/impl/testlib"
97+
component: "cardano-ledger-byron:lib:testlib"
98+
9699
- path: "eras/byron/ledger/impl/test"
97-
component: "cardano-ledger-byron:test:cardano-ledger-byron-test"
100+
component: "cardano-ledger-byron:test:tests"
98101

99102
- path: "eras/byron/ledger/impl/test"
100103
component: "cardano-ledger-byron:test:epoch-validation-normal-form-test"
101104

102-
- path: "eras/byron/ledger/impl/test/./"
103-
component: "lib:cardano-ledger-byron-test"
104-
105105
- path: "eras/conway/impl/src"
106106
component: "lib:cardano-ledger-conway"
107107

libs/cardano-ledger-core/cardano-ledger-core.cabal

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,7 @@ library testlib
195195
cardano-crypto-test,
196196
cardano-crypto-wrapper,
197197
cardano-ledger-binary:{cardano-ledger-binary, testlib} >=1.5,
198-
cardano-ledger-byron,
199-
cardano-ledger-byron-test,
198+
cardano-ledger-byron:{cardano-ledger-byron, testlib},
200199
cardano-ledger-core,
201200
cardano-slotting,
202201
containers,

0 commit comments

Comments
 (0)