Skip to content

Commit 81c8c09

Browse files
committed
Update Ledger dependencies
1 parent 3f3d771 commit 81c8c09

File tree

10 files changed

+112
-14
lines changed

10 files changed

+112
-14
lines changed

cabal.project

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,27 @@ source-repository-package
6060
location: https://github.com/IntersectMBO/cardano-ledger
6161
tag: fb09078fa55015c881303a2ddb609c024cec258f
6262
--sha256: sha256-9Y9CRiyMn0AWD+C4aNVMaJgrj3FDAYfCX4VrLvtoMaI=
63-
subdir: libs/cardano-ledger-core
63+
subdir:
64+
eras/allegra/impl
65+
eras/alonzo/impl
66+
eras/alonzo/test-suite
67+
eras/babbage/impl
68+
eras/conway/impl
69+
eras/dijkstra/impl
70+
eras/mary/impl
71+
eras/shelley/impl
72+
eras/shelley/test-suite
73+
eras/shelley-ma/test-suite
74+
libs/cardano-ledger-api
75+
libs/cardano-ledger-core
76+
libs/cardano-ledger-binary
77+
libs/cardano-protocol-tpraos
78+
libs/non-integral
79+
libs/small-steps
80+
libs/cardano-data
81+
libs/set-algebra
82+
libs/vector-map
83+
eras/byron/chain/executable-spec
84+
eras/byron/ledger/executable-spec
85+
eras/byron/ledger/impl
86+
eras/byron/crypto
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+
### Patch
9+
10+
- Bump ledger dependencies:
11+
- `cardano-ledger-allegra` 1.8 → 1.9
12+
- `cardano-ledger-alonzo` 1.14 → 1.15
13+
- `cardano-ledger-api` 1.12 → 1.13
14+
- `cardano-ledger-conway` 1.20 → 1.21
15+
- `cardano-ledger-core` 1.18 → 1.19
16+
- `cardano-ledger-dijkstra` 0.1 → 0.2
17+
18+
<!--
19+
### Non-Breaking
20+
21+
- A bullet item for the Non-Breaking category.
22+
23+
-->
24+
<!--
25+
### Breaking
26+
27+
- A bullet item for the Breaking category.
28+
29+
-->

ouroboros-consensus-cardano/ouroboros-consensus-cardano.cabal

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,15 @@ library
139139
cardano-crypto,
140140
cardano-crypto-class ^>=2.2,
141141
cardano-crypto-wrapper,
142-
cardano-ledger-allegra ^>=1.8,
143-
cardano-ledger-alonzo ^>=1.14,
144-
cardano-ledger-api ^>=1.12,
142+
cardano-ledger-allegra ^>=1.9,
143+
cardano-ledger-alonzo ^>=1.15,
144+
cardano-ledger-api ^>=1.13,
145145
cardano-ledger-babbage ^>=1.12,
146146
cardano-ledger-binary ^>=1.7,
147147
cardano-ledger-byron ^>=1.2,
148-
cardano-ledger-conway ^>=1.20,
149-
cardano-ledger-core ^>=1.18,
150-
cardano-ledger-dijkstra ^>=0.1,
148+
cardano-ledger-conway ^>=1.21,
149+
cardano-ledger-core ^>=1.19,
150+
cardano-ledger-dijkstra ^>=0.2,
151151
cardano-ledger-mary ^>=1.9,
152152
cardano-ledger-shelley ^>=1.17,
153153
cardano-prelude,

ouroboros-consensus-cardano/src/shelley/Ouroboros/Consensus/Shelley/Ledger/Block.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ mkShelleyBlock ::
165165
mkShelleyBlock raw =
166166
ShelleyBlock
167167
{ shelleyBlockRaw = raw
168-
, shelleyBlockHeaderHash = pHeaderHash $ SL.bheader raw
168+
, shelleyBlockHeaderHash = pHeaderHash $ SL.blockHeader raw
169169
}
170170

171171
class
@@ -200,7 +200,7 @@ instance
200200
instance ShelleyCompatible proto era => GetHeader (ShelleyBlock proto era) where
201201
getHeader (ShelleyBlock rawBlk hdrHash) =
202202
ShelleyHeader
203-
{ shelleyHeaderRaw = SL.bheader rawBlk
203+
{ shelleyHeaderRaw = SL.blockHeader rawBlk
204204
, shelleyHeaderHash = hdrHash
205205
}
206206

ouroboros-consensus-cardano/src/shelley/Ouroboros/Consensus/Shelley/Ledger/Ledger.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,8 @@ applyHelper f cfg blk stBefore = do
629629
globals
630630
tickedShelleyLedgerState
631631
( let b = shelleyBlockRaw blk
632-
h' = mkHeaderView (SL.bheader b)
633-
in SL.Block h' (SL.bbody b)
632+
h' = mkHeaderView (SL.blockHeader b)
633+
in SL.Block h' (SL.blockBody b)
634634
)
635635

636636
let track ::

ouroboros-consensus-cardano/src/shelley/Ouroboros/Consensus/Shelley/Ledger/Mempool.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ instance ShelleyBasedEra era => HasTxs (ShelleyBlock proto era) where
217217
extractTxs =
218218
map mkShelleyTx
219219
. blockBodyToTxList
220-
. SL.bbody
220+
. SL.blockBody
221221
. shelleyBlockRaw
222222
where
223223
blockBodyToTxList :: BlockBody era -> [Tx era]
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
### Patch
9+
10+
- Bump `cardano-ledger-core` dependency to 1.19.
11+
12+
<!--
13+
### Non-Breaking
14+
15+
- A bullet item for the Non-Breaking category.
16+
17+
-->
18+
<!--
19+
### Breaking
20+
21+
- A bullet item for the Breaking category.
22+
23+
-->

ouroboros-consensus-protocol/ouroboros-consensus-protocol.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ test-suite protocol-test
129129
base,
130130
cardano-crypto-class ^>=2.2,
131131
cardano-ledger-binary:testlib,
132-
cardano-ledger-core >=1.17 && <1.19,
132+
cardano-ledger-core >=1.17 && <1.20,
133133
cardano-protocol-tpraos ^>=1.4.1,
134134
containers,
135135
ouroboros-consensus:{ouroboros-consensus, unstable-consensus-testlib},
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
### Patch
9+
10+
- Bump `cardano-ledger-core` dependency to 1.19.
11+
12+
<!--
13+
### Non-Breaking
14+
15+
- A bullet item for the Non-Breaking category.
16+
17+
-->
18+
<!--
19+
### Breaking
20+
21+
- A bullet item for the Breaking category.
22+
23+
-->

ouroboros-consensus/ouroboros-consensus.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ library
316316
bytestring >=0.10 && <0.13,
317317
cardano-binary,
318318
cardano-crypto-class,
319-
cardano-ledger-core ^>=1.18,
319+
cardano-ledger-core ^>=1.19,
320320
cardano-lmdb >=0.4,
321321
cardano-lmdb-simple ^>=0.8,
322322
cardano-prelude,

0 commit comments

Comments
 (0)