Skip to content

Commit

Permalink
Integration work for node 8.7.0 (#495)
Browse files Browse the repository at this point in the history
# Description

- Update the ledger packages and collect changelogs.
- Expose `srnChainSyncTimeout`.
  • Loading branch information
jasagredo authored Nov 14, 2023
2 parents 968cc64 + 7abbece commit e7617bf
Show file tree
Hide file tree
Showing 14 changed files with 74 additions and 83 deletions.
6 changes: 3 additions & 3 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.13.0.0-blue)](https://input-output-hk.github.io/cardano-haskell-packages/package/ouroboros-consensus-0.13.0.0/)
[![diffusion](https://img.shields.io/badge/ouroboros--consensus--diffusion-0.8.0.2-blue)](https://input-output-hk.github.io/cardano-haskell-packages/package/ouroboros-consensus-diffusion-0.8.0.2/)
[![consensus](https://img.shields.io/badge/ouroboros--consensus-0.13.0.1-blue)](https://input-output-hk.github.io/cardano-haskell-packages/package/ouroboros-consensus-0.13.0.1/)
[![diffusion](https://img.shields.io/badge/ouroboros--consensus--diffusion-0.9.0.0-blue)](https://input-output-hk.github.io/cardano-haskell-packages/package/ouroboros-consensus-diffusion-0.9.0.0/)
[![protocol](https://img.shields.io/badge/ouroboros--consensus--protocol-0.6.0.0-blue)](https://input-output-hk.github.io/cardano-haskell-packages/package/ouroboros-consensus-protocol-0.6.0.0/)
[![cardano](https://img.shields.io/badge/ouroboros--consensus--cardano-0.11.0.0-blue)](https://input-output-hk.github.io/cardano-haskell-packages/package/ouroboros-consensus-cardano-0.11.0.0/)
[![cardano](https://img.shields.io/badge/ouroboros--consensus--cardano-0.12.0.0-blue)](https://input-output-hk.github.io/cardano-haskell-packages/package/ouroboros-consensus-cardano-0.12.0.0/)
[![sop-extras](https://img.shields.io/badge/sop--extras-0.1.0.0-blue)](https://input-output-hk.github.io/cardano-haskell-packages/package/sop-extras-0.1.0.0/)
[![strict-sop-core](https://img.shields.io/badge/strict--sop--core-0.1.0.0-blue)](https://input-output-hk.github.io/cardano-haskell-packages/package/strict-sop-core-0.1.0.0/)

Expand Down
4 changes: 2 additions & 2 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ repository cardano-haskell-packages
-- update either of these.
index-state:
-- Bump this if you need newer packages from Hackage
, hackage.haskell.org 2023-11-07T14:32:35Z
, hackage.haskell.org 2023-11-09T23:50:15Z
-- Bump this if you need newer packages from CHaP
, cardano-haskell-packages 2023-11-03T12:09:05Z
, cardano-haskell-packages 2023-11-14T12:07:29Z

packages:
ouroboros-consensus
Expand Down
12 changes: 6 additions & 6 deletions flake.lock

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

23 changes: 23 additions & 0 deletions ouroboros-consensus-cardano/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@

# Changelog entries

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

### Non-Breaking

- Updates dependency on `ouroboros-network-api` to `0.6.0`.

- Update ledger packages
- `cardano-ledger-allegra`: `^>=1.2.5`
- `cardano-ledger-alonzo`: `^>=1.5.0 -> ^>=1.5.1`
- `cardano-ledger-babbage`: `^>=1.5.0 -> ^>=1.5.1`
- `cardano-ledger-binary`: `^>=1.2.1`
- `cardano-ledger-byron`: `^>=1.0`
- `cardano-ledger-conway`: `^>=1.10.0 -> ^>=1.11`
- `cardano-ledger-core`: `^>=1.8.0 -> ^>=1.9`
- `cardano-ledger-mary`: `^>=1.4`
- `cardano-ledger-shelley`: `^>=1.7.0 -> ^>=1.8`
- `cardano-protocol-tpraos`: `^>=1.0.3.6 -> ^>=1.0.3.7`

### Breaking

- Add a query for vote delegatees: GetFilteredVoteDelegatees

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

Expand Down

This file was deleted.

This file was deleted.

28 changes: 14 additions & 14 deletions ouroboros-consensus-cardano/ouroboros-consensus-cardano.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: ouroboros-consensus-cardano
version: 0.11.0.0
version: 0.12.0.0
synopsis:
The instantation of the Ouroboros consensus layer used by Cardano

Expand Down Expand Up @@ -115,25 +115,25 @@ library
, cardano-crypto
, cardano-crypto-class
, cardano-crypto-wrapper
, cardano-ledger-allegra
, cardano-ledger-alonzo ^>=1.5.0
, cardano-ledger-allegra ^>=1.2.5
, cardano-ledger-alonzo ^>=1.5.1
, cardano-ledger-api ^>=1.7
, cardano-ledger-babbage ^>=1.5.0
, cardano-ledger-binary
, cardano-ledger-byron
, cardano-ledger-conway ^>=1.10.0
, cardano-ledger-core ^>=1.8.0
, cardano-ledger-mary
, cardano-ledger-shelley ^>=1.7.0
, cardano-ledger-babbage ^>=1.5.1
, cardano-ledger-binary ^>=1.2.1
, cardano-ledger-byron ^>=1.0.0.3
, cardano-ledger-conway ^>=1.11
, cardano-ledger-core ^>=1.9
, cardano-ledger-mary ^>=1.4
, cardano-ledger-shelley ^>=1.8
, cardano-prelude
, cardano-protocol-tpraos ^>=1.0.3.6
, cardano-protocol-tpraos ^>=1.0.3.7
, cardano-slotting
, cardano-strict-containers
, cborg ^>=0.2.2
, containers >=0.5 && <0.7
, cryptonite >=0.25 && <0.31
, deepseq
, formatting >=6.3 && <7.2
, formatting >=6.3 && <7.3
, measures
, microlens
, mtl
Expand Down Expand Up @@ -362,7 +362,7 @@ library unstable-cardano-testlib
, cardano-ledger-conway-test ^>=1.2.1.1
, cardano-ledger-conway:testlib
, cardano-ledger-core:{cardano-ledger-core, testlib}
, cardano-ledger-shelley ^>=1.7
, cardano-ledger-shelley
, cardano-protocol-tpraos
, cardano-slotting
, cardano-strict-containers
Expand Down Expand Up @@ -509,7 +509,7 @@ library unstable-cardano-tools
, nothunks
, ouroboros-consensus ^>=0.13
, ouroboros-consensus-cardano
, ouroboros-consensus-diffusion ^>=0.8
, ouroboros-consensus-diffusion ^>=0.9
, ouroboros-consensus-protocol ^>=0.6.0.0
, ouroboros-network
, ouroboros-network-api
Expand Down
9 changes: 9 additions & 0 deletions ouroboros-consensus-diffusion/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

# Changelog entries

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

### Breaking

- Adds `NodeToNodeVersion` to the arguments of `defaultCodecs` and `runWith` functions.

- Adds `srnChainSyncTimeout` argument to `StdRunNodeArgs`.

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

Expand Down

This file was deleted.

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

- Adds `srnChainSyncTimeout` argument to `StdRunNodeArgs`.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: ouroboros-consensus-diffusion
version: 0.8.0.2
version: 0.9.0.0
synopsis: Integration for the Ouroboros Network layer
description:
Top level integration for consensus & network layers of the Ouroboros blockchain protocol.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,8 @@ data StdRunNodeArgs m blk (p2p :: Diffusion.P2P) = StdRunNodeArgs
, srnMaybeMempoolCapacityOverride :: Maybe MempoolCapacityBytesOverride
-- ^ Determine whether to use the system default mempool capacity or explicitly set
-- capacity of the mempool.
, srnChainSyncTimeout :: Maybe NTN.ChainSyncTimeout
-- ^ A custom timeout for ChainSync.
}

-- | Conveniently packaged 'LowLevelRunNodeArgs' arguments from a standard
Expand All @@ -832,7 +834,7 @@ stdLowLevelRunNodeArgsIO RunNodeArgs{ rnProtocolInfo
llrnKeepAliveRng <- stdKeepAliveRngIO
pure LowLevelRunNodeArgs
{ llrnBfcSalt
, llrnChainSyncTimeout = stdChainSyncTimeout
, llrnChainSyncTimeout = maybe stdChainSyncTimeout pure srnChainSyncTimeout
, llrnCustomiseHardForkBlockchainTimeArgs = id
, llrnKeepAliveRng
, llrnChainDbArgsDefaults =
Expand Down
7 changes: 7 additions & 0 deletions ouroboros-consensus/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

# Changelog entries

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

### Patch

- Update to `vector ^>=0.13`

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

Expand Down
4 changes: 2 additions & 2 deletions ouroboros-consensus/ouroboros-consensus.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: ouroboros-consensus
version: 0.13.0.0
version: 0.13.0.1
synopsis: Consensus layer for the Ouroboros blockchain protocol
description: Consensus layer for the Ouroboros blockchain protocol.
license: Apache-2.0
Expand Down Expand Up @@ -280,7 +280,7 @@ library
, time
, transformers
, typed-protocols ^>=0.1.1
, vector ^>=0.12
, vector ^>=0.13

library unstable-consensus-testlib
import: common-lib
Expand Down

0 comments on commit e7617bf

Please sign in to comment.