Skip to content

Commit 0c8706f

Browse files
authored
Merge pull request #4965 from IntersectMBO/js/expose-byron-cddls
2 parents 8467e35 + 9b0b502 commit 0c8706f

File tree

13 files changed

+26
-4
lines changed

13 files changed

+26
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ following links:
2020

2121
Era | Design Documents | Formal Specification | CDDL
2222
----|------------------|----------------------|-----
23-
Byron | | [Chain Spec](https://github.com/intersectmbo/cardano-ledger/releases/latest/download/byron-blockchain.pdf "Specification of the Blockchain Layer"), [Ledger Spec](https://github.com/intersectmbo/cardano-ledger/releases/latest/download/byron-ledger.pdf "A Formal Specification of the Cardano Ledger") | [CDDL](https://github.com/intersectmbo/cardano-ledger/tree/master/eras/byron/cddl-spec/byron.cddl), [PDF](https://github.com/intersectmbo/cardano-ledger/releases/latest/download/byron-binary.pdf)
23+
Byron | | [Chain Spec](https://github.com/intersectmbo/cardano-ledger/releases/latest/download/byron-blockchain.pdf "Specification of the Blockchain Layer"), [Ledger Spec](https://github.com/intersectmbo/cardano-ledger/releases/latest/download/byron-ledger.pdf "A Formal Specification of the Cardano Ledger") | [CDDL](https://github.com/intersectmbo/cardano-ledger/tree/master/eras/byron/ledger/impl/cddl-spec/byron.cddl), [PDF](https://github.com/intersectmbo/cardano-ledger/releases/latest/download/byron-binary.pdf)
2424
Shelley | [Design](https://github.com/intersectmbo/cardano-ledger/releases/latest/download/shelley-delegation.pdf "Design Specification for Delegation and Incentives in Cardano") | [Spec](https://github.com/intersectmbo/cardano-ledger/releases/latest/download/shelley-ledger.pdf "A Formal Specification of the Cardano Ledger") | [CDDL](https://github.com/intersectmbo/cardano-ledger/tree/master/eras/shelley/impl/cddl-files)
2525
Allegra | Same as Mary era below | Same as Mary era below | [CDDL](https://github.com/intersectmbo/cardano-ledger/tree/master/eras/allegra/impl/cddl-files)
2626
Mary | [Multi-Currency](https://eprint.iacr.org/2020/895 "Multi-Currency Ledgers"), [UTXOma](https://iohk.io/en/research/library/papers/utxoma-utxo-with-multi-asset-support/ "UTXOma:UTXO with Multi-Asset Support") | [Spec](https://github.com/intersectmbo/cardano-ledger/releases/latest/download/mary-ledger.pdf "A Formal Specification of the Cardano Ledger with a Native Multi-Asset Implementation") | [CDDL](https://github.com/intersectmbo/cardano-ledger/tree/master/eras/mary/impl/cddl-files)
@@ -49,10 +49,10 @@ The directory structure of this repository is as follows:
4949
- [formal-spec](./eras/byron/ledger/formal-spec)
5050
- [executable-spec](./eras/byron/ledger/executable-spec)
5151
- [implementation](./eras/byron/ledger/impl)
52+
- [cddl](./eras/byron/ledger/impl/cddl-spec)
5253
- [chain](./eras/byron/chain)
5354
- [formal-spec](./eras/byron/chain/formal-spec)
5455
- [executable-spec](./eras/byron/chain/executable-spec)
55-
- [cddl](./eras/byron/cddl-spec)
5656
- [Shelley](./eras/shelley)
5757
- [design-spec](./eras/shelley/design-spec)
5858
- [formal-spec](./eras/shelley/formal-spec)

eras/byron/cddl-spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ledger/impl/cddl-spec

eras/byron/ledger/impl/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## 1.2.0.0
44

5+
* Added `Test.Cardano.Chain.Binary.Cddl` module
6+
57
### `testlib`
68

79
* Added `testlib` sublibrary as replacement of `cardano-ledger-byron-test` package

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ description: The blockchain layer of Cardano during the Byron era
99
category: Currency
1010
build-type: Simple
1111
data-files:
12+
cddl-spec/byron.cddl
1213
golden/cbor/block/BlockSignature
1314
golden/cbor/block/Body
1415
golden/cbor/block/BoundaryBlockHeader
@@ -265,6 +266,7 @@ library
265266

266267
library testlib
267268
exposed-modules:
269+
Test.Cardano.Chain.Binary.Cddl
268270
Test.Cardano.Chain.Block.CBOR
269271
Test.Cardano.Chain.Block.Gen
270272
Test.Cardano.Chain.Block.Model
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)