-
Notifications
You must be signed in to change notification settings - Fork 155
/
cardano-ledger-shelley.cabal
243 lines (228 loc) · 6.31 KB
/
cardano-ledger-shelley.cabal
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
cabal-version: 3.0
name: cardano-ledger-shelley
version: 1.15.0.0
license: Apache-2.0
maintainer: [email protected]
author: IOHK
synopsis: Shelley Ledger Executable Model
build-type: Simple
data-files: cddl-files/shelley.cddl
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.Mempool
Cardano.Ledger.Shelley.API.Types
Cardano.Ledger.Shelley.API.Validation
Cardano.Ledger.Shelley.API.Wallet
Cardano.Ledger.Shelley.AdaPots
Cardano.Ledger.Shelley.BlockChain
Cardano.Ledger.Shelley.Core
Cardano.Ledger.Shelley.Genesis
Cardano.Ledger.Shelley.Governance
Cardano.Ledger.Shelley.HardForks
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.Transition
Cardano.Ledger.Shelley.Translation
Cardano.Ledger.Shelley.Tx
Cardano.Ledger.Shelley.Tx.Internal
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.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
default-language: Haskell2010
ghc-options:
-Wall
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wpartial-fields
-Wunused-packages
build-depends:
aeson >=2,
base >=4.14 && <5,
bytestring,
cardano-crypto-class,
cardano-crypto-wrapper,
cardano-data ^>=1.2.2,
cardano-ledger-binary ^>=1.5,
cardano-ledger-byron,
cardano-ledger-core ^>=1.16,
cardano-slotting,
cardano-strict-containers,
containers,
data-default,
deepseq,
groups,
heapwords,
microlens,
mtl,
nothunks,
quiet,
set-algebra >=1.0,
small-steps >=1.1,
text,
time,
transformers,
validation-selective,
vector-map ^>=1.1,
if flag(asserts)
ghc-options: -fno-ignore-asserts
library testlib
exposed-modules:
Test.Cardano.Ledger.Shelley.Arbitrary
Test.Cardano.Ledger.Shelley.Binary.Cddl
Test.Cardano.Ledger.Shelley.Binary.Golden
Test.Cardano.Ledger.Shelley.Binary.RoundTrip
Test.Cardano.Ledger.Shelley.CDDL
Test.Cardano.Ledger.Shelley.Constants
Test.Cardano.Ledger.Shelley.Imp
Test.Cardano.Ledger.Shelley.Imp.EpochSpec
Test.Cardano.Ledger.Shelley.Imp.LedgerSpec
Test.Cardano.Ledger.Shelley.Imp.UtxoSpec
Test.Cardano.Ledger.Shelley.Imp.UtxowSpec
Test.Cardano.Ledger.Shelley.ImpTest
Test.Cardano.Ledger.Shelley.TreeDiff
Test.Cardano.Ledger.Shelley.UnitTests.IncrementalStakeTest
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
-Wredundant-constraints
-Wpartial-fields
-Wunused-packages
build-depends:
FailT,
ImpSpec,
base,
bytestring,
cardano-crypto-class,
cardano-data,
cardano-ledger-binary:{cardano-ledger-binary, testlib},
cardano-ledger-byron,
cardano-ledger-byron-test,
cardano-ledger-core:{cardano-ledger-core, testlib},
cardano-ledger-shelley,
cardano-slotting:{cardano-slotting, testlib},
cardano-strict-containers,
containers,
cuddle >=0.3.2,
data-default,
generic-random,
hedgehog-quickcheck,
heredoc,
microlens,
microlens-mtl,
mtl,
prettyprinter,
prettyprinter-ansi-terminal,
random,
small-steps >=1.1,
text,
time,
transformers,
tree-diff,
unliftio,
vector-map,
executable huddle-cddl
main-is: Main.hs
hs-source-dirs: huddle-cddl
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
-threaded
-rtsopts
-with-rtsopts=-N
build-depends:
base,
cardano-ledger-binary:testlib >=1.4,
testlib,
test-suite tests
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
other-modules:
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,
testlib,