-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
374 lines (351 loc) · 19.5 KB
/
Cargo.toml
File metadata and controls
374 lines (351 loc) · 19.5 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
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
[workspace.package]
authors = ["Horizen Labs <admin@horizenlabs.io>"]
edition = "2021"
repository = "https://github.com/zkVerify/VFlow"
homepage = "https://www.horizenlabs.io/"
license = "GPL-3.0-only"
[workspace]
members = [
"node",
"pallets/deployment-permissions",
"pallets/parachain-inherent",
"runtime/vflow",
"runtime/common",
]
resolver = "2"
[workspace.dependencies]
# Local
cumulus-client-parachain-inherent = {path = "pallets/parachain-inherent", default-features = false}
pallet-deployment-permissions = {path = "pallets/deployment-permissions", default-features = false}
vflow-runtime-common = {path = "runtime/common", default-features = false}
vflow-runtime = {path = "runtime/vflow"}
# Common
async-trait = {version = "0.1.42"}
clap = {version = "4.5.3", features = ["derive"]}
color-print = "0.3.4"
futures = "0.3.28"
hex = "0.4.3"
hex-literal = "0.4.1"
jsonrpsee = {version = "0.24.9", default-features = false}
log = {version = "0.4.20", default-features = false}
num_enum = { version = "0.5.3", default-features = false }
parity-scale-codec = {version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"]}
scale-info = {version = "2.10.0", default-features = false}
serde = {version = "1.0.188", default-features = false}
serde_json = { version = "1.0.114", default-features = false, features = [
"alloc",
] }
tracing = {version = "0.1.37", default-features = false}
cfg-if = {version = "1.0"}
# ZKV relay
zkv-benchmarks = {git = "https://github.com/zkVerify/zkVerify", tag = "v1.1.0-20251212"}
# Substrate
frame-benchmarking = { version = "39.1.0", default-features = false }
frame-benchmarking-cli = { version = "46.2.0", default-features = false }
frame-executive = { version = "39.1.1", default-features = false }
frame-metadata-hash-extension = { version = "0.7.0", default-features = false }
frame-support = { version = "39.1.0", default-features = false }
frame-system = { version = "39.1.0", default-features = false }
frame-system-benchmarking = { version = "39.0.0", default-features = false }
frame-system-rpc-runtime-api = { version = "35.0.0", default-features = false }
frame-try-runtime = { version = "0.45.0", default-features = false }
pallet-aura = { version = "38.1.0", default-features = false }
pallet-authorship = { version = "39.0.0", default-features = false }
pallet-balances = { version = "40.1.0", default-features = false }
pallet-message-queue = { version = "42.0.0", default-features = false }
pallet-multisig = { version = "39.1.1", default-features = false }
pallet-proxy = { version = "39.1.0", default-features = false }
pallet-session = { version = "39.0.0", default-features = false }
pallet-sudo = { version = "39.0.0", default-features = false }
pallet-timestamp = { version = "38.0.0", default-features = false }
pallet-transaction-payment = { version = "39.1.0", default-features = false }
pallet-transaction-payment-rpc = { version = "42.0.0", default-features = false }
pallet-transaction-payment-rpc-runtime-api = { version = "39.0.0", default-features = false }
pallet-utility = { version = "39.1.0", default-features = false }
sc-basic-authorship = { version = "0.48.0", default-features = false }
sc-chain-spec = { version = "41.0.0", default-features = false }
sc-cli = { version = "0.50.2", default-features = false }
sc-client-api = { version = "38.0.0", default-features = false }
sc-consensus = { version = "0.47.0", default-features = false }
sc-consensus-aura = { version = "0.48.0", default-features = false }
sc-consensus-manual-seal = { version = "0.49.0", default-features = false }
sc-executor = { version = "0.41.0", default-features = false }
sc-network = { version = "0.48.5", default-features = false }
sc-network-sync = { version = "0.47.0", default-features = false }
sc-offchain = { version = "43.0.1", default-features = false }
sc-rpc = { version = "43.0.0", default-features = false }
sc-service = { version = "0.49.0", default-features = false }
sc-sysinfo = { version = "41.0.0", default-features = false }
sc-telemetry = { version = "28.0.0", default-features = false }
sc-tracing = { version = "38.0.0", default-features = false }
sc-transaction-pool = { version = "38.1.0", default-features = false }
sc-transaction-pool-api = { version = "38.1.0", default-features = false }
sp-api = { version = "35.0.0", default-features = false }
sp-block-builder = { version = "35.0.0", default-features = false }
sp-blockchain = { version = "38.0.0", default-features = false }
sp-consensus-aura = { version = "0.41.0", default-features = false }
sp-core = { version = "35.0.0", default-features = false }
sp-crypto-hashing = { version = "0.1.0", default-features = false }
sp-genesis-builder = { version = "0.16.0", default-features = false }
sp-inherents = { version = "35.0.0", default-features = false }
sp-io = { version = "39.0.1", default-features = false }
sp-keystore = { version = "0.41.0", default-features = false }
sp-keyring = { version = "40.0.0", default-features = false }
sp-offchain = { version = "35.0.0", default-features = false }
sp-runtime = { version = "40.1.0", default-features = false, features = ["serde"] }
sp-session = { version = "37.0.0", default-features = false }
sp-state-machine = { version = "0.44.0", default-features = false }
sp-std = { version = "14.0.0", default-features = false }
sp-storage = { version = "22.0.0", default-features = false }
sp-timestamp = { version = "35.0.0", default-features = false }
sp-transaction-pool = { version = "35.0.0", default-features = false }
sp-version = { version = "38.0.0", default-features = false }
sp-weights = { version = "31.0.0", default-features = false }
substrate-build-script-utils = { version = "11.0.0" }
substrate-frame-rpc-system = { version = "42.0.0", default-features = false }
substrate-prometheus-endpoint = { version = "0.17.1", default-features = false }
substrate-wasm-builder = { version = "25.0.1" }
# Polkadot
pallet-xcm = { version = "18.1.2", default-features = false }
pallet-xcm-benchmarks = { version = "18.1.1", default-features = false }
polkadot-cli = {package = "zkv-cli", git = "https://github.com/zkVerify/zkVerify", tag = "v1.1.0-20251212"}
polkadot-primitives = { version = "17.1.0", default-features = false }
polkadot-runtime-common = { version = "18.1.0", default-features = false }
xcm = { version = "15.1.0", package = "staging-xcm", default-features = false }
xcm-builder = { version = "18.2.1", package = "staging-xcm-builder", default-features = false }
xcm-executor = { version = "18.0.3", package = "staging-xcm-executor", default-features = false }
xcm-runtime-apis = { version = "0.5.3", default-features = false }
# Cumulus
cumulus-client-cli = { version = "0.21.1", default-features = false }
cumulus-client-collator = { version = "0.21.0", default-features = false }
cumulus-client-consensus-aura = { version = "0.21.1", default-features = false }
cumulus-client-consensus-common = { version = "0.21.0", default-features = false }
cumulus-client-consensus-proposer = { version = "0.17.0", default-features = false }
cumulus-client-service = { version = "0.22.0", default-features = false }
cumulus-pallet-aura-ext = { version = "0.18.0", default-features = false }
cumulus-pallet-parachain-system = { version = "0.18.1", default-features = false }
cumulus-pallet-session-benchmarking = { version = "20.0.0", default-features = false }
cumulus-pallet-xcm = { version = "0.18.0", default-features = false }
cumulus-pallet-xcmp-queue = { version = "0.18.2", default-features = false }
cumulus-primitives-aura = { version = "0.16.0", default-features = false }
cumulus-primitives-core = { version = "0.17.0", default-features = false }
cumulus-primitives-parachain-inherent = { version = "0.17.0", default-features = false }
cumulus-primitives-storage-weight-reclaim = { version = "9.1.0", default-features = false }
cumulus-primitives-utility = { version = "0.18.1", default-features = false }
cumulus-relay-chain-interface = { version = "0.21.0", default-features = false }
cumulus-test-relay-sproof-builder = { version = "0.17.0", default-features = false }
pallet-collator-selection = { version = "20.1.0", default-features = false }
parachain-info = { version = "0.18.0", package = "staging-parachain-info", default-features = false }
parachains-common = { version = "19.0.0", default-features = false }
# EVM
fc-api = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false}
fc-db = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false}
fc-mapping-sync = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false}
fc-rpc = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false}
fc-rpc-core = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false}
fc-storage = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false}
fp-account = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false, features = ["serde"]}
fp-dynamic-fee = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false}
fp-evm = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false}
fp-rpc = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false}
fp-self-contained = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false}
pallet-ethereum = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false, features = ["forbid-evm-reentrancy"]}
pallet-evm = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false, features = ["forbid-evm-reentrancy"]}
pallet-evm-chain-id = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false}
precompile-utils = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false }
precompile-utils-macro = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false }
pallet-evm-precompile-modexp = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false}
pallet-evm-precompile-sha3fips = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false}
pallet-evm-precompile-simple = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false}
pallet-evm-precompile-bn128 = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false}
pallet-evm-precompile-blake2 = {git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2412", default-features = false}
pallet-evm-precompile-batch = {git = "https://github.com/moonbeam-foundation/moonbeam", tag = "runtime-3701", default-features = false}
pallet-evm-precompile-balances-erc20 = {git = "https://github.com/moonbeam-foundation/moonbeam", tag = "runtime-3701", default-features = false}
#ethereum = {version = "0.15.0", default-features = false, features = ["with-codec"]}
ethereum = {git = "https://github.com/rust-ethereum/ethereum", rev = "3be0d8fd4c2ad1ba216b69ef65b9382612efc8ba"}
# Moonbeam
pallet-ethereum-xcm = {git = "https://github.com/moonbeam-foundation/moonbeam/", tag = "runtime-3701", default-features = false}
xcm-primitives = {git = "https://github.com/moonbeam-foundation/moonbeam/", tag = "runtime-3701", default-features = false}
# Other
rstest = {version = "0.26"}
tokio = {version = "1.13"}
alloy = { version = "1", default-features = false }
alloy-sol-types = { version = "1" }
[workspace.metadata.cargo-machete]
ignored = ["num_enum"]
[patch.crates-io]
cumulus-relay-chain-inprocess-interface = {git = "https://github.com/zkVerify/zkVerify.git", tag = "v1.1.0-20251212"}
cumulus-relay-chain-minimal-node = {git = "https://github.com/zkVerify/zkVerify.git", tag = "v1.1.0-20251212"}
polkadot-omni-node-lib = {git = "https://github.com/zkVerify/zkVerify.git", tag = "v1.1.0-20251212"}
[patch."https://github.com/paritytech/polkadot-sdk"]
sc-block-builder = { version = "0.43.0" }
sc-chain-spec = { version = "41.0.0" }
sc-cli = { version = "0.50.2" }
sc-client-api = { version = "38.0.0" }
sc-client-db = { version = "0.45.1" }
sc-consensus = { version = "0.47.0" }
sc-consensus-aura = { version = "0.48.0" }
sc-consensus-grandpa = { version = "0.33.0" }
sc-consensus-manual-seal = { version = "0.49.0" }
sc-executor = { version = "0.41.0" }
sc-keystore = { version = "34.0.0" }
sc-network = { version = "0.48.5" }
sc-network-common = { version = "0.47.0" }
sc-network-sync = { version = "0.47.0" }
sc-offchain = { version = "43.0.1" }
sc-rpc = { version = "43.0.0" }
sc-rpc-api = { version = "0.47.0" }
sc-service = { version = "0.49.0" }
sc-telemetry = { version = "28.1.0" }
sc-transaction-pool = { version = "38.1.0" }
sc-transaction-pool-api = { version = "38.1.0" }
sc-utils = { version = "18.0.1" }
# Substrate Primitive
sp-api = { version = "35.0.0" }
sp-block-builder = { version = "35.0.0" }
sp-blockchain = { version = "38.0.0" }
sp-consensus = { version = "0.41.0" }
sp-consensus-aura = { version = "0.41.0" }
sp-consensus-grandpa = { version = "22.0.0" }
sp-core = { version = "35.0.0" }
sp-crypto-hashing = { version = "0.1.0" }
sp-database = { version = "10.0.0" }
sp-externalities = { version = "0.30.0" }
sp-genesis-builder = { version = "0.16.0" }
sp-inherents = { version = "35.0.0" }
sp-io = { version = "39.0.1" }
sp-keyring = { version = "40.0.0" }
sp-offchain = { version = "35.0.0" }
sp-runtime = { version = "40.1.0" }
sp-runtime-interface = { version = "29.0.1" }
sp-session = { version = "37.0.0" }
sp-state-machine = { version = "0.44.0" }
sp-std = { version = "14.0.0" }
sp-storage = { version = "22.0.0" }
sp-timestamp = { version = "35.0.0" }
sp-transaction-pool = { version = "35.0.0" }
sp-trie = { version = "38.0.0 "}
sp-version = { version = "38.0.0" }
sp-weights = { version = "31.1.0" }
# Substrate FRAME
frame-benchmarking = { version = "39.1.1" }
frame-executive = { version = "39.1.1" }
frame-support = { version = "39.1.0" }
frame-system = { version = "39.1.0" }
frame-system-benchmarking = { version = "39.0.0" }
frame-system-rpc-runtime-api = { version = "35.0.0" }
pallet-aura = { version = "38.1.0" }
pallet-balances = { version = "40.1.0" }
pallet-grandpa = { version = "39.1.0" }
pallet-sudo = { version = "39.0.0" }
pallet-timestamp = { version = "38.0.0" }
pallet-transaction-payment = { version = "39.1.0" }
pallet-transaction-payment-rpc = { version = "42.0.0" }
pallet-transaction-payment-rpc-runtime-api = { version = "39.0.0" }
pallet-utility = { version = "39.1.0" }
# Substrate Utility
frame-benchmarking-cli = { version = "46.2.0" }
substrate-build-script-utils = { version = "11.0.0" }
substrate-frame-rpc-system = { version = "42.0.0" }
substrate-wasm-builder = { version = "25.0.1" }
cumulus-primitives-storage-weight-reclaim = { version = "9.1.0" }
substrate-prometheus-endpoint = { version = "0.17.7" }
# XCM
xcm = { version = "15.1.0", package = "staging-xcm" }
[patch."https://github.com/moonbeam-foundation/polkadot-sdk"]
staging-xcm-builder = { version = "18.2.1" }
xcm-executor = { version = "18.0.5", package = "staging-xcm-executor" }
pallet-staking = { version = "39.1.0" }
cumulus-primitives-core = { version = "0.17.0" }
polkadot-runtime-common = { version = "18.1.0" }
sc-block-builder = { version = "0.43.0" }
sc-chain-spec = { version = "41.0.0" }
sc-cli = { version = "0.50.2" }
sc-client-api = { version = "38.0.0" }
sc-client-db = { version = "0.45.1" }
sc-consensus = { version = "0.47.0" }
sc-consensus-aura = { version = "0.48.0" }
sc-consensus-grandpa = { version = "0.33.0" }
sc-consensus-manual-seal = { version = "0.49.0" }
sc-executor = { version = "0.41.0" }
sc-keystore = { version = "34.0.0" }
sc-network = { version = "0.48.5" }
sc-network-common = { version = "0.47.0" }
sc-network-sync = { version = "0.47.0" }
sc-offchain = { version = "43.0.1" }
sc-rpc = { version = "43.0.0" }
sc-rpc-api = { version = "0.47.0" }
sc-service = { version = "0.49.0" }
sc-telemetry = { version = "28.1.0" }
sc-transaction-pool = { version = "38.1.0" }
sc-transaction-pool-api = { version = "38.1.0" }
sc-utils = { version = "18.0.1" }
# Substrate Primitive
sp-api = { version = "35.0.0" }
sp-block-builder = { version = "35.0.0" }
sp-blockchain = { version = "38.0.0" }
sp-consensus = { version = "0.41.0" }
sp-consensus-aura = { version = "0.41.0" }
sp-consensus-grandpa = { version = "22.0.0" }
sp-core = { version = "35.0.0" }
sp-crypto-hashing = { version = "0.1.0" }
sp-database = { version = "10.0.0" }
sp-externalities = { version = "0.30.0" }
sp-genesis-builder = { version = "0.16.0" }
sp-inherents = { version = "35.0.0" }
sp-io = { version = "39.0.1" }
sp-keyring = { version = "40.0.0" }
sp-offchain = { version = "35.0.0" }
sp-runtime = { version = "40.1.0" }
sp-runtime-interface = { version = "29.0.1" }
sp-session = { version = "37.0.0" }
sp-state-machine = { version = "0.44.0" }
sp-std = { version = "14.0.0" }
sp-storage = { version = "22.0.0" }
sp-timestamp = { version = "35.0.0" }
sp-transaction-pool = { version = "35.0.0" }
sp-trie = { version = "38.0.0 "}
sp-version = { version = "38.0.0" }
sp-weights = { version = "31.1.0" }
# Substrate FRAME
frame-benchmarking = { version = "39.1.1" }
frame-executive = { version = "39.1.1" }
frame-support = { version = "39.1.0" }
frame-system = { version = "39.1.0" }
frame-system-benchmarking = { version = "39.0.0" }
frame-system-rpc-runtime-api = { version = "35.0.0" }
pallet-aura = { version = "38.1.0" }
pallet-balances = { version = "40.1.0" }
pallet-grandpa = { version = "39.1.0" }
pallet-sudo = { version = "39.0.0" }
pallet-timestamp = { version = "38.0.0" }
pallet-transaction-payment = { version = "39.1.0" }
pallet-transaction-payment-rpc = { version = "42.0.0" }
pallet-transaction-payment-rpc-runtime-api = { version = "39.0.0" }
pallet-utility = { version = "39.1.0" }
# Substrate Utility
frame-benchmarking-cli = { version = "46.2.0" }
substrate-build-script-utils = { version = "11.0.0" }
substrate-frame-rpc-system = { version = "42.0.0" }
substrate-wasm-builder = { version = "25.0.1" }
cumulus-primitives-storage-weight-reclaim = { version = "9.1.0" }
substrate-prometheus-endpoint = { version = "0.17.7" }
# XCM
xcm = { version = "15.1.0", package = "staging-xcm" }
[workspace.lints.clippy]
all = { level = "allow", priority = 0 } # Basically, we accept the _perf_ clippy concerns
correctness = { level = "deny", priority = 1 } # But reject all other stuff
suspicious = { level = "deny", priority = 1 }
complexity = { level = "deny", priority = 1 }
style = { level = "warn", priority = 1 }
# perf = { level = "warn", priority = 1 } # We don't care about performace (polkadot also)
large_enum_variant = { level = "allow", priority = 2 }
too_many_arguments = { level = "allow", priority = 2 }
type_complexity = { level = "allow", priority = 2 }
[profile.production]
codegen-units = 1
inherits = "release"
lto = true
[profile.release]
opt-level = 3
panic = "unwind"