Skip to content

Commit 7adcfe7

Browse files
authored
Merge pull request IntersectMBO#170 from input-output-hk/erikd/dep-20200704
Update dependencies.
2 parents 16e2ba7 + ed1949a commit 7adcfe7

File tree

4 files changed

+89
-87
lines changed

4 files changed

+89
-87
lines changed

cabal.project

Lines changed: 77 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
index-state: 2020-04-01T00:00:00Z
1+
index-state: 2020-05-15T00:00:00Z
22

33
packages:
44
cardano-db
@@ -52,8 +52,8 @@ source-repository-package
5252
source-repository-package
5353
type: git
5454
location: https://github.com/input-output-hk/cardano-shell
55-
tag: 601bb4324c258e3c8cbd2d532e5696fd09e2582e
56-
--sha256: 0zzd711zgj62l729hyymnv0i6jn3rx8yrww2b4a8l3csf1d9xv7n
55+
tag: 5257fc818ef7df60986834310432e197aac90711
56+
--sha256: 1si7jb084m2z9h773b1v4mgdkcjbbfpsyys3d6iz6gn0pzkijvc8
5757
subdir: cardano-shell
5858

5959
source-repository-package
@@ -128,36 +128,36 @@ source-repository-package
128128
source-repository-package
129129
type: git
130130
location: https://github.com/input-output-hk/cardano-base
131-
tag: 5e0b8bc8c7862be12da6989440f8644ba7c1e1cf
132-
--sha256: 06i2wpla5hp4vz873zqy1f2p0pmbhnkmabw3ibhcf476qh3vfa3p
131+
tag: 5c6db42be8ed83463f89e6257d8eb94ca4df8ca9
132+
--sha256: 1amginxchai1m3y6y04y9k6rp4pzdidmp7hpliz9pjc4rfiq7gpp
133133
subdir: binary
134134

135135
source-repository-package
136136
type: git
137137
location: https://github.com/input-output-hk/cardano-base
138-
tag: 5e0b8bc8c7862be12da6989440f8644ba7c1e1cf
139-
--sha256: 06i2wpla5hp4vz873zqy1f2p0pmbhnkmabw3ibhcf476qh3vfa3p
138+
tag: 5c6db42be8ed83463f89e6257d8eb94ca4df8ca9
139+
--sha256: 1amginxchai1m3y6y04y9k6rp4pzdidmp7hpliz9pjc4rfiq7gpp
140140
subdir: cardano-crypto-praos
141141

142142
source-repository-package
143143
type: git
144144
location: https://github.com/input-output-hk/cardano-base
145-
tag: 5e0b8bc8c7862be12da6989440f8644ba7c1e1cf
146-
--sha256: 06i2wpla5hp4vz873zqy1f2p0pmbhnkmabw3ibhcf476qh3vfa3p
145+
tag: 5c6db42be8ed83463f89e6257d8eb94ca4df8ca9
146+
--sha256: 1amginxchai1m3y6y04y9k6rp4pzdidmp7hpliz9pjc4rfiq7gpp
147147
subdir: binary/test
148148

149149
source-repository-package
150150
type: git
151151
location: https://github.com/input-output-hk/cardano-base
152-
tag: 5e0b8bc8c7862be12da6989440f8644ba7c1e1cf
153-
--sha256: 06i2wpla5hp4vz873zqy1f2p0pmbhnkmabw3ibhcf476qh3vfa3p
152+
tag: 5c6db42be8ed83463f89e6257d8eb94ca4df8ca9
153+
--sha256: 1amginxchai1m3y6y04y9k6rp4pzdidmp7hpliz9pjc4rfiq7gpp
154154
subdir: cardano-crypto-class
155155

156156
source-repository-package
157157
type: git
158158
location: https://github.com/input-output-hk/cardano-base
159-
tag: 5e0b8bc8c7862be12da6989440f8644ba7c1e1cf
160-
--sha256: 06i2wpla5hp4vz873zqy1f2p0pmbhnkmabw3ibhcf476qh3vfa3p
159+
tag: 5c6db42be8ed83463f89e6257d8eb94ca4df8ca9
160+
--sha256: 1amginxchai1m3y6y04y9k6rp4pzdidmp7hpliz9pjc4rfiq7gpp
161161
subdir: slotting
162162

163163
source-repository-package
@@ -170,195 +170,195 @@ source-repository-package
170170
source-repository-package
171171
type: git
172172
location: https://github.com/input-output-hk/cardano-ledger-specs
173-
tag: ee92681752dc1a27ac77cb3466af8dca4ade997f
174-
--sha256: 14k6dfq8ssc3c4shll813b8wfkf9vgsz2djvg2sll9pf2fz2g1vi
173+
tag: e8fd37b21773e36f1e48ecf6f72dc3df5ceb1392
174+
--sha256: 08kvk3zslh4zs2xhrz30nqwgil8fwx8h2973rccr5l9jr49dsz6b
175175
subdir: byron/chain/executable-spec
176176

177177
source-repository-package
178178
type: git
179179
location: https://github.com/input-output-hk/cardano-ledger-specs
180-
tag: ee92681752dc1a27ac77cb3466af8dca4ade997f
181-
--sha256: 14k6dfq8ssc3c4shll813b8wfkf9vgsz2djvg2sll9pf2fz2g1vi
180+
tag: e8fd37b21773e36f1e48ecf6f72dc3df5ceb1392
181+
--sha256: 08kvk3zslh4zs2xhrz30nqwgil8fwx8h2973rccr5l9jr49dsz6b
182182
subdir: byron/ledger/executable-spec
183183

184184
source-repository-package
185185
type: git
186186
location: https://github.com/input-output-hk/cardano-ledger-specs
187-
tag: ee92681752dc1a27ac77cb3466af8dca4ade997f
188-
--sha256: 14k6dfq8ssc3c4shll813b8wfkf9vgsz2djvg2sll9pf2fz2g1vi
187+
tag: e8fd37b21773e36f1e48ecf6f72dc3df5ceb1392
188+
--sha256: 08kvk3zslh4zs2xhrz30nqwgil8fwx8h2973rccr5l9jr49dsz6b
189189
subdir: semantics/executable-spec
190190

191191
source-repository-package
192192
type: git
193193
location: https://github.com/input-output-hk/cardano-ledger-specs
194-
tag: ee92681752dc1a27ac77cb3466af8dca4ade997f
195-
--sha256: 14k6dfq8ssc3c4shll813b8wfkf9vgsz2djvg2sll9pf2fz2g1vi
194+
tag: e8fd37b21773e36f1e48ecf6f72dc3df5ceb1392
195+
--sha256: 08kvk3zslh4zs2xhrz30nqwgil8fwx8h2973rccr5l9jr49dsz6b
196196
subdir: shelley/chain-and-ledger/dependencies/non-integer
197197

198198
source-repository-package
199199
type: git
200200
location: https://github.com/input-output-hk/cardano-ledger-specs
201-
tag: ee92681752dc1a27ac77cb3466af8dca4ade997f
202-
--sha256: 14k6dfq8ssc3c4shll813b8wfkf9vgsz2djvg2sll9pf2fz2g1vi
201+
tag: e8fd37b21773e36f1e48ecf6f72dc3df5ceb1392
202+
--sha256: 08kvk3zslh4zs2xhrz30nqwgil8fwx8h2973rccr5l9jr49dsz6b
203203
subdir: shelley/chain-and-ledger/executable-spec
204204

205205
source-repository-package
206206
type: git
207207
location: https://github.com/input-output-hk/cardano-ledger-specs
208-
tag: ee92681752dc1a27ac77cb3466af8dca4ade997f
209-
--sha256: 14k6dfq8ssc3c4shll813b8wfkf9vgsz2djvg2sll9pf2fz2g1vi
208+
tag: e8fd37b21773e36f1e48ecf6f72dc3df5ceb1392
209+
--sha256: 08kvk3zslh4zs2xhrz30nqwgil8fwx8h2973rccr5l9jr49dsz6b
210210
subdir: shelley/chain-and-ledger/executable-spec/test/
211211

212212
source-repository-package
213213
type: git
214-
location: https://github.com/input-output-hk/cardano-ledger
215-
tag: d309449e6c303a9f0dcc8dcf172df6f0b3195ed5
216-
--sha256: 1qd5x2n3d67z6q6gy0f641zsanj20v5vspx715v6bpp1s6n10y0x
217-
subdir: cardano-ledger
214+
location: https://github.com/input-output-hk/cardano-ledger-specs
215+
tag: e8fd37b21773e36f1e48ecf6f72dc3df5ceb1392
216+
--sha256: 08kvk3zslh4zs2xhrz30nqwgil8fwx8h2973rccr5l9jr49dsz6b
217+
subdir: byron/crypto
218218

219219
source-repository-package
220220
type: git
221-
location: https://github.com/input-output-hk/cardano-ledger
222-
tag: d309449e6c303a9f0dcc8dcf172df6f0b3195ed5
223-
--sha256: 1qd5x2n3d67z6q6gy0f641zsanj20v5vspx715v6bpp1s6n10y0x
224-
subdir: cardano-ledger/test
221+
location: https://github.com/input-output-hk/cardano-ledger-specs
222+
tag: e8fd37b21773e36f1e48ecf6f72dc3df5ceb1392
223+
--sha256: 08kvk3zslh4zs2xhrz30nqwgil8fwx8h2973rccr5l9jr49dsz6b
224+
subdir: byron/crypto/test
225225

226226
source-repository-package
227227
type: git
228-
location: https://github.com/input-output-hk/cardano-ledger
229-
tag: d309449e6c303a9f0dcc8dcf172df6f0b3195ed5
230-
--sha256: 1qd5x2n3d67z6q6gy0f641zsanj20v5vspx715v6bpp1s6n10y0x
231-
subdir: crypto
228+
location: https://github.com/input-output-hk/cardano-ledger-specs
229+
tag: e8fd37b21773e36f1e48ecf6f72dc3df5ceb1392
230+
--sha256: 08kvk3zslh4zs2xhrz30nqwgil8fwx8h2973rccr5l9jr49dsz6b
231+
subdir: byron/ledger/impl
232232

233233
source-repository-package
234234
type: git
235-
location: https://github.com/input-output-hk/cardano-ledger
236-
tag: d309449e6c303a9f0dcc8dcf172df6f0b3195ed5
237-
--sha256: 1qd5x2n3d67z6q6gy0f641zsanj20v5vspx715v6bpp1s6n10y0x
238-
subdir: crypto/test
235+
location: https://github.com/input-output-hk/cardano-ledger-specs
236+
tag: e8fd37b21773e36f1e48ecf6f72dc3df5ceb1392
237+
--sha256: 08kvk3zslh4zs2xhrz30nqwgil8fwx8h2973rccr5l9jr49dsz6b
238+
subdir: byron/ledger/impl/test
239239

240240
source-repository-package
241241
type: git
242242
location: https://github.com/input-output-hk/ouroboros-network
243-
tag: 0022b589ee5fb96a993fe858922b25e210b8f568
244-
--sha256: 07whwlhykmn40charizq1rnr288macibxxr7isg0kbgjj5rr0ibz
243+
tag: d237a780c558e7a2c601cc041fd7808e5c810b3d
244+
--sha256: 1gg7dygm7zq5mfqqc894hxvg9qb5h0b56gk1r9c7qq6gvviwcvn4
245245
subdir: cardano-client
246246

247247
source-repository-package
248248
type: git
249249
location: https://github.com/input-output-hk/ouroboros-network
250-
tag: 0022b589ee5fb96a993fe858922b25e210b8f568
251-
--sha256: 07whwlhykmn40charizq1rnr288macibxxr7isg0kbgjj5rr0ibz
250+
tag: d237a780c558e7a2c601cc041fd7808e5c810b3d
251+
--sha256: 1gg7dygm7zq5mfqqc894hxvg9qb5h0b56gk1r9c7qq6gvviwcvn4
252252
subdir: io-sim
253253

254254
source-repository-package
255255
type: git
256256
location: https://github.com/input-output-hk/ouroboros-network
257-
tag: 0022b589ee5fb96a993fe858922b25e210b8f568
258-
--sha256: 07whwlhykmn40charizq1rnr288macibxxr7isg0kbgjj5rr0ibz
257+
tag: d237a780c558e7a2c601cc041fd7808e5c810b3d
258+
--sha256: 1gg7dygm7zq5mfqqc894hxvg9qb5h0b56gk1r9c7qq6gvviwcvn4
259259
subdir: io-sim-classes
260260

261261
source-repository-package
262262
type: git
263263
location: https://github.com/input-output-hk/ouroboros-network
264-
tag: 0022b589ee5fb96a993fe858922b25e210b8f568
265-
--sha256: 07whwlhykmn40charizq1rnr288macibxxr7isg0kbgjj5rr0ibz
264+
tag: d237a780c558e7a2c601cc041fd7808e5c810b3d
265+
--sha256: 1gg7dygm7zq5mfqqc894hxvg9qb5h0b56gk1r9c7qq6gvviwcvn4
266266
subdir: network-mux
267267

268268
source-repository-package
269269
type: git
270270
location: https://github.com/input-output-hk/ouroboros-network
271-
tag: 0022b589ee5fb96a993fe858922b25e210b8f568
272-
--sha256: 07whwlhykmn40charizq1rnr288macibxxr7isg0kbgjj5rr0ibz
271+
tag: d237a780c558e7a2c601cc041fd7808e5c810b3d
272+
--sha256: 1gg7dygm7zq5mfqqc894hxvg9qb5h0b56gk1r9c7qq6gvviwcvn4
273273
subdir: ouroboros-network
274274

275275
source-repository-package
276276
type: git
277277
location: https://github.com/input-output-hk/ouroboros-network
278-
tag: 0022b589ee5fb96a993fe858922b25e210b8f568
279-
--sha256: 07whwlhykmn40charizq1rnr288macibxxr7isg0kbgjj5rr0ibz
278+
tag: d237a780c558e7a2c601cc041fd7808e5c810b3d
279+
--sha256: 1gg7dygm7zq5mfqqc894hxvg9qb5h0b56gk1r9c7qq6gvviwcvn4
280280
subdir: ouroboros-network-framework
281281

282282
source-repository-package
283283
type: git
284284
location: https://github.com/input-output-hk/ouroboros-network
285-
tag: 0022b589ee5fb96a993fe858922b25e210b8f568
286-
--sha256: 07whwlhykmn40charizq1rnr288macibxxr7isg0kbgjj5rr0ibz
285+
tag: d237a780c558e7a2c601cc041fd7808e5c810b3d
286+
--sha256: 1gg7dygm7zq5mfqqc894hxvg9qb5h0b56gk1r9c7qq6gvviwcvn4
287287
subdir: Win32-network
288288

289289
source-repository-package
290290
type: git
291291
location: https://github.com/input-output-hk/ouroboros-network
292-
tag: 0022b589ee5fb96a993fe858922b25e210b8f568
293-
--sha256: 07whwlhykmn40charizq1rnr288macibxxr7isg0kbgjj5rr0ibz
292+
tag: d237a780c558e7a2c601cc041fd7808e5c810b3d
293+
--sha256: 1gg7dygm7zq5mfqqc894hxvg9qb5h0b56gk1r9c7qq6gvviwcvn4
294294
subdir: ouroboros-consensus
295295

296296
source-repository-package
297297
type: git
298298
location: https://github.com/input-output-hk/ouroboros-network
299-
tag: 0022b589ee5fb96a993fe858922b25e210b8f568
300-
--sha256: 07whwlhykmn40charizq1rnr288macibxxr7isg0kbgjj5rr0ibz
299+
tag: d237a780c558e7a2c601cc041fd7808e5c810b3d
300+
--sha256: 1gg7dygm7zq5mfqqc894hxvg9qb5h0b56gk1r9c7qq6gvviwcvn4
301301
subdir: ouroboros-consensus-byron
302302

303303
source-repository-package
304304
type: git
305305
location: https://github.com/input-output-hk/ouroboros-network
306-
tag: 0022b589ee5fb96a993fe858922b25e210b8f568
307-
--sha256: 07whwlhykmn40charizq1rnr288macibxxr7isg0kbgjj5rr0ibz
306+
tag: d237a780c558e7a2c601cc041fd7808e5c810b3d
307+
--sha256: 1gg7dygm7zq5mfqqc894hxvg9qb5h0b56gk1r9c7qq6gvviwcvn4
308308
subdir: ouroboros-consensus-byronspec
309309

310310
source-repository-package
311311
type: git
312312
location: https://github.com/input-output-hk/ouroboros-network
313-
tag: 0022b589ee5fb96a993fe858922b25e210b8f568
314-
--sha256: 07whwlhykmn40charizq1rnr288macibxxr7isg0kbgjj5rr0ibz
313+
tag: d237a780c558e7a2c601cc041fd7808e5c810b3d
314+
--sha256: 1gg7dygm7zq5mfqqc894hxvg9qb5h0b56gk1r9c7qq6gvviwcvn4
315315
subdir: ouroboros-consensus-shelley
316316

317317
source-repository-package
318318
type: git
319319
location: https://github.com/input-output-hk/ouroboros-network
320-
tag: 0022b589ee5fb96a993fe858922b25e210b8f568
321-
--sha256: 07whwlhykmn40charizq1rnr288macibxxr7isg0kbgjj5rr0ibz
320+
tag: d237a780c558e7a2c601cc041fd7808e5c810b3d
321+
--sha256: 1gg7dygm7zq5mfqqc894hxvg9qb5h0b56gk1r9c7qq6gvviwcvn4
322322
subdir: ouroboros-consensus-cardano
323323

324324
source-repository-package
325325
type: git
326326
location: https://github.com/input-output-hk/ouroboros-network
327-
tag: 0022b589ee5fb96a993fe858922b25e210b8f568
328-
--sha256: 07whwlhykmn40charizq1rnr288macibxxr7isg0kbgjj5rr0ibz
327+
tag: d237a780c558e7a2c601cc041fd7808e5c810b3d
328+
--sha256: 1gg7dygm7zq5mfqqc894hxvg9qb5h0b56gk1r9c7qq6gvviwcvn4
329329
subdir: typed-protocols
330330

331331
source-repository-package
332332
type: git
333333
location: https://github.com/input-output-hk/ouroboros-network
334-
tag: 0022b589ee5fb96a993fe858922b25e210b8f568
335-
--sha256: 07whwlhykmn40charizq1rnr288macibxxr7isg0kbgjj5rr0ibz
334+
tag: d237a780c558e7a2c601cc041fd7808e5c810b3d
335+
--sha256: 1gg7dygm7zq5mfqqc894hxvg9qb5h0b56gk1r9c7qq6gvviwcvn4
336336
subdir: typed-protocols-examples
337337

338338
source-repository-package
339339
type: git
340340
location: https://github.com/input-output-hk/ouroboros-network
341-
tag: 0022b589ee5fb96a993fe858922b25e210b8f568
342-
--sha256: 07whwlhykmn40charizq1rnr288macibxxr7isg0kbgjj5rr0ibz
341+
tag: d237a780c558e7a2c601cc041fd7808e5c810b3d
342+
--sha256: 1gg7dygm7zq5mfqqc894hxvg9qb5h0b56gk1r9c7qq6gvviwcvn4
343343
subdir: ouroboros-network-testing
344344

345345
source-repository-package
346346
type: git
347347
location: https://github.com/input-output-hk/ouroboros-network
348-
tag: 0022b589ee5fb96a993fe858922b25e210b8f568
349-
--sha256: 07whwlhykmn40charizq1rnr288macibxxr7isg0kbgjj5rr0ibz
348+
tag: d237a780c558e7a2c601cc041fd7808e5c810b3d
349+
--sha256: 1gg7dygm7zq5mfqqc894hxvg9qb5h0b56gk1r9c7qq6gvviwcvn4
350350
subdir: ouroboros-consensus/ouroboros-consensus-mock
351351

352352
source-repository-package
353353
type: git
354354
location: https://github.com/input-output-hk/ouroboros-network
355-
tag: 0022b589ee5fb96a993fe858922b25e210b8f568
356-
--sha256: 07whwlhykmn40charizq1rnr288macibxxr7isg0kbgjj5rr0ibz
355+
tag: d237a780c558e7a2c601cc041fd7808e5c810b3d
356+
--sha256: 1gg7dygm7zq5mfqqc894hxvg9qb5h0b56gk1r9c7qq6gvviwcvn4
357357
subdir: ouroboros-consensus/ouroboros-consensus-test-infra
358358

359359
source-repository-package
360360
type: git
361361
location: https://github.com/input-output-hk/cardano-node
362-
tag: 46f296f8a9f3f497d9bd41e20c8398d2b5730c86
363-
--sha256: 05wv990vcg41sl68ii991fkgxp9fgcyig1asp94ig30xb1cg2zbl
362+
tag: 1e0f1a27ff5f6e1a4108b42137c95675b33ffa74
363+
--sha256: 189jgn0zlg885i4kabdm714wmk9dp3lxa78a9ryv0azq0rbl5my4
364364
subdir: cardano-config

cardano-db-sync/src/Cardano/DbSync.hs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ import Network.TypedProtocol.Pipelined (Nat(Zero, Succ))
7575

7676
import Ouroboros.Consensus.Block.Abstract (ConvertRawHash (..))
7777
import Ouroboros.Consensus.Byron.Ledger (GenTx)
78-
import Ouroboros.Consensus.Config (TopLevelConfig)
78+
import Ouroboros.Consensus.Config (TopLevelConfig, configBlock, configCodec)
79+
import Ouroboros.Consensus.Config.SupportsNode
7980
import Ouroboros.Consensus.Network.NodeToClient (ClientCodecs,
8081
cChainSyncCodec, cStateQueryCodec, cTxSubmissionCodec)
8182
import Ouroboros.Consensus.Node.ErrorPolicy (consensusErrorPolicy)
82-
import Ouroboros.Consensus.Node.NetworkProtocolVersion (BlockNodeToClientVersion)
8383
import Ouroboros.Consensus.Node.Run (RunNode)
8484
import qualified Ouroboros.Network.NodeToClient.Version as Network
8585

@@ -164,7 +164,8 @@ runDbSyncNodeNodeClient env iomgr trce plugin topLevelConfig (SocketPath socketP
164164
txv <- newEmptyTMVarM @_ @(GenTx blk)
165165
void $ subscribe
166166
(localSnocket iomgr socketPath)
167-
topLevelConfig
167+
(configCodec topLevelConfig)
168+
(getNetworkMagic $ configBlock topLevelConfig)
168169
networkSubscriptionTracers
169170
clientSubscriptionParams
170171
(dbSyncProtocols trce env plugin topLevelConfig txv)
@@ -203,7 +204,7 @@ dbSyncProtocols
203204
-> DbSyncNodePlugin
204205
-> TopLevelConfig blk
205206
-> StrictTMVar IO (GenTx blk)
206-
-> BlockNodeToClientVersion blk
207+
-> Network.NodeToClientVersion
207208
-> ClientCodecs blk IO
208209
-> ConnectionId LocalAddress
209210
-> NodeToClientProtocols 'InitiatorMode BSL.ByteString IO () Void

cardano-db-sync/src/Cardano/DbSync/Era.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ import Ouroboros.Consensus.Shelley.Node (ShelleyGenesis (..), protocol
4848
import Ouroboros.Consensus.Shelley.Protocol (TPraosStandardCrypto)
4949

5050
import Shelley.Spec.Ledger.BaseTypes (Network (..))
51+
import qualified Shelley.Spec.Ledger.BaseTypes as Shelley
5152
import qualified Shelley.Spec.Ledger.Genesis as Shelley
5253
import Shelley.Spec.Ledger.PParams (ProtVer (..))
5354

@@ -102,7 +103,7 @@ mkShelleyTopLevelConfig sgc =
102103
-- by 'pInfoConfig' anyway.
103104
shelleyInfo :: ProtocolInfo IO ShelleyBlock
104105
-- TODO: IS @'maxMajorPV' = 0@ THIS RIGHT?
105-
shelleyInfo = protocolInfoShelley sgc 2 (ProtVer 2 0) Nothing
106+
shelleyInfo = protocolInfoShelley sgc Shelley.NeutralNonce 2 (ProtVer 2 0) Nothing
106107

107108
mkShelleyProtocolMagic :: ShelleyGenesis TPraosStandardCrypto -> ProtocolMagic
108109
mkShelleyProtocolMagic sg =

0 commit comments

Comments
 (0)