@@ -23,21 +23,14 @@ rayon = "1.10"
23
23
24
24
[workspace ]
25
25
members = [
26
- " node" ,
27
- " pallets/commitments" ,
28
- " pallets/subtensor" ,
29
- " pallets/admin-utils" ,
30
- " pallets/collective" ,
31
- " pallets/registry" ,
32
- " primitives/*" ,
33
- " runtime" ,
34
- " support/tools" ,
35
- " support/macros" ,
36
- " support/linting" ,
37
- " support/procedural-fork" ,
38
- " pallets/drand" ,
26
+ " common" ,
27
+ " node" ,
28
+ " pallets/*" ,
29
+ " precompiles" ,
30
+ " primitives/*" ,
31
+ " runtime" ,
32
+ " support/*" ,
39
33
]
40
- exclude = [" support/procedural-fork" ]
41
34
resolver = " 2"
42
35
43
36
[workspace .lints .clippy ]
@@ -46,14 +39,29 @@ arithmetic-side-effects = "deny"
46
39
type_complexity = " allow"
47
40
unwrap-used = " deny"
48
41
manual_inspect = " allow"
49
- useless_conversion = " allow" # until polkadot is patched
42
+ useless_conversion = " allow" # until polkadot is patched
50
43
51
44
[workspace .dependencies ]
45
+ pallet-admin-utils = { default-features = false , path = " pallets/admin-utils" }
46
+ pallet-collective = { default-features = false , path = " pallets/collective" }
47
+ pallet-commitments = { default-features = false , path = " pallets/commitments" }
48
+ pallet-registry = { default-features = false , path = " pallets/registry" }
49
+ pallet-subtensor = { default-features = false , path = " pallets/subtensor" }
50
+ subtensor-custom-rpc = { default-features = false , path = " pallets/subtensor/rpc" }
51
+ subtensor-custom-rpc-runtime-api = { default-features = false , path = " pallets/subtensor/runtime-api" }
52
+ subtensor-precompiles = { default-features = false , path = " precompiles" }
53
+ subtensor-runtime-common = { default-features = false , path = " common" }
54
+ node-subtensor-runtime = { default-features = false , path = " runtime" }
55
+
52
56
async-trait = " 0.1"
53
57
cargo-husky = { version = " 1" , default-features = false }
54
58
clap = " 4.5.4"
55
- codec = { package = " parity-scale-codec" , version = " 3.6.1" , default-features = false , features = [" derive" ] }
56
- ed25519-dalek = { version = " 2.1.0" , default-features = false , features = [" alloc" ] }
59
+ codec = { package = " parity-scale-codec" , version = " 3.6.1" , default-features = false , features = [
60
+ " derive" ,
61
+ ] }
62
+ ed25519-dalek = { version = " 2.1.0" , default-features = false , features = [
63
+ " alloc" ,
64
+ ] }
57
65
enumflags2 = " 0.7.9"
58
66
futures = " 0.3.30"
59
67
hex = { version = " 0.4" , default-features = false }
@@ -64,7 +72,9 @@ memmap2 = "0.9.4"
64
72
ndarray = { version = " 0.15.6" , default-features = false }
65
73
parity-util-mem = " 0.12.0"
66
74
rand = " 0.8.5"
67
- scale-codec = { package = " parity-scale-codec" , version = " 3.6.12" , default-features = false , features = [" derive" ] }
75
+ scale-codec = { package = " parity-scale-codec" , version = " 3.6.12" , default-features = false , features = [
76
+ " derive" ,
77
+ ] }
68
78
scale-info = { version = " 2.11.2" , default-features = false }
69
79
serde = { version = " 1.0.214" , default-features = false }
70
80
serde-tuple-vec-map = { version = " 1.0.1" , default-features = false }
@@ -74,11 +84,11 @@ serde_with = { version = "=2.0.0", default-features = false }
74
84
smallvec = " 1.13.2"
75
85
litep2p = { git = " https://github.com/paritytech/litep2p" , tag = " v0.7.0" }
76
86
syn = { version = " 2.0.87" , features = [
77
- " full" ,
78
- " visit-mut" ,
79
- " visit" ,
80
- " extra-traits" ,
81
- " parsing" ,
87
+ " full" ,
88
+ " visit-mut" ,
89
+ " visit" ,
90
+ " extra-traits" ,
91
+ " parsing" ,
82
92
] }
83
93
quote = " 1"
84
94
proc-macro2 = { version = " 1" , features = [" span-locations" ] }
@@ -181,7 +191,9 @@ fc-consensus = { git = "https://github.com/opentensor/frontier", rev = "635bdac8
181
191
fp-consensus = { git = " https://github.com/opentensor/frontier" , rev = " 635bdac882" , default-features = false }
182
192
fp-dynamic-fee = { git = " https://github.com/opentensor/frontier" , rev = " 635bdac882" , default-features = false }
183
193
fc-api = { git = " https://github.com/opentensor/frontier" , rev = " 635bdac882" , default-features = false }
184
- fc-rpc = { git = " https://github.com/opentensor/frontier" , rev = " 635bdac882" , default-features = false , features = [" rpc-binary-search-estimate" ]}
194
+ fc-rpc = { git = " https://github.com/opentensor/frontier" , rev = " 635bdac882" , default-features = false , features = [
195
+ " rpc-binary-search-estimate" ,
196
+ ] }
185
197
fc-rpc-core = { git = " https://github.com/opentensor/frontier" , rev = " 635bdac882" , default-features = false }
186
198
fc-mapping-sync = { git = " https://github.com/opentensor/frontier" , rev = " 635bdac882" , default-features = false }
187
199
precompile-utils = { git = " https://github.com/opentensor/frontier" , rev = " 635bdac882" , default-features = false }
@@ -199,21 +211,34 @@ pallet-hotfix-sufficients = { git = "https://github.com/opentensor/frontier", re
199
211
200
212
# DRAND
201
213
pallet-drand = { path = " pallets/drand" , default-features = false }
202
- sp-crypto-ec-utils = { git = " https://github.com/paritytech/polkadot-sdk.git" , tag = " polkadot-stable2409" , features = [" bls12-381" ] }
203
- getrandom = { version = " 0.2.15" , features = [" custom" ], default-features = false }
204
- sp-keystore = { git = " https://github.com/paritytech/polkadot-sdk.git" , tag = " polkadot-stable2409" , default-features = false }
214
+ sp-crypto-ec-utils = { git = " https://github.com/paritytech/polkadot-sdk.git" , tag = " polkadot-stable2409" , features = [
215
+ " bls12-381" ,
216
+ ] }
217
+ getrandom = { version = " 0.2.15" , features = [
218
+ " custom" ,
219
+ ], default-features = false }
220
+ sp-keystore = { git = " https://github.com/paritytech/polkadot-sdk.git" , tag = " polkadot-stable2409" , default-features = false }
205
221
w3f-bls = { version = " =0.1.3" , default-features = false }
206
- ark-crypto-primitives = { version = " 0.4.0" , default-features = false , features = [ " r1cs" , " snark" ] }
207
- ark-scale = { version = " 0.0.11" , default-features = false , features = [" hazmat" ] }
222
+ ark-crypto-primitives = { version = " 0.4.0" , default-features = false , features = [
223
+ " r1cs" ,
224
+ " snark" ,
225
+ ] }
226
+ ark-scale = { version = " 0.0.11" , default-features = false , features = [
227
+ " hazmat" ,
228
+ ] }
208
229
sp-ark-bls12-381 = { git = " https://github.com/paritytech/substrate-curves" , default-features = false }
209
- ark-bls12-381 = { version = " 0.4.0" , features = [" curve" ], default-features = false }
210
- ark-serialize = { version = " 0.4.0" , features = [ " derive" ], default-features = false }
230
+ ark-bls12-381 = { version = " 0.4.0" , features = [
231
+ " curve" ,
232
+ ], default-features = false }
233
+ ark-serialize = { version = " 0.4.0" , features = [
234
+ " derive" ,
235
+ ], default-features = false }
211
236
ark-ff = { version = " 0.4.0" , default-features = false }
212
237
ark-ec = { version = " 0.4.0" , default-features = false }
213
238
ark-std = { version = " 0.4.0" , default-features = false }
214
239
anyhow = " 1.0.81"
215
240
sha2 = { version = " 0.10.8" , default-features = false }
216
- rand_chacha = { version = " 0.3.1" , default-features = false }
241
+ rand_chacha = { version = " 0.3.1" , default-features = false }
217
242
tle = { git = " https://github.com/ideal-lab5/timelock" , rev = " 5416406cfd32799e31e1795393d4916894de4468" , default-features = false }
218
243
219
244
frame-metadata = " 16"
@@ -232,11 +257,11 @@ codegen-units = 1
232
257
[features ]
233
258
default = []
234
259
try-runtime = [
235
- " node-subtensor/try-runtime" ,
236
- " node-subtensor-runtime/try-runtime" ,
260
+ " node-subtensor/try-runtime" ,
261
+ " node-subtensor-runtime/try-runtime" ,
237
262
]
238
263
runtime-benchmarks = [
239
- " node-subtensor/runtime-benchmarks" ,
240
- " node-subtensor-runtime/runtime-benchmarks" ,
264
+ " node-subtensor/runtime-benchmarks" ,
265
+ " node-subtensor-runtime/runtime-benchmarks" ,
241
266
]
242
267
metadata-hash = [" node-subtensor-runtime/metadata-hash" ]
0 commit comments