forked from polytope-labs/hyperbridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
348 lines (317 loc) · 15.1 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
[workspace]
resolver = "2"
members = [
# runtime
"parachain/runtimes/gargantua",
"parachain/runtimes/messier",
"parachain/runtimes/nexus",
# node
"parachain/node",
# ismp
"modules/ismp/core",
"modules/ismp/pallets/pallet",
"modules/ismp/pallets/relayer",
"modules/ismp/pallets/fishermen",
"modules/ismp/pallets/host-executive",
"modules/ismp/pallets/rpc",
"modules/ismp/pallets/runtime-api",
"modules/ismp/pallets/demo",
"modules/ismp/pallets/testsuite",
"modules/ismp/pallets/call-decompressor",
"modules/ismp/pallets/asset-gateway",
"modules/ismp/pallets/token-governor",
"modules/ismp/pallets/hyperbridge",
"modules/ismp/testsuite",
"modules/ismp/clients/sync-committee",
"modules/ismp/clients/casper-ffg",
"modules/ismp/clients/parachain/client",
"modules/ismp/clients/parachain/inherent",
"modules/ismp/clients/parachain/runtime-api",
"modules/ismp/state-machines/substrate",
"modules/ismp/state-machines/hyperbridge",
"modules/ismp/clients/arbitrum",
"modules/ismp/clients/optimism",
"modules/ismp/clients/sync-committee/evm-common",
"modules/ismp/clients/bsc",
# cryptography
"modules/consensus/sync-committee/prover",
"modules/consensus/sync-committee/verifier",
"modules/consensus/sync-committee/primitives",
"modules/consensus/beefy/primitives",
"modules/consensus/beefy/prover",
"modules/consensus/geth-primitives",
"modules/consensus/bsc/verifier",
"modules/consensus/bsc/prover",
"modules/trees/ethereum",
"modules/trees/mmr/pallet",
"modules/trees/mmr/primitives",
"modules/trees/mmr/gadget",
"modules/trees/mmr/pallet/runtime-api",
# evm stuff
"evm/integration-tests",
"evm/abi",
# hyperclient
"modules/hyperclient",
# simnode
"parachain/simtests",
# Utilities
"modules/utils/subxt",
"modules/utils/serde",
# tesseract
"tesseract/primitives",
"tesseract/messaging",
"tesseract/substrate",
"tesseract/relayer",
"tesseract/evm",
"tesseract/fees",
"tesseract/fees/prisma-cli",
"tesseract/telemetry",
"tesseract/config",
# integration tests
"tesseract/integration-test",
]
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.14.1"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell"]
# A GitHub repo to push Homebrew formulas to
tap = "polytope-labs/hyperbridge"
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["x86_64-unknown-linux-gnu"]
# The archive format to use for non-windows builds (defaults .tar.xz)
unix-archive = ".tar.gz"
# Publish jobs to run in CI
pr-run-mode = "upload"
# Skip checking whether the specified configuration files are up to date
allow-dirty = ["ci"]
# Whether to install an updater program
install-updater = false
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
[workspace.dependencies]
# wasm
frame-benchmarking = { version = "28.0.0", default-features = false }
frame-executive = { version = "28.0.0", default-features = false }
frame-support = { version = "28.0.0", default-features = false }
frame-system = { version = "28.0.0", default-features = false }
frame-system-benchmarking = { version = "28.0.0", default-features = false }
frame-system-rpc-runtime-api = { version = "26.0.0", default-features = false }
frame-try-runtime = { version = "0.34.0", default-features = false }
pallet-aura = { version = "27.0.0", features = ["experimental"], default-features = false }
pallet-authorship = { version = "28.0.0", default-features = false }
pallet-balances = { version = "28.0.0", default-features = false }
pallet-session = { version = "28.0.0", default-features = false }
pallet-sudo = { version = "28.0.0", default-features = false }
pallet-utility = { version = "28.0.0", default-features = false }
pallet-timestamp = { version = "27.0.0", default-features = false }
pallet-transaction-payment = { version = "28.0.0", default-features = false }
pallet-transaction-payment-rpc-runtime-api = { version = "28.0.0", default-features = false }
pallet-message-queue = { version = "31.0.0", default-features = false }
sp-api = { version = "26.0.0", default-features = false }
sp-blockchain = { version = "28.0.0", default-features = false }
sp-io = { version = "30.0.0", default-features = false }
sp-trie = { version = "29.0.0", default-features = false }
sp-block-builder = { version = "26.0.0", default-features = false }
sp-consensus-aura = { version = "0.32.0", default-features = false }
sp-consensus-beefy = { version = "13.0.0", default-features = false }
sp-core = { version = "28.0.0", default-features = false }
sp-core-hashing = { version = "15.0.0", default-features = false }
sp-inherents = { version = "26.0.0", default-features = false }
sp-offchain = { version = "26.0.0", default-features = false }
sp-runtime = { version = "31.0.1", default-features = false }
sp-session = { version = "27.0.0", default-features = false }
sp-std = { version = "14.0.0", default-features = false }
sp-transaction-pool = { version = "26.0.0", default-features = false }
sp-version = { version = "29.0.0", default-features = false }
sp-genesis-builder = { version = "0.7.0", default-features = false }
pallet-xcm = { version = "=7.0.0", default-features = false }
polkadot-parachain-primitives = { version = "=6.0.0", default-features = false }
polkadot-runtime-common = { version = "=7.0.0", default-features = false }
staging-xcm = { version = "=7.0.0", default-features = false }
staging-xcm-builder = { version = "=7.0.0", default-features = false }
staging-xcm-executor = { version = "=7.0.0", default-features = false }
cumulus-primitives-aura = { version = "0.7.0", default-features = false }
cumulus-pallet-session-benchmarking = { version = "9.0.0", default-features = false }
cumulus-pallet-aura-ext = { version = "0.7.0", default-features = false }
cumulus-pallet-dmp-queue = { version = "0.7.0", default-features = false }
cumulus-pallet-xcm = { version = "=0.7.0", default-features = false }
cumulus-pallet-xcmp-queue = { version = "0.7.0", default-features = false }
cumulus-primitives-core = { version = "0.7.0", default-features = false }
cumulus-primitives-timestamp = { version = "0.7.0", default-features = false }
cumulus-primitives-utility = { version = "0.7.0", default-features = false }
pallet-collator-selection = { version = "9.0.0", default-features = false }
parachain-info = { package = "staging-parachain-info", version = "0.7.0", default-features = false }
parachains-common = { version = "7.0.0", default-features = false }
sp-timestamp = { version = "26.0.0", default-features = false }
sp-keystore = { version = "0.34.0", default-features = false }
sp-mmr-primitives = { version = "26.0.0", default-features = false }
sp-state-machine = { version = "0.35.0", default-features = false }
sp-storage = { version = "19.0.0", default-features = false }
pallet-beefy-mmr = { version = "28.0.0", default-features = false }
pallet-assets = { version = "29.0.0", default-features = false }
sp-keyring = "31.0.0"
# client
frame-benchmarking-cli = "32.0.0"
pallet-transaction-payment-rpc = "30.0.0"
sc-basic-authorship = "0.34.0"
sc-chain-spec = "27.0.0"
sc-cli = "0.36.0"
sc-block-builder = "0.33.0"
sc-client-api = "28.0.0"
sc-consensus = "0.33.0"
sc-consensus-manual-seal = "0.35.0"
sc-executor = "0.32.0"
sc-network = "0.34.0"
sc-network-sync = "0.33.0"
sc-network-common = "0.33.0"
sc-rpc = "29.0.0"
sc-service = "0.35.0"
sc-sysinfo = "27.0.0"
sc-telemetry = "15.0.0"
sc-tracing = "28.0.0"
sc-transaction-pool = "28.0.0"
sc-transaction-pool-api = "28.0.0"
sc-offchain = "29.0.0"
substrate-frame-rpc-system = "28.0.0"
substrate-prometheus-endpoint = "0.17.0"
try-runtime-cli = "0.38.0"
polkadot-cli = "7.0.0"
polkadot-primitives = "7.0.0"
polkadot-service = "7.0.0"
cumulus-client-cli = "0.7.0"
cumulus-client-consensus-aura = "0.7.0"
cumulus-client-consensus-common = "0.7.0"
cumulus-client-network = "0.7.0"
cumulus-client-service = "0.7.0"
cumulus-primitives-parachain-inherent = "0.7.0"
cumulus-relay-chain-interface = "0.7.0"
cumulus-client-consensus-proposer = "0.7.0"
cumulus-client-collator = "0.7.0"
substrate-wasm-builder = { version = "17.0.0" }
mmr-rpc = { version = "28.0.0" }
xcm-simulator-example = "7.0.0"
xcm-simulator = "7.0.0"
polkadot-runtime-parachains = "7.0.0"
# crates.io
serde = { version = "1", default-features = false }
trie-db = { version = "0.28.0", default-features = false }
hash-db = { version = "0.16.0", default-features = false }
memory-db = { version = "0.32.0", default-features = false }
codec = { version = "3.1.3", package = "parity-scale-codec", default-features = false }
log = { version = "0.4.21", default-features = false }
anyhow = {version = "1.0.71", default-features = false }
alloy-rlp = { version = "0.3.2", default-features = false }
alloy-rlp-derive = "0.3.2"
alloy-sol-macro = "0.7.4"
alloy-sol-types = { version = "0.7.4", default-features = false }
ethabi = { version = "18.0.0", features = ["rlp", "parity-codec"], default-features = false }
orml-xcm-support = { version = "=0.7.0", default-features = false }
orml-traits = { version = "=0.7.0", default-features = false }
primitive-types = { version = "0.12.1", default-features = false }
sc-simnode = { version = "1.6.3" }
simnode-runtime-api = { version = "1.6.0", default-features = false }
subxt = { version = "0.30.1", default-features = false }
tokio = { version = "1.37.0" }
tokio-stream = { version = "0.1.15" }
# local crates
ismp = { version = "0.1.2", path = "./modules/ismp/core", default-features = false }
ismp-testsuite = { path = "./modules/ismp/testsuite" }
ismp-solidity-abi = { path = "./evm/abi", default-features = false }
simnode-tests = { path = "parachain/simtests" }
hyperclient = { path = "modules/hyperclient", default-features = false }
subxt-utils = { path = "modules/utils/subxt", default-features = false }
serde-utils = { path = "modules/utils/serde", default-features = false }
# consensus provers & verifiers
beefy-verifier-primitives = { path = "./modules/consensus/beefy/primitives", default-features = false }
beefy-prover = { path = "./modules/consensus/beefy/prover" }
bsc-prover = { path = "./modules/consensus/bsc/prover" }
bsc-verifier = { path = "./modules/consensus/bsc/verifier", default-features = false }
geth-primitives = { path = "./modules/consensus/geth-primitives", default-features = false }
sync-committee-primitives = { path = "./modules/consensus/sync-committee/primitives", default-features = false }
sync-committee-prover = { path = "./modules/consensus/sync-committee/prover" }
sync-committee-verifier = { path = "./modules/consensus/sync-committee/verifier", default-features = false }
# consensus clients
ismp-bsc = { path = "./modules/ismp/clients/bsc", default-features = false }
ismp-parachain = { version = "1.6.2", path = "./modules/ismp/clients/parachain/client", default-features = false }
ismp-parachain-inherent = { version = "1.6.2", path = "./modules/ismp/clients/parachain/inherent" }
ismp-parachain-runtime-api = { version = "1.6.2", path = "./modules/ismp/clients/parachain/runtime-api", default-features = false }
ismp-sync-committee = { path = "./modules/ismp/clients/sync-committee", default-features = false }
evm-common = { path = "./modules/ismp/clients/sync-committee/evm-common", default-features = false }
arbitrum-verifier = { path = "./modules/ismp/clients/arbitrum", default-features = false }
op-verifier = { path = "./modules/ismp/clients/optimism", default-features = false }
# state machine clients
substrate-state-machine = { version = "1.6.2", path = "modules/ismp/state-machines/substrate", default-features = false }
hyperbridge-client-machine = { path = "modules/ismp/state-machines/hyperbridge", default-features = false }
# pallets
pallet-ismp = { version = "1.6.2", path = "modules/ismp/pallets/pallet", default-features = false }
pallet-ismp-rpc = { version = "1.6.2", path = "modules/ismp/pallets/rpc" }
pallet-ismp-runtime-api = { version = "1.6.2", path = "modules/ismp/pallets/runtime-api", default-features = false }
pallet-hyperbridge = { version = "1.6.2", path = "modules/ismp/pallets/hyperbridge", default-features = false }
pallet-fishermen = { path = "modules/ismp/pallets/fishermen", default-features = false }
pallet-ismp-demo = { path = "modules/ismp/pallets/demo", default-features = false }
pallet-ismp-relayer = { path = "modules/ismp/pallets/relayer", default-features = false }
pallet-ismp-host-executive = { path = "modules/ismp/pallets/host-executive", default-features = false }
pallet-call-decompressor = { path = "modules/ismp/pallets/call-decompressor", default-features = false }
pallet-asset-gateway = { path = "modules/ismp/pallets/asset-gateway", default-features = false }
pallet-token-governor = { path = "modules/ismp/pallets/token-governor", default-features = false }
pallet-mmr = { path = "modules/trees/mmr/pallet", default-features = false }
# merkle trees
pallet-mmr-runtime-api = { path = "modules/trees/mmr/pallet/runtime-api", default-features = false }
mmr-gadget = { path = "modules/trees/mmr/gadget" }
ethereum-triedb = { version = "0.1.1", path = "./modules/trees/ethereum", default-features = false }
mmr-primitives = { version = "1.6.2", path = "modules/trees/mmr/primitives", default-features = false }
# runtimes
gargantua-runtime = { path = "./parachain/runtimes/gargantua", default-features = false }
messier-runtime = { path = "./parachain/runtimes/messier", default-features = false }
nexus-runtime = { path = "./parachain/runtimes/nexus", default-features = false }
# tesseract
tesseract-primitives = { path = "tesseract/primitives" }
tesseract-consensus = { path = "tesseract/consensus" }
tesseract-messaging = { path = "tesseract/messaging" }
tesseract-substrate = { path = "tesseract/substrate" }
tesseract-evm = { path = "tesseract/evm" }
tesseract = { path = "tesseract/relayer" }
transaction-fees = { path = "tesseract/fees" }
telemetry-server = { path = "tesseract/telemetry" }
tesseract-config = { path = "tesseract/config" }
[workspace.dependencies.cumulus-pallet-parachain-system]
version = "0.7.0"
default-features = false
features = [
"parameterized-consensus-hook",
]
[workspace.dependencies.ethers]
git = "https://github.com/polytope-labs/ethers-rs"
rev = "45239225c50247e049892125d281442c084a2a92"
features = ["ethers-solc"]
default-features = false
[workspace.dependencies.ethers-contract-abigen]
git = "https://github.com/polytope-labs/ethers-rs"
rev = "45239225c50247e049892125d281442c084a2a92"
[workspace.dependencies.forge-testsuite]
git = "https://github.com/polytope-labs/forge-testsuite"
rev = "ff9fdc69c0200e3bb471198aa44ba933e043b78d"
[workspace.dependencies.foundry-evm]
git = "https://github.com/polytope-labs/foundry"
rev = "1db7f747d7033a760c747fabbeef706576c88e34"
[workspace.dependencies.merkle-mountain-range]
package = "ckb-merkle-mountain-range"
version = "0.5.2"
default-features = false
[workspace.dependencies.alloy-primitives]
version = "0.7.4"
default-features = false
features = ["rlp"]
[workspace.dependencies.scale-info]
version = "2.1.1"
default-features = false
features = ["derive"]
[workspace.dependencies.reconnecting-jsonrpsee-ws-client]
version = "0.4.2"
default-features = false