-
Notifications
You must be signed in to change notification settings - Fork 176
Expand file tree
/
Copy pathcardano-ledger-shelley.cabal
More file actions
334 lines (311 loc) · 8.53 KB
/
Copy pathcardano-ledger-shelley.cabal
File metadata and controls
334 lines (311 loc) · 8.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
cabal-version: 3.0
name: cardano-ledger-shelley
version: 1.19.0.0
license: Apache-2.0
maintainer: operations@iohk.io
author: IOHK
synopsis: Shelley Ledger Executable Model
build-type: Simple
data-files:
cddl/data/shelley.cddl
golden/*.cbor
golden/*.json
extra-source-files: CHANGELOG.md
source-repository head
type: git
location: https://github.com/intersectmbo/cardano-ledger.git
subdir: eras/shelley/impl
flag asserts
description: Enable assertions
default: False
library
exposed-modules:
Cardano.Ledger.Chain
Cardano.Ledger.Shelley
Cardano.Ledger.Shelley.API
Cardano.Ledger.Shelley.API.ByronTranslation
Cardano.Ledger.Shelley.API.Forecast
Cardano.Ledger.Shelley.API.Mempool
Cardano.Ledger.Shelley.API.Types
Cardano.Ledger.Shelley.API.Validation
Cardano.Ledger.Shelley.API.Wallet
Cardano.Ledger.Shelley.AdaPots
Cardano.Ledger.Shelley.BlockBody
Cardano.Ledger.Shelley.BlockBody.Internal
Cardano.Ledger.Shelley.Core
Cardano.Ledger.Shelley.Genesis
Cardano.Ledger.Shelley.Governance
Cardano.Ledger.Shelley.Internal
Cardano.Ledger.Shelley.LedgerState
Cardano.Ledger.Shelley.PParams
Cardano.Ledger.Shelley.PoolRank
Cardano.Ledger.Shelley.RewardProvenance
Cardano.Ledger.Shelley.RewardUpdate
Cardano.Ledger.Shelley.Rewards
Cardano.Ledger.Shelley.Rules
Cardano.Ledger.Shelley.Rules.Reports
Cardano.Ledger.Shelley.Scripts
Cardano.Ledger.Shelley.SoftForks
Cardano.Ledger.Shelley.StabilityWindow
Cardano.Ledger.Shelley.State
Cardano.Ledger.Shelley.Transition
Cardano.Ledger.Shelley.Translation
Cardano.Ledger.Shelley.Tx
Cardano.Ledger.Shelley.TxAuxData
Cardano.Ledger.Shelley.TxBody
Cardano.Ledger.Shelley.TxCert
Cardano.Ledger.Shelley.TxOut
Cardano.Ledger.Shelley.TxWits
Cardano.Ledger.Shelley.UTxO
hs-source-dirs: src
other-modules:
Cardano.Ledger.Shelley.Era
Cardano.Ledger.Shelley.Forecast
Cardano.Ledger.Shelley.LedgerState.IncrementalStake
Cardano.Ledger.Shelley.LedgerState.NewEpochState
Cardano.Ledger.Shelley.LedgerState.PulsingReward
Cardano.Ledger.Shelley.LedgerState.Types
Cardano.Ledger.Shelley.Rules.Bbody
Cardano.Ledger.Shelley.Rules.Deleg
Cardano.Ledger.Shelley.Rules.Delegs
Cardano.Ledger.Shelley.Rules.Delpl
Cardano.Ledger.Shelley.Rules.Epoch
Cardano.Ledger.Shelley.Rules.Ledger
Cardano.Ledger.Shelley.Rules.Ledgers
Cardano.Ledger.Shelley.Rules.Mir
Cardano.Ledger.Shelley.Rules.NewEpoch
Cardano.Ledger.Shelley.Rules.Newpp
Cardano.Ledger.Shelley.Rules.Pool
Cardano.Ledger.Shelley.Rules.PoolReap
Cardano.Ledger.Shelley.Rules.Ppup
Cardano.Ledger.Shelley.Rules.Rupd
Cardano.Ledger.Shelley.Rules.Snap
Cardano.Ledger.Shelley.Rules.Tick
Cardano.Ledger.Shelley.Rules.Upec
Cardano.Ledger.Shelley.Rules.Utxo
Cardano.Ledger.Shelley.Rules.Utxow
Cardano.Ledger.Shelley.State.Account
Cardano.Ledger.Shelley.State.CertState
Cardano.Ledger.Shelley.State.Stake
default-language: Haskell2010
ghc-options:
-Wall
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wpartial-fields
-Wunused-packages
-- ghc-9.14 gives redundant constraint warnings on some constraints
-- that are needed for earlier compilers.
if impl(ghc <9.14)
ghc-options:
-Wredundant-constraints
-- In ghc-9.14 the `pattern` namespace specifier is deprecated.
if impl(ghc >=9.14)
ghc-options:
-Wno-pattern-namespace-specifier
build-depends:
FailT,
aeson >=2,
base >=4.18 && <5,
bytestring,
cardano-base >=0.1.1.0,
cardano-crypto-class >=2.3 && <2.6,
cardano-crypto-wrapper,
cardano-data ^>=1.3,
cardano-ledger-binary ^>=1.9,
cardano-ledger-byron,
cardano-ledger-core:{cardano-ledger-core, internal} ^>=1.21,
cardano-slotting,
cardano-strict-containers >=0.1.5,
containers,
data-default,
deepseq,
fs-api ^>=0.4,
groups,
io-classes,
json-stream >=0.4,
mempack,
microlens,
mtl,
nothunks,
primitive,
quiet,
small-steps >=1.1.1,
streaming >=0.2,
text,
time,
transformers,
validation-selective,
vector-map >=1.1,
if flag(asserts)
ghc-options: -fno-ignore-asserts
library cddl
exposed-modules:
Cardano.Ledger.Shelley.HuddleSpec
visibility: public
hs-source-dirs: cddl/lib
default-language: Haskell2010
ghc-options:
-Wall
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wpartial-fields
-Wunused-packages
build-depends:
base,
cardano-ledger-core:cddl,
cardano-ledger-shelley,
heredoc,
executable generate-cddl
main-is: Main.hs
hs-source-dirs: cddl/exe
other-modules: Paths_cardano_ledger_shelley
default-language: Haskell2010
ghc-options:
-Wall
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wpartial-fields
-Wunused-packages
build-depends:
base,
cardano-ledger-binary:testlib >=1.4,
cddl,
library testlib
exposed-modules:
Test.Cardano.Ledger.Shelley.Arbitrary
Test.Cardano.Ledger.Shelley.Binary.Annotator
Test.Cardano.Ledger.Shelley.Binary.Cddl
Test.Cardano.Ledger.Shelley.Binary.Golden
Test.Cardano.Ledger.Shelley.Binary.RoundTrip
Test.Cardano.Ledger.Shelley.Constants
Test.Cardano.Ledger.Shelley.Era
Test.Cardano.Ledger.Shelley.Examples
Test.Cardano.Ledger.Shelley.Imp
Test.Cardano.Ledger.Shelley.Imp.DelegSpec
Test.Cardano.Ledger.Shelley.Imp.EpochSpec
Test.Cardano.Ledger.Shelley.Imp.LedgerSpec
Test.Cardano.Ledger.Shelley.Imp.PoolSpec
Test.Cardano.Ledger.Shelley.Imp.UtxoSpec
Test.Cardano.Ledger.Shelley.Imp.UtxowSpec
Test.Cardano.Ledger.Shelley.ImpTest
Test.Cardano.Ledger.Shelley.JSON
Test.Cardano.Ledger.Shelley.TreeDiff
Test.Cardano.Ledger.Shelley.UnitTests.InstantStakeTest
visibility: public
hs-source-dirs: testlib
other-modules: Paths_cardano_ledger_shelley
default-language: Haskell2010
ghc-options:
-Wall
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wpartial-fields
-Wunused-packages
-- ghc-9.14 gives redundant constraint warnings on some constraints
-- that are needed for earlier compilers.
if impl(ghc <9.14)
ghc-options:
-Wredundant-constraints
-- In ghc-9.14 the `pattern` namespace specifier is deprecated.
if impl(ghc >=9.14)
ghc-options:
-Wno-pattern-namespace-specifier
build-depends:
FailT,
ImpSpec,
base,
bytestring,
cardano-base,
cardano-base:testlib,
cardano-crypto,
cardano-crypto-class,
cardano-crypto-wrapper,
cardano-data:{cardano-data, testlib},
cardano-ledger-binary:{cardano-ledger-binary, testlib},
cardano-ledger-byron:{cardano-ledger-byron, testlib},
cardano-ledger-core:{cardano-ledger-core, testlib},
cardano-ledger-shelley,
cardano-slotting:{cardano-slotting, testlib},
cardano-strict-containers,
containers,
data-default,
fs-sim,
generic-random,
hedgehog-quickcheck,
mempack,
microlens,
microlens-mtl,
mtl,
prettyprinter,
prettyprinter-ansi-terminal,
random,
small-steps >=1.1,
text,
time,
transformers,
tree-diff,
unliftio,
vector-map,
test-suite tests
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
other-modules:
Paths_cardano_ledger_shelley
Test.Cardano.Ledger.Shelley.Binary.CddlSpec
Test.Cardano.Ledger.Shelley.Binary.GoldenSpec
Test.Cardano.Ledger.Shelley.Binary.RoundTripSpec
Test.Cardano.Ledger.Shelley.BinarySpec
default-language: Haskell2010
ghc-options:
-Wall
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wpartial-fields
-Wunused-packages
-threaded
-rtsopts
-with-rtsopts=-N
build-depends:
base,
cardano-ledger-binary:testlib,
cardano-ledger-core:{cardano-ledger-core, testlib},
cardano-ledger-shelley:{cardano-ledger-shelley, cddl},
testlib,
test-suite memory
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test/memory
default-language: Haskell2010
ghc-options:
-Wall
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wpartial-fields
-Wunused-packages
-threaded
-rtsopts
build-depends:
aeson,
base,
bytestring,
cardano-crypto-class,
cardano-ledger-shelley,
containers,
directory,
filepath,
fs-api,
temporary,
text,
weigh,