Skip to content

Update to ouroboros-network-2.0 and ouroboros-consensus-5.2 - #80

Merged
coot merged 3 commits into
IntersectMBO:mainfrom
koslambrou:network-2.0-consensus-5.2
Oct 27, 2026
Merged

coot merged 3 commits into
IntersectMBO:mainfrom
koslambrou:network-2.0-consensus-5.2

Conversation

@koslambrou

@koslambrou koslambrou commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

List of changes

  • Fix Nix devShell
  • Fix call of connectToNode after update of ouroboros-consensus to 2.0

Companion CHaP release PR: IntersectMBO/cardano-haskell-packages#1516

Checklist

  • related issue
  • My changes generate no new warnings
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works

Add a `ghc967` dev shell, so `.envrc` can select it with
`use flake .#ghc967`.

Add `pkg-config` and `liburing` to the dev shell.  The shell
normally provides `ouroboros-consensus` and its dependencies prebuilt.
When cabal cannot use those prebuilt packages, it builds them from
source, including `blockio-uring`. `blockio-uring` needs `liburing`,
which it finds through `pkg-config`, so without them that build fails.

`dmq-node` needs the `cborg` sub-library of `typed-protocols`, so it
rebuilds `typed-protocols`, and everything that depends on it from
source. This is why we need to include `pkg-config` and `liburing`.
@github-project-automation github-project-automation Bot moved this to In Progress in Ouroboros Network Oct 26, 2026
@koslambrou koslambrou changed the title Network 2.0 consensus 5.2 Update to ouroboros-network-2.0 and ouroboros-consensus-5.2 Oct 26, 2026
@koslambrou
koslambrou force-pushed the network-2.0-consensus-5.2 branch from 118783d to b08450a Compare October 26, 2026 16:37
Bump CHaP index-state, `network-mux ^>=1`, `ouroboros-network ^>=2.0`
and `ouroboros-consensus ^>=5.2`.

Fix the call to `connectToNode` which now takes a negotiated data flow
callback.
@koslambrou
koslambrou force-pushed the network-2.0-consensus-5.2 branch from b08450a to 3febc2e Compare October 26, 2026 16:39
@coot
coot added this pull request to the merge queue Oct 26, 2026
@coot
coot removed this pull request from the merge queue due to a manual request Oct 26, 2026
@coot
coot added this pull request to the merge queue Oct 27, 2026
Merged via the queue into IntersectMBO:main with commit d632968 Oct 27, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Ouroboros Network Oct 27, 2026
@koslambrou
koslambrou deleted the network-2.0-consensus-5.2 branch October 27, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants