Skip to content

Commit 32129d8

Browse files
committed
move all queries to cardano-db library
1 parent cc75a92 commit 32129d8

File tree

138 files changed

+8044
-7933
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+8044
-7933
lines changed

cabal.project

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ repository cardano-haskell-packages
1010
d4a35cd3121aa00d18544bb0ac01c3e1691d618f462c46129271bccf39f7e8ee
1111

1212
index-state:
13-
, hackage.haskell.org 2025-06-26T20:35:31Z
14-
, cardano-haskell-packages 2025-06-25T13:51:34Z
13+
, hackage.haskell.org 2025-05-23T06:30:40Z
14+
, cardano-haskell-packages 2025-05-16T20:03:45Z
1515

1616
packages:
1717
cardano-db
@@ -85,9 +85,15 @@ if impl (ghc >= 9.12)
8585
-- https://github.com/kapralVV/Unique/issues/11
8686
, Unique:hashable
8787

88+
-- https://github.com/Gabriella439/Haskell-Pipes-Safe-Library/pull/70
89+
, pipes-safe:base
90+
8891
-- https://github.com/haskellari/postgresql-simple/issues/152
8992
, postgresql-simple:base
9093
, postgresql-simple:template-haskell
94+
95+
-- https://github.com/haskell-hvr/int-cast/issues/10
96+
, int-cast:base
9197

9298
-- The two following one-liners will cut off / restore the remainder of this file (for nix-shell users):
9399
-- when using the "cabal" wrapper script provided by nix-shell.

cardano-chain-gen/cardano-chain-gen.cabal

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ library
4444
Cardano.Mock.ChainDB
4545
Cardano.Mock.ChainSync.Server
4646
Cardano.Mock.ChainSync.State
47-
Cardano.Mock.Query
4847
Cardano.Mock.Forging.Crypto
4948
Cardano.Mock.Forging.Interpreter
5049
Cardano.Mock.Forging.Tx.Alonzo
@@ -65,7 +64,6 @@ library
6564
, cardano-binary
6665
, cardano-crypto-class
6766
, cardano-data
68-
, cardano-db
6967
, cardano-ledger-allegra
7068
, cardano-ledger-alonzo
7169
, cardano-ledger-babbage
@@ -82,7 +80,6 @@ library
8280
, containers
8381
, contra-tracer
8482
, directory
85-
, esqueleto
8683
, extra
8784
, mtl
8885
, microlens
@@ -148,6 +145,7 @@ test-suite cardano-chain-gen
148145
Test.Cardano.Db.Mock.Unit.Conway.Config.JsonbInSchema
149146
Test.Cardano.Db.Mock.Unit.Conway.Config.MigrateConsumedPruneTxOut
150147
Test.Cardano.Db.Mock.Unit.Conway.Config.Parse
148+
Test.Cardano.Db.Mock.Unit.Conway.Config.Schema
151149
Test.Cardano.Db.Mock.Unit.Conway.Governance
152150
Test.Cardano.Db.Mock.Unit.Conway.InlineAndReference
153151
Test.Cardano.Db.Mock.Unit.Conway.Other
@@ -182,7 +180,6 @@ test-suite cardano-chain-gen
182180
, contra-tracer
183181
, data-default-class
184182
, directory
185-
, esqueleto
186183
, extra
187184
, filepath
188185
, int-cast
@@ -192,16 +189,13 @@ test-suite cardano-chain-gen
192189
, tasty
193190
, tasty-quickcheck
194191
, text
195-
, transformers
196192
, transformers-except
197193
, tree-diff
198194
, tasty-hunit
199195
, monad-logger
200196
, ouroboros-consensus
201197
, ouroboros-consensus-cardano
202198
, ouroboros-network-api
203-
, persistent
204-
, persistent-postgresql
205199
, postgresql-simple
206200
, QuickCheck
207201
, quickcheck-state-machine:no-vendored-treediff

cardano-chain-gen/src/Cardano/Mock/Query.hs

Lines changed: 0 additions & 274 deletions
This file was deleted.

0 commit comments

Comments
 (0)