Skip to content

Commit c077a49

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 c077a49

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.
37+
38+
### Non-Breaking
39+
40+
- The `EraSummary`, while not modified directly, is now Peras-aware via `EraParams` and `Bound`:
41+
- in a valid summary, Peras round length must divide the epoch size. See the changes in `EraSummary`s haddock and in `invariantSummary`'s implementation.

0 commit comments

Comments
 (0)