-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
351 lines (330 loc) · 21.9 KB
/
Cargo.toml
File metadata and controls
351 lines (330 loc) · 21.9 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
[workspace]
members = [
"archiver",
"node",
"runtime",
"runtime/generate-bags",
"pallets/attestation",
"pallets/randomness",
"pallets/supported-chains",
"primitives/attestor",
"primitives/randomness",
"primitives/supported-chains",
"primitives/user",
"precompiles/chain-info",
"precompiles/ed25519-verifier",
"precompiles/sr25519-verifier",
"precompiles/substrate-transfer",
"precompiles/block-prover",
"common/cc-client",
"common/continuity",
"common/eth",
"common/indexer-client",
"common/merkle",
"common/utils",
"common/vrf",
"common/builder",
"common/streams/eth",
"common/streams/cc3",
"common/streams/attestation",
"common/streams/util",
"common/streams/stream",
"query-cli",
"proof-gen-api-server",
"attestor/attestor",
"attestor/pool",
"attestor/zombienet",
"attestor/metrics",
"attestor/common",
]
resolver = "2"
[workspace.package]
authors = ["Gluwa Inc. Developer Support <support.dev@gluwa.com>"]
edition = "2021"
license = "Unlicense"
publish = false
repository = "https://github.com/gluwa/creditcoin3-next/"
version = "3.111.0"
[workspace.dependencies]
assert_matches = "1.5.0"
bn = { package = "substrate-bn", version = "0.6", default-features = false }
proptest = "1.10.0"
rstest = "0.26.1"
sync_wrapper = "1.0.2"
tokio-retry = "0.3"
tokio-test = "0.4.4"
# Substrate Client
affix = "0.1"
anyhow = { version = "1.0.68", default-features = false }
async-stream = { version = "0.3.6" }
async-trait = { version = "0.1.42" }
axum = { version = "0.8" }
bip32 = { version = "0.5.1", default-features = false, features = ["bip39"] }
clap = { version = "4.5.3", features = ["derive", "env"] }
derive_more = "0.99.17"
ed25519-dalek = { version = "2.2.0", default-features = false }
env_logger = "0.11"
environmental = { version = "1.1.4", default-features = false }
ethereum = { version = "0.18.2", default-features = false }
ethereum-types = { version = "0.14.1", default-features = false }
futures = { version = "0.3.30" }
futures-timer = { version = "3.0" }
futures-util = { version = "0.3", default-features = false }
hex = { version = "0.4.3", default-features = false }
hex-literal = { version = "0.4.1", default-features = false }
impl-trait-for-tuples = { version = "0.2.2" }
jsonrpsee = { version = "0.24.7", default-features = false }
libsecp256k1 = { version = "0.7", default-features = false }
log = { version = "0.4.21", default-features = false }
num_enum = { version = "0.5.3", default-features = false }
once_cell = { version = "1.19.0" }
parity-scale-codec = { version = "3.6", default-features = false, features = [
"derive",
] }
parking_lot = "0.12.1"
paste = "1.0.14"
primitive-types = "0.12.1"
rayon = { version = "1.10.0" }
redis = { version = "1.0", default-features = false }
reqwest = { version = "0.12", features = ["multipart", "json"] }
scale-info = { version = "2.11", default-features = false, features = [
"derive",
] }
serde = { version = "1.0.197", default-features = false }
serde_json = { version = "1.0.145", default-features = false }
serde_yaml = { version = "0.9.34" }
sha3 = { version = "0.10", default-features = false }
similar-asserts = "1.6.0"
slices = "0.2.0"
snap = "1.1"
sqlx = { version = "0.7.4", default-features = false, features = ["macros"] }
tempfile = { version = "3.10", default-features = false }
thiserror = { version = "1.0.63", default-features = false }
tiny-bip39 = { version = "0.8", default-features = false }
tokio = { version = "1.37.0" }
tokio-tungstenite = { version = "0.26.2" }
tower = { version = "0.5", default-features = false }
tower-http = { version = "0.6", features = ["trace", "cors"] }
tracing = "0.1.37"
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
url = { version = "2.4.0" }
wasm-timer = { version = "0.2" }
zeroize = { version = "1.8", features = ["derive"] }
# Alloy
alloy = { version = "0.11", features = [
"node-bindings",
"providers",
"provider-http",
"provider-ws",
"rpc-client",
"rpc-types",
"rpc-types-eth",
"consensus",
"rlp",
"contract",
"sol-types",
"signers",
] }
# Starknet dependencies removed - no longer needed
frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
frame-election-provider-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
frame-metadata-hash-extension = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
generate-bags = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-bags-list = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-fast-unstake = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-membership = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-nomination-pools = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-nomination-pools-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-offences = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-staking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-staking-reward-curve = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-consensus-babe-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-consensus-grandpa-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-consensus-manual-seal = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-network-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-network-gossip = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-network-test = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-network-types = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sc-sync-state-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sc-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-application-crypto = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-genesis-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-runtime-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-staking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-state-machine = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-trie = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
sp-version = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
sp-weights = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false }
substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" }
# Frontier Client
fc-api = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch" }
fc-cli = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
fc-consensus = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch" }
fc-db = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
fc-mapping-sync = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
fc-rpc = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
fc-rpc-core = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch" }
fc-storage = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch" }
# Frontier Primitive
fp-account = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
fp-consensus = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
fp-dynamic-fee = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
fp-ethereum = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
fp-evm = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
fp-rpc = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
fp-self-contained = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
fp-storage = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
# Frontier FRAME
pallet-base-fee = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
pallet-dynamic-fee = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
pallet-ethereum = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
pallet-evm = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
pallet-evm-chain-id = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
pallet-evm-precompile-bn128 = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
pallet-evm-precompile-modexp = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
pallet-evm-precompile-sha3fips = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
pallet-evm-precompile-simple = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
pallet-evm-test-vector-support = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch" }
pallet-hotfix-sufficients = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
subxt = { version = "0.40", features = ["reconnecting-rpc-client"] }
subxt-signer = "0.40"
# Frontier Utility
precompile-utils = { git = "https://github.com/gluwa/frontier_2", branch = "stable2409_patch", default-features = false }
# Gluwa
creditcoin3-runtime = { path = "runtime", default-features = false }
pallet-attestation = { path = "pallets/attestation", default-features = false }
pallet-randomness = { path = "pallets/randomness", default-features = false }
pallet-supported-chains = { path = "pallets/supported-chains", default-features = false }
# Encoding
usc-abi-encoding = { version = "0.5" }
usc-query-builder = { version = "0.7" }
# Precompiles
ethabi = { version = "18.0.0", default-features = false }
# Usc
pallet-evm-precompile-block-prover = { path = "precompiles/block-prover", default-features = false }
pallet-evm-precompile-chain-info = { path = "precompiles/chain-info", default-features = false }
# Signature verifier
pallet-evm-precompile-ed25519-verifier = { path = "precompiles/ed25519-verifier", default-features = false }
pallet-evm-precompile-sr25519-verifier = { path = "precompiles/sr25519-verifier", default-features = false }
# Substrate transfer
pallet-evm-precompile-substrate-transfer = { path = "precompiles/substrate-transfer", default-features = false }
# Tracing
evm = { version = "0.42.0", default-features = false, features = ["tracing"] }
evm-gasometer = { version = "0.42.0", default-features = false, features = [
"tracing",
] }
evm-runtime = { version = "0.42.0", default-features = false, features = [
"tracing",
] }
creditcoin3-cli-opt = { path = "node/cli-opt", default-features = false }
# Vendor packages (Moonbeam)
creditcoin3-primitives-ext = { git = "https://github.com/gluwa/moonbeam", branch = "gluwa_stable_2409", package = "moonbeam-primitives-ext", default-features = false }
moonbeam-client-evm-tracing = { git = "https://github.com/gluwa/moonbeam", branch = "gluwa_stable_2409", package = "moonbeam-client-evm-tracing" }
moonbeam-evm-tracer = { git = "https://github.com/gluwa/moonbeam", branch = "gluwa_stable_2409", package = "moonbeam-evm-tracer", default-features = false }
# Vendor rpc-core (Moonbeam)
moonbeam-rpc-core-debug = { git = "https://github.com/gluwa/moonbeam", branch = "gluwa_stable_2409", package = "moonbeam-rpc-core-debug" }
moonbeam-rpc-core-trace = { git = "https://github.com/gluwa/moonbeam", branch = "gluwa_stable_2409", package = "moonbeam-rpc-core-trace" }
moonbeam-rpc-core-types = { git = "https://github.com/gluwa/moonbeam", branch = "gluwa_stable_2409", package = "moonbeam-rpc-core-types" }
# Vendor rpc (Moonbeam)
moonbeam-rpc-debug = { git = "https://github.com/gluwa/moonbeam", branch = "gluwa_stable_2409", package = "moonbeam-rpc-debug" }
moonbeam-rpc-trace = { git = "https://github.com/gluwa/moonbeam", branch = "gluwa_stable_2409", package = "moonbeam-rpc-trace" }
# Vendor primitives (Moonbeam)
evm-tracing-events = { git = "https://github.com/gluwa/moonbeam", branch = "gluwa_stable_2409", package = "evm-tracing-events", default-features = false }
moonbeam-rpc-primitives-debug = { git = "https://github.com/gluwa/moonbeam", branch = "gluwa_stable_2409", package = "moonbeam-rpc-primitives-debug", default-features = false }
# Attestation
attestation_pool = { path = "attestor/pool" }
attestor = { path = "attestor/attestor" }
attestor-primitives = { path = "primitives/attestor", default-features = false }
supported-chains-primitives = { path = "primitives/supported-chains", default-features = false }
# Using an old version of rand as it is already in the dependency graph
rand = { version = "0.9.0", default-features = false }
randomness-primitives = { path = "primitives/randomness", default-features = false }
user = { path = "primitives/user" }
# Common
bls-signatures = { git = "https://github.com/gluwa/bls-signatures", tag = "v0.15.0", default-features = false, features = [
"pairing",
] }
builder = { path = "common/builder" }
cc-client = { path = "common/cc-client" }
continuity = { path = "common/continuity", default-features = false }
eth = { path = "common/eth", default-features = false }
indexer-client = { path = "common/indexer-client" }
libp2p = { version = "0.56", default-features = false }
merkle = { path = "common/merkle", default-features = false }
prometheus-client = { version = "0.24.0" }
stream = { path = "common/streams/stream" }
stream_attestation = { path = "common/streams/attestation" }
stream_cc3 = { path = "common/streams/cc3" }
stream_eth = { path = "common/streams/eth" }
stream_util = { path = "common/streams/util" }
sysinfo = { version = "0.37.2" }
utils = { path = "common/utils", default-features = false }
vrf = { path = "common/vrf", default-features = false }
[profile.release]
# Substrate runtime requires unwinding.
panic = "unwind"
[profile.production]
inherits = "release"
# Sacrifice compile speed for execution speed by using optimization flags:
# https://doc.rust-lang.org/rustc/linker-plugin-lto.html
codegen-units = 1
lto = "fat"