Skip to content

For release 10.3 #1376

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 69 commits into from
Mar 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
ab0c8fd
Update to an unreleased version of ledger with mempack usage
lehins Sep 17, 2024
13b875f
update srp
lehins Jan 28, 2025
ae25df9
Update to use newest cardano-crypto-class with unsound pure KES imple…
lehins Jan 29, 2025
ff829c7
Pin versions of crypto packages
lehins Jan 29, 2025
26c9f2b
Bump up ledger dependency to latest
aniketd Jan 29, 2025
6135526
Compile ouroboros-consensus-protocol and format
aniketd Jan 29, 2025
34a5ed0
WIP to get ouroboros-consensus-cardano building
aniketd Jan 30, 2025
6cebc66
Update nix sha
lehins Feb 4, 2025
cb782e1
WIP to get ouroboros-consensus-cardano building
aniketd Jan 30, 2025
6cc08ae
Revert use of StandardCrypto and test
aniketd Feb 4, 2025
93f244a
To fixup: more progress
aniketd Feb 5, 2025
973f79d
Remove some stray phantom parameters
aniketd Feb 5, 2025
64c8953
Fixup: more progress
aniketd Feb 5, 2025
5f93041
Remove saturated constraints, phantom parameters
aniketd Feb 6, 2025
5652f14
Use new genIssuerKeys inplace of coreNodeKeys
aniketd Feb 6, 2025
3eb42c9
Get past GHC hurdle using GHCI resolve more changes
aniketd Feb 6, 2025
1820e2d
Update SHA for SRP
aniketd Feb 7, 2025
99bfa1b
Remove more saturated constraints
aniketd Feb 7, 2025
e358485
Update ledger SRP
aniketd Feb 10, 2025
a34a219
Update KeySpace and GenEnv
aniketd Feb 11, 2025
e2bec4c
Propogate NonZero through ouroboros-consensus
aniketd Feb 12, 2025
0a762b6
Propogate NonZero across all packages with some errors
aniketd Feb 13, 2025
6c137e2
Integrate Reusable Diffusion PR
bolt12 Dec 6, 2024
ef5ce69
TODO local-tx-monitor: implement recvMsgGetMeasures
coot Feb 26, 2025
c960d0c
Remove redundant constraints
jasagredo Feb 28, 2025
da61fb9
Update LedgerState golden files
jasagredo Feb 28, 2025
0e923b8
Formatting
jasagredo Mar 3, 2025
32e401b
Update flake
jasagredo Mar 3, 2025
aec0dd1
Artificially bump versions for integration work
jasagredo Mar 4, 2025
5aa2de0
Fix Hlint warnings
jasagredo Mar 4, 2025
585437d
Add changelog fragments
jasagredo Mar 4, 2025
31e1b41
Update cardano-ledger SRP
jasagredo Mar 4, 2025
47e2499
Add new `QueryStakePoolDefaultVote`
jasagredo Jan 29, 2025
47e8eba
Expose `ValidationPolicy` and `ComputeLedgerEvents` when applying and…
jasagredo Feb 17, 2025
d1020a7
Adapt tests to use `ValidationPolicy` and `ComputeLedgerEvents`
jasagredo Feb 17, 2025
b23ebc5
Integrate new block validation interface
lehins Mar 2, 2025
f849367
Add plutus as SRP
lehins Mar 2, 2025
6d910e6
Account for new ledger changes
lehins Mar 2, 2025
43be7c6
Update nix sha
jasagredo Mar 4, 2025
ded1f47
Regenerate golden files
jasagredo Mar 4, 2025
22df2f1
Expand changelog fragment
jasagredo Mar 4, 2025
b0d625e
Added GetLedgerConfig top level query
DavidEichmann Feb 19, 2025
908945f
Satisfy serialization instances for LedgerConfig in tests and the que…
DavidEichmann Feb 19, 2025
7088e8b
Add roundtrip tests for LedgerConfig
DavidEichmann Feb 19, 2025
bed27ad
Formatting
jasagredo Mar 4, 2025
8c8933e
Formatting and cleanup
jasagredo Mar 4, 2025
5e95321
Regenerate golden files
jasagredo Mar 4, 2025
d9f7e81
Enforce the right size on Shelley Ledger Config cbor instance
jasagredo Mar 4, 2025
b1cd9e5
snapshotTxs / snapshotTxsAfter return TxMeasures instead of ByteSize
fraser-iohk Jul 24, 2024
51fe847
add changelogs
fraser-iohk Feb 13, 2025
335cd8b
Remove AllowAmbiguousTypes in Ouroboros.Consensus.Cardano.CanHardFork
jasagredo Mar 19, 2025
5eee479
Remove redundant constraint
jasagredo Mar 19, 2025
dc046e7
Remove useless comments
jasagredo Mar 19, 2025
24508ae
Rename and relocate LedgerDbPrune
jasagredo Mar 19, 2025
5178b87
Bring back the GetProposedPParamsUpdates query as deprecated
jasagredo Mar 19, 2025
1f3ecdf
Improve `forgetSignKeyKES` TODO
jasagredo Mar 19, 2025
edb72bb
Register NTC breaking changes in changelog
jasagredo Mar 20, 2025
fa7abb0
Allow newer base for ouroboros-network packages
jasagredo Mar 20, 2025
676af6a
Make HLint happy
jasagredo Mar 20, 2025
4a93fb1
Bump ledger SRP and get building
aniketd Mar 21, 2025
9211d64
Change unicode character in changelogs
jasagredo Mar 24, 2025
d7d0d8d
Change list character in md fragments
jasagredo Mar 24, 2025
f6c9b2d
Mention deprecated query in haddock
jasagredo Mar 24, 2025
c3cb48f
Change LedgerState Conway golden file
jasagredo Mar 24, 2025
ebc4860
remove TODO comment about overflow in no-longer-overflowing LocalTxMo…
fraser-iohk Mar 24, 2025
7d12bd7
Use chap releases instead of SRPs
jasagredo Mar 24, 2025
e3ce315
Remove ledgerstate serialization changelog fragment
jasagredo Mar 24, 2025
312d146
Update CHaP flake input
amesgen Mar 24, 2025
695c107
Code review suggestions
jasagredo Mar 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Ouroboros Consensus

[![consensus](https://img.shields.io/badge/ouroboros--consensus-0.22.0.0-blue)](https://chap.intersectmbo.org/package/ouroboros-consensus-0.22.0.0/)
[![diffusion](https://img.shields.io/badge/ouroboros--consensus--diffusion-0.19.0.0-blue)](https://chap.intersectmbo.org/package/ouroboros-consensus-diffusion-0.19.0.0/)
[![diffusion](https://img.shields.io/badge/ouroboros--consensus--diffusion-0.20.0.0-blue)](https://chap.intersectmbo.org/package/ouroboros-consensus-diffusion-0.20.0.0/)
[![protocol](https://img.shields.io/badge/ouroboros--consensus--protocol-0.10.0.0-blue)](https://chap.intersectmbo.org/package/ouroboros-consensus-protocol-0.10.0.0/)
[![cardano](https://img.shields.io/badge/ouroboros--consensus--cardano-0.21.0.0-blue)](https://chap.intersectmbo.org/package/ouroboros-consensus-cardano-0.21.0.0/)
[![cardano](https://img.shields.io/badge/ouroboros--consensus--cardano-0.21.0.1-blue)](https://chap.intersectmbo.org/package/ouroboros-consensus-cardano-0.21.0.1/)
[![sop-extras](https://img.shields.io/badge/sop--extras-0.2.1.0-blue)](https://chap.intersectmbo.org/package/sop-extras-0.2.1.0/)
[![strict-sop-core](https://img.shields.io/badge/strict--sop--core-0.1.2.0-blue)](https://chap.intersectmbo.org/package/strict-sop-core-0.1.2.0/)

Expand Down
8 changes: 7 additions & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ index-state:
-- Bump this if you need newer packages from Hackage
, hackage.haskell.org 2025-03-18T17:41:11Z
-- Bump this if you need newer packages from CHaP
, cardano-haskell-packages 2025-02-28T01:28:51Z
, cardano-haskell-packages 2025-03-22T21:55:03Z

packages:
ouroboros-consensus
Expand Down Expand Up @@ -66,3 +66,9 @@ if impl (ghc >= 9.12)

-- https://github.com/fizruk/http-api-data/pull/146
, http-api-data:base

, ouroboros-network-protocols:base
, ouroboros-network-framework:base
, ouroboros-network-api:base
, network-mux:base
, ouroboros-network:base
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 31 additions & 24 deletions ouroboros-consensus-cardano/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@

# Changelog entries

<a id='changelog-0.21.0.1'></a>
## 0.21.0.1 -- 2025-02-10

### Patch

- Bump to ouroboros-network-framework 0.16.

<a id='changelog-0.21.0.0'></a>
## 0.21.0.0 2025-01-08
## 0.21.0.0 -- 2025-01-08

### Patch

Expand Down Expand Up @@ -59,7 +66,7 @@
- Remove versions before `NodeToClientV_16` from the `supportedNodeToClientVersions`.

<a id='changelog-0.20.0.0'></a>
## 0.20.0.0 2024-10-14
## 0.20.0.0 -- 2024-10-14

### Patch

Expand All @@ -83,7 +90,7 @@
- Add `GetFuturePParams` query.

<a id='changelog-0.19.0.0'></a>
## 0.18.0.0 2024-08-26
## 0.18.0.0 -- 2024-08-26

### Breaking

Expand All @@ -103,7 +110,7 @@
continues to be enabled in Babbage).

<a id='changelog-0.18.0.0'></a>
## 0.18.0.0 2024-07-02
## 0.18.0.0 -- 2024-07-02

### Non-Breaking

Expand All @@ -125,14 +132,14 @@
- Update N2C part of `latestReleasedNodeVersion` to `NodeToClientV_16`.

<a id='changelog-0.17.1.0'></a>
## 0.17.1.0 2024-06-26
## 0.17.1.0 -- 2024-06-26

### Non-Breaking

- Enforce Conway minfees for ref scripts in the mempool, even in Babbage

<a id='changelog-0.17.0.0'></a>
## 0.17.0.0 2024-06-19
## 0.17.0.0 -- 2024-06-19

### Breaking

Expand All @@ -141,7 +148,7 @@
Ledger, as it changed in a backwards-incompatible manner).

<a id='changelog-0.16.0.0'></a>
## 0.16.0.0 2024-05-13
## 0.16.0.0 -- 2024-05-13

### Patch

Expand Down Expand Up @@ -184,7 +191,7 @@
- Change `ShelleyLedgerUpdate` by replacing `ShelleyUpdatedProtocolUpdates` with `ShelleyUpdatedPParams`

<a id='changelog-0.15.0.0'></a>
## 0.15.0.0 2024-04-03
## 0.15.0.0 -- 2024-04-03

### Patch

Expand Down Expand Up @@ -229,7 +236,7 @@
`Cardano.Ledger.Api.Era` instead.

<a id='changelog-0.14.0.0'></a>
## 0.14.0.0 2024-02-23
## 0.14.0.0 -- 2024-02-23

### Non-Breaking

Expand All @@ -239,7 +246,7 @@
- Bump dependencies version bounds

<a id='changelog-0.13.0.0'></a>
## 0.13.0.0 2024-01-29
## 0.13.0.0 -- 2024-01-29

### Patch

Expand Down Expand Up @@ -287,7 +294,7 @@
dictionaries and issue a specific error message if there isn't one.

<a id='changelog-0.12.1.0'></a>
## 0.12.1.0 2023-11-30
## 0.12.1.0 -- 2023-11-30

### Non-Breaking

Expand All @@ -297,7 +304,7 @@
Cardano blocks.

<a id='changelog-0.12.0.0'></a>
## 0.12.0.0 2023-11-14
## 0.12.0.0 -- 2023-11-14

### Non-Breaking

Expand All @@ -320,7 +327,7 @@
- Add a query for vote delegatees: GetFilteredVoteDelegatees

<a id='changelog-0.11.0.0'></a>
## 0.11.0.0 2023-10-26
## 0.11.0.0 -- 2023-10-26

### Patch

Expand All @@ -346,7 +353,7 @@
- Replaced `GetCommitteeState` query with `GetCommitteeMembersState`

<a id='changelog-0.10.0.0'></a>
## 0.10.0.0 2023-09-27
## 0.10.0.0 -- 2023-09-27

### Non-Breaking

Expand All @@ -373,7 +380,7 @@
- Removed now-unused `Ouroboros.Consensus.Cardano.ShelleyBased` module.

<a id='changelog-0.9.0.0'></a>
## 0.9.0.0 2023-09-06
## 0.9.0.0 -- 2023-09-06

### Non-Breaking

Expand All @@ -392,7 +399,7 @@
`Cardano.Tools.ImmDBServer.Diffusion.serve` have changed.

<a id='changelog-0.8.0.1'></a>
## 0.8.0.1 2023-08-21
## 0.8.0.1 -- 2023-08-21

### Patch

Expand All @@ -401,7 +408,7 @@
strongly indicate that we ignore them when evolving the package's version.

<a id='changelog-0.8.0.0'></a>
## 0.8.0.0 2023-08-18
## 0.8.0.0 -- 2023-08-18

### Patch

Expand Down Expand Up @@ -449,7 +456,7 @@
argument, instead of a long list of arguments.

<a id='changelog-0.7.0.0'></a>
## 0.7.0.0 2023-07-06
## 0.7.0.0 -- 2023-07-06

### Non-Breaking

Expand All @@ -466,7 +473,7 @@
- Add `GetConstitutionHash` ledger query

<a id='changelog-0.6.1.0'></a>
## 0.6.1.0 2023-06-23
## 0.6.1.0 -- 2023-06-23

### Patch

Expand All @@ -485,7 +492,7 @@
- Call `cryptoInit` in our utility tools

<a id='changelog-0.6.0.0'></a>
## 0.6.0.0 2023-05-19
## 0.6.0.0 -- 2023-05-19

### Patch

Expand All @@ -508,7 +515,7 @@
- Bump `cardano-ledger-{alonzo,babbage}` to 1.2.1.0, which changes the corresponding `PParams` serialisation. This affects the ledger snapshots, and the `GetCurrentPParams` query for `NodeToClientVersion >= 15`.

<a id='changelog-0.5.0.1'></a>
## 0.5.0.1 2023-04-28
## 0.5.0.1 -- 2023-04-28

### Patch

Expand All @@ -529,7 +536,7 @@
- Add a new ledger query: `GetStakeDelegDeposits`

<a id='changelog-0.4.0.1'></a>
## 0.4.0.1 2023-04-10
## 0.4.0.1 -- 2023-04-10

### Patch

Expand All @@ -541,7 +548,7 @@
- Adapt to relocation of SOP-related `Util` modules.

<a id='changelog-0.4.0.0'></a>
## 0.4.0.0 2023-03-07
## 0.4.0.0 -- 2023-03-07

### Non-Breaking

Expand All @@ -556,7 +563,7 @@
`Mark` ledger snapshot were returned.

<a id='changelog-0.3.0.0'></a>
## 0.3.0.0 2023-02-09
## 0.3.0.0 -- 2023-02-09

### Patch

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
### Non-Breaking

- Add instances for `TxMeasureMetrics` to Cardano block types

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!--
A new scriv changelog fragment.

Uncomment the section that is right (remove the HTML comment wrapper).
-->

<!--
### Patch

- A bullet item for the Patch category.

-->
<!--
### Non-Breaking

- A bullet item for the Non-Breaking category.

-->

### Breaking

- Adapt to the change in block application and ticking interface in
Byron and Shelley. Block application and ticking now can choose
validation policy and enable or disable ledger events.
- Delete `GetProposedPParamsUpdates` query which is deprecated starting in Conway.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!--
A new scriv changelog fragment.

Uncomment the section that is right (remove the HTML comment wrapper).
-->

<!--
### Patch

- A bullet item for the Patch category.

-->
<!--
### Non-Breaking

- A bullet item for the Non-Breaking category.

-->

### Breaking

- Adapt to Ledger's Crypto monomorphization. Many types and fields have lost their `c/crypto` type variable as now `StandardCrypto` is used by the Ledger everywhere.
- Deprecate the `StandardX` type aliases.
8 changes: 8 additions & 0 deletions ouroboros-consensus-cardano/changelog.d/js-applytxerr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### Breaking

- The serialization of `ApplyTxErr` for eras in between Shelley and
Babbage (both included) has changed from using an indefinite-length
list to using a definite-length list. This is still conformant to
the CDDL spec (as CDDL does not explicit whether lists are encoded
with definite or indefinite lengths), but it might require a change
in client codecs to account for this change.
3 changes: 0 additions & 3 deletions ouroboros-consensus-cardano/changelog.d/js-network-bump.md

This file was deleted.

4 changes: 4 additions & 0 deletions ouroboros-consensus-cardano/changelog.d/js-ntc20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
### Breaking

- Use new `NodeToClientV_20`.
- Expose new query `QueryStakePoolDefaultVote` in new `ShelleyNodeToClientVersion12`.
9 changes: 9 additions & 0 deletions ouroboros-consensus-cardano/changelog.d/js-queries.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### Breaking

- Query `GetProposedPParamsUpdates` has been deprecated and is not
supported in `ShelleyNodeToClientV12`, which maps to
`NodeToClientV_20`. This query became redundant once the chain
transitioned to the Conway era. Moreover, the query constructor is
kept with a dummy response for previous `NodeToClientV_X` versions,
meaning that performing such a query in a node that is still not in
Conway will return dummy values.
1 change: 1 addition & 0 deletions ouroboros-consensus-cardano/changelog.d/scriv.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ main_branches = master, main, develop
new_fragment_template = file: new_fragment.${config:format}.j2
output_file = CHANGELOG.${config:format}
skip_fragments = README.*
entry_title_template = {% if version %}{{ version }} -- {% endif %}{{ date.strftime('%Y-%m-%d') }}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading