Skip to content

Commit 66e4657

Browse files
tbagrel1agustinmistaamesgengeo2anbacquey
committed
Add changelog entry
Co-authored-by: Agustin Mista <agustin.mista@moduscreate.com> Co-authored-by: Alexander Esgen <alexander.esgen@iohk.io> Co-authored-by: Georgy Lukyanov <georgy.lukyanov@iohk.io> Co-authored-by: Thomas BAGREL <thomas.bagrel@tweag.io> Co-authored-by: Nicolas BACQUEY <nicolas.bacquey@tweag.io> Co-authored-by: Nicolas "Niols" Jeannerod <nicolas.jeannerod@moduscreate.com>
1 parent ab2c6b5 commit 66e4657

File tree

3 files changed

+89
-0
lines changed

3 files changed

+89
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!--
2+
A new scriv changelog fragment.
3+
4+
Uncomment the section that is right (remove the HTML comment wrapper).
5+
For top level release notes, leave all the headers commented out.
6+
-->
7+
8+
<!--
9+
### Patch
10+
11+
- A bullet item for the Patch category.
12+
13+
-->
14+
<!--
15+
### Non-Breaking
16+
17+
- A bullet item for the Non-Breaking category.
18+
19+
-->
20+
21+
### Breaking
22+
23+
- Add `eraPerasRoundLength` parameters to `{Byron,Shelley}EraParams` structs.
24+
25+
26+
### Non-Breaking
27+
28+
- The `EraSummary`, while not modified directly, is now Peras-aware via `EraParams`
29+
- in a valid summary, Peras round length must divide the epoch size.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!--
2+
A new scriv changelog fragment.
3+
4+
Uncomment the section that is right (remove the HTML comment wrapper).
5+
For top level release notes, leave all the headers commented out.
6+
-->
7+
8+
<!--
9+
### Patch
10+
11+
- A bullet item for the Patch category.
12+
13+
-->
14+
15+
### Non-Breaking
16+
17+
- Update code using `EraParams` now that it has a new field `eraPerasRoundLength` for Byron and Shelley eras.
18+
19+
<!--
20+
### Breaking
21+
22+
- A bullet item for the Breaking category.
23+
24+
-->
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<!--
2+
A new scriv changelog fragment.
3+
4+
Uncomment the section that is right (remove the HTML comment wrapper).
5+
For top level release notes, leave all the headers commented out.
6+
-->
7+
8+
<!--
9+
### Patch
10+
11+
- A bullet item for the Patch category.
12+
13+
-->
14+
<!--
15+
### Non-Breaking
16+
17+
- A bullet item for the Non-Breaking category.
18+
19+
-->
20+
21+
### Breaking
22+
23+
- Changes in the HFC types:
24+
- `EraParams` now keeps track of an optional Peras round length.
25+
- `Bound` now keeps track of an optional Peras round number.
26+
- In the `Serialise` instances for `EraParams` and `Bound`, the encoders generate different CBOR depending on whether of not the Peras-relate components are present. The decoders act differently depending on the length of the CBOR list.
27+
- Changes in the HFC time translation queries:
28+
- Two new top-level queries are exposed from `Ouroboros.Consensus.HardFork.History.Qry`:
29+
30+
```haskell
31+
perasRoundNoToSlot :: PerasRoundNo -> Qry SlotNo
32+
slotToPerasRoundNo :: SlotNo -> Qry PerasRoundNo
33+
```
34+
35+
- Add a roundtrip test that ensures that converting Peras round number to a slot and then back is an identity is added into the `Test.Consensus.HardFork.Summary` module.
36+
- Add a Peras-specific test into `Test.Consensus.HardFork.History` module.

0 commit comments

Comments
 (0)