Skip to content

Commit bbfcd24

Browse files
committed
Update dependencies to node 1.35.4
1 parent 36b5def commit bbfcd24

File tree

5 files changed

+582
-229
lines changed

5 files changed

+582
-229
lines changed

cabal.project

Lines changed: 51 additions & 186 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
index-state: 2022-02-18T00:00:00Z
1+
repository cardano-haskell-packages
2+
url: https://input-output-hk.github.io/cardano-haskell-packages
3+
secure: True
4+
root-keys:
5+
3e0cce471cf09815f930210f7827266fd09045445d65923e6d0238a6cd15126f
6+
443abb7fb497a134c343faf52f0b659bd7999bc06b7f63fa76dc99d631f9bea1
7+
a86a1f6ce86c449c46666bda44268677abf29b5b2d2eb5ec7af903ec2f117a82
8+
bcec67e8e99cabfa7764d75ad9b158d72bfacf70ca1d0ec8bc6b4406d1bf8413
9+
c00aae8461a256275598500ea0e187588c35a5d5d7454fb57eac18d9edb86a56
10+
d4a35cd3121aa00d18544bb0ac01c3e1691d618f462c46129271bccf39f7e8ee
11+
12+
index-state: 2022-09-27T00:00:00Z
13+
index-state: cardano-haskell-packages 2022-10-25T20:00:00Z
14+
-- index-state: cardano-haskell-packages 2022-11-10T17:31:44Z
215

316
packages:
417
cardano-db
@@ -9,14 +22,37 @@ packages:
922
cardano-chain-gen
1023

1124
constraints:
12-
libsystemd-journal >= 1.4.4
25+
persistent-postgresql >= 2.11.0.1
26+
, hedgehog >= 1.0
1327
, bimap >= 0.4.0
28+
, libsystemd-journal >= 1.4.4
1429
, systemd >= 2.3.0
1530
-- systemd-2.3.0 requires at least network 3.1.1.0 but it doesn't declare
1631
-- that dependency
1732
, network >= 3.1.1.0
18-
, persistent-postgresql >= 2.11.0.1
19-
, cardano-crypto-class +development
33+
, HSOpenSSL >= 0.11.7.2
34+
, algebraic-graphs < 0.7
35+
, protolude < 0.3.1
36+
-- TODO: these should be set in cabal files, but avoiding setting them in lower dependencies for initial CHaP release
37+
, cardano-prelude == 0.1.0.0
38+
, base-deriving-via == 0.1.0.0
39+
, cardano-binary == 1.5.0
40+
, cardano-binary-test == 1.3.0
41+
, cardano-crypto-class == 2.0.0.0.1
42+
, cardano-crypto-praos == 2.0.0.0.1
43+
, cardano-crypto-tests == 2.0.0.0.1
44+
, cardano-slotting == 0.1.0.0
45+
, measures == 0.1.0.0
46+
, orphans-deriving-via == 0.1.0.0
47+
, strict-containers == 0.1.0.0
48+
, plutus-core == 1.0.0.1
49+
, plutus-ledger-api == 1.0.0.1
50+
, plutus-tx == 1.0.0.0
51+
, plutus-tx-plugin == 1.0.0.0
52+
, prettyprinter-configurable == 0.1.0.0
53+
, plutus-ghc-stub == 8.6.5
54+
, word-array == 0.1.0.0
55+
, word-array == 0.1.0.0
2056

2157
package cardano-db
2258
ghc-options: -Wall -Werror -Wredundant-constraints -Wincomplete-uni-patterns -Wincomplete-record-updates -Wpartial-fields -Wunused-imports -Wunused-packages
@@ -84,89 +120,11 @@ allow-newer:
84120
-- --------------------------- 8< --------------------------
85121
-- Please do not put any `source-repository-package` clause above this line.
86122

87-
-- Using a fork until our patches can be merged upstream
88-
source-repository-package
89-
type: git
90-
location: https://github.com/input-output-hk/optparse-applicative
91-
tag: 7497a29cb998721a9068d5725d49461f2bba0e7a
92-
--sha256: 1gvsrg925vynwgqwplgjmp53vj953qyh3wbdf34pw21c8r47w35r
93-
94-
source-repository-package
95-
type: git
96-
location: https://github.com/vshabanov/ekg-json
97-
tag: 00ebe7211c981686e65730b7144fbf5350462608
98-
--sha256: 1zvjm3pb38w0ijig5wk5mdkzcszpmlp5d4zxvks2jk1rkypi8gsm
99-
100-
source-repository-package
101-
type: git
102-
location: https://github.com/input-output-hk/hedgehog-extras
103-
tag: 714ee03a5a786a05fc57ac5d2f1c2edce4660d85
104-
--sha256: 1qa4mm36xynaf17990ijmzww0ij8hjrc0vw5nas6d0zx6q9hb978
105-
106-
source-repository-package
107-
type: git
108-
location: https://github.com/haskell-works/hw-aeson
109-
tag: 6dc309ff4260c71d9a18c220cbae8aa1dfe2a02e
110-
--sha256: 08zxzkk1fy8xrvl46lhzmpyisizl0nzl1n00g417vc0l170wsr9j
111-
112-
source-repository-package
113-
type: git
114-
location: https://github.com/input-output-hk/cardano-base
115-
tag: 0f3a867493059e650cda69e20a5cbf1ace289a57
116-
--sha256: 0p0az3sbkhb7njji8xxdrfb0yx2gc8fmrh872ffm8sfip1w29gg1
117-
subdir:
118-
base-deriving-via
119-
binary
120-
binary/test
121-
cardano-crypto-class
122-
cardano-crypto-praos
123-
cardano-crypto-tests
124-
measures
125-
orphans-deriving-via
126-
slotting
127-
strict-containers
128-
129-
source-repository-package
130-
type: git
131-
location: https://github.com/input-output-hk/cardano-crypto
132-
tag: f73079303f663e028288f9f4a9e08bcca39a923e
133-
--sha256: 1n87i15x54s0cjkh3nsxs4r1x016cdw1fypwmr68936n3xxsjn6q
134-
135-
source-repository-package
136-
type: git
137-
location: https://github.com/input-output-hk/cardano-ledger
138-
tag: c7c63dabdb215ebdaed8b63274965966f2bf408f
139-
--sha256: 1cn1z3dh5dy5yy42bwfd8rg25mg8qp3m55gyfsl563wgw4q1nd6d
140-
subdir:
141-
eras/alonzo/impl
142-
-- eras/alonzo/test-suite
143-
eras/babbage/impl
144-
eras/byron/chain/executable-spec
145-
eras/byron/crypto
146-
eras/byron/crypto/test
147-
eras/byron/ledger/executable-spec
148-
eras/byron/ledger/impl
149-
eras/byron/ledger/impl/test
150-
eras/shelley/impl
151-
eras/shelley/test-suite
152-
eras/shelley-ma/impl
153-
-- eras/shelley-ma/test-suite
154-
libs/cardano-ledger-core
155-
libs/cardano-ledger-pretty
156-
libs/cardano-protocol-tpraos
157-
libs/cardano-data
158-
libs/vector-map
159-
libs/set-algebra
160-
libs/small-steps
161-
libs/small-steps-test
162-
libs/non-integral
163-
libs/non-integral
164-
165123
source-repository-package
166124
type: git
167125
location: https://github.com/input-output-hk/cardano-node
168-
tag: 950c4e222086fed5ca53564e642434ce9307b0b9
169-
--sha256: 020fwimsm24yblr1fmnwx240wj8r3x715p89cpjgnnd8axwf32p0
126+
tag: ebc7be471b30e5931b35f9bbc236d21c375b91bb
127+
--sha256: 1j01m2cp2vdcl26zx9xmipr551v3b2rz9kfn9ik8byfwj1z7652r
170128
subdir:
171129
cardano-api
172130
cardano-cli
@@ -178,107 +136,15 @@ source-repository-package
178136

179137
source-repository-package
180138
type: git
181-
location: https://github.com/input-output-hk/cardano-prelude
182-
tag: bb4ed71ba8e587f672d06edf9d2e376f4b055555
183-
--sha256: 00h10l5mmiza9819p9v5q5749nb9pzgi20vpzpy1d34zmh6gf1cj
184-
subdir:
185-
cardano-prelude
186-
cardano-prelude-test
187-
188-
source-repository-package
189-
type: git
190-
location: https://github.com/input-output-hk/goblins
191-
tag: cde90a2b27f79187ca8310b6549331e59595e7ba
192-
--sha256: 17c88rbva3iw82yg9srlxjv2ia5wjb9cyqw44hik565f5v9svnyg
193-
194-
source-repository-package
195-
type: git
196-
location: https://github.com/input-output-hk/iohk-monitoring-framework
197-
tag: 066f7002aac5a0efc20e49643fea45454f226caa
198-
--sha256: 0s6x4in11k5ba7nl7la896g28sznf9185xlqg9c604jqz58vj9nj
199-
subdir:
200-
contra-tracer
201-
iohk-monitoring
202-
plugins/backend-aggregation
203-
plugins/backend-ekg
204-
plugins/backend-monitoring
205-
plugins/backend-trace-forwarder
206-
plugins/scribe-systemd
207-
tracer-transformers
208-
209-
source-repository-package
210-
type: git
211-
location: https://github.com/input-output-hk/Win32-network
212-
tag: 3825d3abf75f83f406c1f7161883c438dac7277d
213-
--sha256: 19wahfv726fa3mqajpqdqhnl9ica3xmf68i254q45iyjcpj1psqx
214-
215-
source-repository-package
216-
type: git
217-
location: https://github.com/input-output-hk/ouroboros-network
218-
tag: cb9eba406ceb2df338d8384b35c8addfe2067201
219-
--sha256: 066llskxzjgcs13lwlvklb28azb9kd9b77j61x8fvrj1rlf5njfw
220-
subdir:
221-
cardano-client
222-
monoidal-synchronisation
223-
network-mux
224-
ntp-client
225-
ouroboros-consensus
226-
ouroboros-consensus-byron
227-
ouroboros-consensus-cardano
228-
ouroboros-consensus-protocol
229-
ouroboros-consensus-shelley
230-
ouroboros-network
231-
ouroboros-network-framework
232-
ouroboros-network-testing
233-
234-
source-repository-package
235-
type: git
236-
location: https://github.com/input-output-hk/io-sim
237-
tag: f4183f274d88d0ad15817c7052df3a6a8b40e6dc
238-
--sha256: 0vb2pd9hl89v2y5hrhrsm69yx0jf98vppjmfncj2fraxr3p3lldw
239-
subdir:
240-
io-classes
241-
io-sim
242-
strict-stm
243-
244-
source-repository-package
245-
type: git
246-
location: https://github.com/input-output-hk/typed-protocols
247-
tag: 181601bc3d9e9d21a671ce01e0b481348b3ca104
248-
--sha256: 1lr97b2z7l0rpsmmz92rsv27qzd5vavz10cf7n25svya4kkiysp5
249-
subdir:
250-
typed-protocols
251-
typed-protocols-cborg
252-
typed-protocols-examples
253-
254-
source-repository-package
255-
type: git
256-
location: https://github.com/input-output-hk/plutus
257-
tag: a56c96598b4b25c9e28215214d25189331087244
258-
--sha256: 12d6bndmj0dxl6xlaqmf78326yp5hw093bmybmqfpdkvk4mgz03j
259-
subdir:
260-
plutus-core
261-
plutus-ledger-api
262-
plutus-tx
263-
plutus-tx-plugin
264-
prettyprinter-configurable
265-
stubs/plutus-ghc-stub
266-
word-array
267-
268-
269-
-- Something in plutus-core requries this.
270-
source-repository-package
271-
type: git
272-
location: https://github.com/input-output-hk/flat
273-
tag: ee59880f47ab835dbd73bea0847dab7869fc20d8
274-
--sha256: 1lrzknw765pz2j97nvv9ip3l1mcpf2zr4n56hwlz0rk7wq7ls4cm
139+
location: https://github.com/vshabanov/ekg-json
140+
tag: 00ebe7211c981686e65730b7144fbf5350462608
141+
--sha256: 1zvjm3pb38w0ijig5wk5mdkzcszpmlp5d4zxvks2jk1rkypi8gsm
275142

276-
-- Currently a dependency of cardano-cli, but will be dropped soon.
277143
source-repository-package
278144
type: git
279-
location: https://github.com/input-output-hk/cardano-config
280-
tag: e9de7a2cf70796f6ff26eac9f9540184ded0e4e6
281-
--sha256: 1wm1c99r5zvz22pdl8nhkp13falvqmj8dgkm8fxskwa9ydqz01ld
145+
location: https://github.com/haskell-works/hw-aeson
146+
tag: 6dc309ff4260c71d9a18c220cbae8aa1dfe2a02e
147+
--sha256: 08zxzkk1fy8xrvl46lhzmpyisizl0nzl1n00g417vc0l170wsr9j
282148

283149
source-repository-package
284150
type: git
@@ -288,7 +154,6 @@ source-repository-package
288154

289155
source-repository-package
290156
type: git
291-
location: https://github.com/input-output-hk/ekg-forward
292-
tag: 297cd9db5074339a2fb2e5ae7d0780debb670c63
293-
--sha256: 1zcwry3y5rmd9lgxy89wsb3k4kpffqji35dc7ghzbz603y1gy24g
294-
157+
location: https://github.com/input-output-hk/cardano-config
158+
tag: e9de7a2cf70796f6ff26eac9f9540184ded0e4e6
159+
--sha256: 1wm1c99r5zvz22pdl8nhkp13falvqmj8dgkm8fxskwa9ydqz01ld

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ import qualified Data.List as List
5858
import qualified Data.Map.Strict as Map
5959
import qualified Data.Strict.Maybe as Strict
6060
import qualified Data.Text as Text
61-
import Data.Text.ANSI (red)
61+
import Text.ANSI (red)
6262
import qualified Data.Text.Encoding as Text
6363
import qualified Data.Text.IO as Text
6464
import qualified Data.Time.Clock as Time

cardano-db/src/Cardano/Db/Insert.hs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ import Data.Text (Text)
7272
import qualified Data.Text as Text
7373

7474
import Database.Persist.Class (AtLeastOneUniqueKey, PersistEntityBackend, PersistEntity,
75-
checkUnique, insert, insertBy, replaceUnique, )
75+
SafeToInsert, checkUnique, insert, insertBy, replaceUnique)
7676
import Database.Persist.EntityDef.Internal (entityDB, entityUniques)
7777
import Database.Persist.Sql (OnlyOneUniqueKey, PersistRecordBackend, SqlBackend,
7878
UniqueDef, entityDef, insertMany, rawExecute, rawSql, toPersistFields,
@@ -266,6 +266,7 @@ insertMany'
266266
( MonadBaseControl IO m
267267
, MonadIO m
268268
, PersistRecordBackend record SqlBackend
269+
, SafeToInsert record
269270
)
270271
=> String -> [record] -> ReaderT SqlBackend m [Key record]
271272
insertMany' vtype records = handle exceptHandler (insertMany records)
@@ -365,6 +366,7 @@ insertReplace
365366
, MonadBaseControl IO m
366367
, MonadIO m
367368
, PersistRecordBackend record SqlBackend
369+
, SafeToInsert record
368370
)
369371
=> String -> record -> ReaderT SqlBackend m (Key record)
370372
insertReplace vtype record =
@@ -387,6 +389,7 @@ insertUnchecked
387389
:: ( MonadIO m
388390
, MonadBaseControl IO m
389391
, PersistEntityBackend record ~ SqlBackend
392+
, SafeToInsert record
390393
, PersistEntity record)
391394
=> String -> record -> ReaderT SqlBackend m (Key record)
392395
insertUnchecked vtype =

0 commit comments

Comments
 (0)