-
Notifications
You must be signed in to change notification settings - Fork 83
/
Cargo.toml
412 lines (368 loc) · 19.7 KB
/
Cargo.toml
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
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
[package]
authors = ["Interlay Ltd"]
edition = "2021"
name = 'kintsugi-runtime-parachain'
version = "1.2.0"
[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
[dependencies]
log = { version = "0.4.17", default-features = false }
serde = { version = "1.0.130", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive", "max-encoded-len"] }
hex-literal = { version = "0.3.1" }
scale-info = { version = "2.2.0", default-features = false, features = ["derive"] }
# Substrate dependencies
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
sp-weights = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false, optional = true}
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false, optional = true }
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
pallet-contracts = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
pallet-contracts-primitives = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false, optional = true }
frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
## Governance
pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
pallet-society = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
# Aura dependencies
pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
# Cumulus dependencies
cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.31", default-features = false }
cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.31", default-features = false }
cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.31", default-features = false }
cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.31", default-features = false }
cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.31", default-features = false }
cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.31", default-features = false }
cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.31", default-features = false }
cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.31", default-features = false }
parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.31", default-features = false }
# Polkadot dependencies
pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.31", default-features = false }
pallet-xcm-benchmarks = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.31", default-features = false, optional = true }
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.31", default-features = false }
xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.31", default-features = false }
xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.31", default-features = false }
xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.31", default-features = false }
# Parachain dependencies
annuity = { path = "../../../crates/annuity", default-features = false }
bitcoin = { path = "../../../crates/bitcoin", default-features = false }
btc-relay = { path = "../../../crates/btc-relay", default-features = false }
clients-info = { path = "../../../crates/clients-info", default-features = false }
collator-selection = { path = "../../../crates/collator-selection", default-features = false }
currency = { path = "../../../crates/currency", default-features = false }
democracy = { path = "../../../crates/democracy", default-features = false }
dex-general = { path = "../../../crates/dex-general", default-features = false }
dex-stable = { path = "../../../crates/dex-stable", default-features = false }
dex-swap-router = { path = "../../../crates/dex-swap-router", default-features = false }
escrow = { path = "../../../crates/escrow", default-features = false }
farming = { path = "../../../crates/farming", default-features = false }
fee = { path = "../../../crates/fee", default-features = false }
issue = { path = "../../../crates/issue", default-features = false }
loans = { path = "../../../crates/loans", default-features = false }
multi-transaction-payment = { path = "../../../crates/multi-transaction-payment", default-features = false }
nomination = { path = "../../../crates/nomination", default-features = false }
oracle = { path = "../../../crates/oracle", default-features = false }
redeem = { path = "../../../crates/redeem", default-features = false }
replace = { path = "../../../crates/replace", default-features = false }
reward = { path = "../../../crates/reward", default-features = false }
security = { path = "../../../crates/security", default-features = false }
staking = { path = "../../../crates/staking", default-features = false }
supply = { path = "../../../crates/supply", default-features = false }
traits = { path = "../../../crates/traits", default-features = false }
tx-pause = { path = "../../../crates/tx-pause", default-features = false }
vault-registry = { path = "../../../crates/vault-registry", default-features = false }
primitives = { package = "interbtc-primitives", path = "../../../primitives", default-features = false }
runtime-common = { path = "../common", default-features = false }
btc-relay-rpc-runtime-api = { path = "../../../crates/btc-relay/rpc/runtime-api", default-features = false }
dex-general-rpc-runtime-api = { path = "../../../crates/dex-general/rpc/runtime-api", default-features = false }
dex-stable-rpc-runtime-api = { path = "../../../crates/dex-stable/rpc/runtime-api", default-features = false }
escrow-rpc-runtime-api = { path = "../../../crates/escrow/rpc/runtime-api", default-features = false }
issue-rpc-runtime-api = { path = "../../../crates/issue/rpc/runtime-api", default-features = false }
loans-rpc-runtime-api = { path = "../../../crates/loans/rpc/runtime-api", default-features = false }
oracle-rpc-runtime-api = { path = "../../../crates/oracle/rpc/runtime-api", default-features = false }
redeem-rpc-runtime-api = { path = "../../../crates/redeem/rpc/runtime-api", default-features = false }
replace-rpc-runtime-api = { path = "../../../crates/replace/rpc/runtime-api", default-features = false }
reward-rpc-runtime-api = { path = "../../../crates/reward/rpc/runtime-api", default-features = false }
vault-registry-rpc-runtime-api = { path = "../../../crates/vault-registry/rpc/runtime-api", default-features = false }
# Orml dependencies
orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "dc39cfddefb10ef0de23655e2c3dcdab66a19404", default-features = false }
orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "dc39cfddefb10ef0de23655e2c3dcdab66a19404", default-features = false }
orml-vesting = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "dc39cfddefb10ef0de23655e2c3dcdab66a19404", default-features = false }
orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "dc39cfddefb10ef0de23655e2c3dcdab66a19404", default-features = false }
orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "dc39cfddefb10ef0de23655e2c3dcdab66a19404", default-features = false }
orml-unknown-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "dc39cfddefb10ef0de23655e2c3dcdab66a19404", default-features = false }
orml-asset-registry= { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "dc39cfddefb10ef0de23655e2c3dcdab66a19404", default-features = false }
# Frontier dependencies
fp-rpc = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.42", default-features = false }
fp-self-contained = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.42", default-features = false, features = ["serde"] }
pallet-base-fee = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.42", default-features = false }
pallet-ethereum = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.42", default-features = false }
pallet-evm = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.42", default-features = false }
pallet-evm-chain-id = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.42", default-features = false }
pallet-evm-precompile-dispatch = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.42", default-features = false }
[dev-dependencies]
hex = '0.4.2'
mocktopus = "0.8.0"
serde_json = "1.0"
[build-dependencies]
substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31" }
# TODO: enable weak dependency activation when available
# https://github.com/rust-lang/cargo/issues/8832
# https://github.com/paritytech/substrate/issues/8161
[features]
default = ["std"]
disable-runtime-api = []
vesting-any = []
std = [
"log/std",
"serde/std",
"codec/std",
"sp-std/std",
"sp-api/std",
"sp-io/std",
"sp-version/std",
"sp-runtime/std",
"sp-core/std",
"sp-session/std",
"sp-offchain/std",
"sp-block-builder/std",
"sp-transaction-pool/std",
"sp-inherents/std",
"sp-arithmetic/std",
"frame-try-runtime?/std",
"frame-support/std",
"frame-executive/std",
"frame-system/std",
"frame-system-benchmarking?/std",
"frame-benchmarking/std",
"pallet-balances/std",
"pallet-timestamp/std",
"pallet-utility/std",
"pallet-transaction-payment/std",
"pallet-scheduler/std",
"pallet-sudo/std",
"pallet-multisig/std",
"pallet-preimage/std",
"pallet-identity/std",
"pallet-proxy/std",
"pallet-contracts/std",
"pallet-contracts-primitives/std",
"frame-system-rpc-runtime-api/std",
"pallet-transaction-payment-rpc-runtime-api/std",
"pallet-collective/std",
"pallet-membership/std",
"pallet-society/std",
"pallet-authorship/std",
"pallet-session/std",
"pallet-aura/std",
"sp-consensus-aura/std",
"cumulus-pallet-aura-ext/std",
"cumulus-pallet-dmp-queue/std",
"cumulus-pallet-parachain-system/std",
"cumulus-pallet-xcm/std",
"cumulus-pallet-xcmp-queue/std",
"cumulus-primitives-core/std",
"cumulus-primitives-timestamp/std",
"cumulus-primitives-utility/std",
"parachain-info/std",
"pallet-xcm/std",
"pallet-xcm-benchmarks?/std",
"polkadot-parachain/std",
"xcm/std",
"xcm-builder/std",
"xcm-executor/std",
"annuity/std",
"bitcoin/std",
"btc-relay/std",
"clients-info/std",
"collator-selection/std",
"currency/std",
"democracy/std",
"dex-general/std",
"dex-stable/std",
"dex-swap-router/std",
"escrow/std",
"farming/std",
"fee/std",
"issue/std",
"loans/std",
"multi-transaction-payment/std",
"nomination/std",
"oracle/std",
"redeem/std",
"replace/std",
"reward/std",
"security/std",
"staking/std",
"supply/std",
"traits/std",
"tx-pause/std",
"vault-registry/std",
"primitives/std",
"runtime-common/std",
"btc-relay-rpc-runtime-api/std",
"dex-general-rpc-runtime-api/std",
"dex-stable-rpc-runtime-api/std",
"escrow-rpc-runtime-api/std",
"issue-rpc-runtime-api/std",
"loans-rpc-runtime-api/std",
"oracle-rpc-runtime-api/std",
"redeem-rpc-runtime-api/std",
"replace-rpc-runtime-api/std",
"reward-rpc-runtime-api/std",
"vault-registry-rpc-runtime-api/std",
"orml-tokens/std",
"orml-traits/std",
"orml-vesting/std",
"orml-asset-registry/std",
"orml-xtokens/std",
"orml-xcm-support/std",
"orml-unknown-tokens/std",
"fp-rpc/std",
"fp-self-contained/std",
"pallet-base-fee/std",
"pallet-ethereum/std",
"pallet-evm/std",
"pallet-evm-chain-id/std",
"pallet-evm-precompile-dispatch/std",
]
runtime-benchmarks = [
"frame-benchmarking",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"frame-system-benchmarking/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-collective/runtime-benchmarks",
"pallet-identity/runtime-benchmarks",
"pallet-membership/runtime-benchmarks",
"pallet-multisig/runtime-benchmarks",
"pallet-preimage/runtime-benchmarks",
"pallet-proxy/runtime-benchmarks",
"pallet-scheduler/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"pallet-utility/runtime-benchmarks",
"pallet-society/runtime-benchmarks",
"cumulus-pallet-xcmp-queue/runtime-benchmarks",
"cumulus-pallet-parachain-system/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks",
"pallet-xcm-benchmarks/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"annuity/runtime-benchmarks",
"btc-relay/runtime-benchmarks",
"clients-info/runtime-benchmarks",
"collator-selection/runtime-benchmarks",
"democracy/runtime-benchmarks",
"dex-general/runtime-benchmarks",
"dex-stable/runtime-benchmarks",
"dex-swap-router/runtime-benchmarks",
"escrow/runtime-benchmarks",
"farming/runtime-benchmarks",
"fee/runtime-benchmarks",
"issue/runtime-benchmarks",
"loans/runtime-benchmarks",
"nomination/runtime-benchmarks",
"oracle/runtime-benchmarks",
"redeem/runtime-benchmarks",
"replace/runtime-benchmarks",
"security/runtime-benchmarks",
"supply/runtime-benchmarks",
"traits/runtime-benchmarks",
"tx-pause/runtime-benchmarks",
"vault-registry/runtime-benchmarks",
"primitives/runtime-benchmarks",
"runtime-common/runtime-benchmarks",
"pallet-ethereum/runtime-benchmarks",
"pallet-evm/runtime-benchmarks",
]
try-runtime = [
"frame-try-runtime",
"frame-executive/try-runtime",
"frame-system/try-runtime",
"frame-support/try-runtime",
"pallet-aura/try-runtime",
"pallet-authorship/try-runtime",
"pallet-contracts/try-runtime",
"pallet-collective/try-runtime",
"pallet-identity/try-runtime",
"pallet-membership/try-runtime",
"pallet-multisig/try-runtime",
"pallet-preimage/try-runtime",
"pallet-proxy/try-runtime",
"pallet-session/try-runtime",
"pallet-scheduler/try-runtime",
"pallet-sudo/try-runtime",
"pallet-timestamp/try-runtime",
"pallet-transaction-payment/try-runtime",
"pallet-utility/try-runtime",
"cumulus-pallet-aura-ext/try-runtime",
"cumulus-pallet-dmp-queue/try-runtime",
"cumulus-pallet-parachain-system/try-runtime",
"cumulus-pallet-xcm/try-runtime",
"cumulus-pallet-xcmp-queue/try-runtime",
"parachain-info/try-runtime",
"pallet-xcm/try-runtime",
"annuity/try-runtime",
"btc-relay/try-runtime",
"clients-info/try-runtime",
"currency/try-runtime",
"collator-selection/try-runtime",
"democracy/try-runtime",
"dex-general/try-runtime",
"dex-stable/try-runtime",
"dex-swap-router/try-runtime",
"escrow/try-runtime",
"farming/try-runtime",
"fee/try-runtime",
"issue/try-runtime",
"loans/try-runtime",
"multi-transaction-payment/try-runtime",
"nomination/try-runtime",
"oracle/try-runtime",
"redeem/try-runtime",
"replace/try-runtime",
"reward/try-runtime",
"security/try-runtime",
"staking/try-runtime",
"supply/try-runtime",
"tx-pause/try-runtime",
"vault-registry/try-runtime",
"runtime-common/try-runtime",
"orml-tokens/try-runtime",
"orml-vesting/try-runtime",
"orml-asset-registry/try-runtime",
"orml-xtokens/try-runtime",
"orml-unknown-tokens/try-runtime",
"fp-self-contained/try-runtime",
"pallet-base-fee/try-runtime",
"pallet-ethereum/try-runtime",
"pallet-evm/try-runtime",
"pallet-evm-chain-id/try-runtime",
]