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