@@ -44,6 +44,8 @@ hex = { workspace = true }
4444share-pool = { default-features = false , path = " ../../primitives/share-pool" }
4545safe-math = { default-features = false , path = " ../../primitives/safe-math" }
4646approx = { workspace = true }
47+ subtensor-swap-interface = { workspace = true }
48+ subtensor-runtime-common = { workspace = true }
4749
4850pallet-collective = { version = " 4.0.0-dev" , default-features = false , path = " ../collective" }
4951pallet-drand = { path = " ../drand" , default-features = false }
@@ -58,11 +60,11 @@ ark-serialize = { workspace = true, default-features = false }
5860w3f-bls = { workspace = true , default-features = false }
5961sha2 = { workspace = true }
6062rand_chacha = { workspace = true }
61- subtensor-runtime-common = { workspace = true }
6263
6364[dev-dependencies ]
6465pallet-balances = { workspace = true , features = [" std" ] }
6566pallet-scheduler = { workspace = true }
67+ pallet-subtensor-swap = { workspace = true }
6668sp-version = { workspace = true }
6769# Substrate
6870sp-tracing = { workspace = true }
@@ -91,6 +93,7 @@ std = [
9193 " pallet-membership/std" ,
9294 " pallet-preimage/std" ,
9395 " pallet-scheduler/std" ,
96+ " pallet-subtensor-swap/std" ,
9497 " pallet-transaction-payment/std" ,
9598 " pallet-utility/std" ,
9699 " rand_chacha/std" ,
@@ -111,6 +114,7 @@ std = [
111114 " substrate-fixed/std" ,
112115 " substrate-fixed/std" ,
113116 " subtensor-runtime-common/std" ,
117+ " subtensor-swap-interface/std" ,
114118 " tle/std" ,
115119 " w3f-bls/std" ,
116120]
@@ -120,14 +124,15 @@ runtime-benchmarks = [
120124 " frame-support/runtime-benchmarks" ,
121125 " frame-system/runtime-benchmarks" ,
122126 " pallet-balances/runtime-benchmarks" ,
123- " pallet-membership/runtime-benchmarks" ,
124- " pallet-utility/runtime-benchmarks" ,
125- " sp-runtime/runtime-benchmarks" ,
126127 " pallet-collective/runtime-benchmarks" ,
128+ " pallet-drand/runtime-benchmarks" ,
129+ " pallet-membership/runtime-benchmarks" ,
127130 " pallet-preimage/runtime-benchmarks" ,
128131 " pallet-scheduler/runtime-benchmarks" ,
129- " pallet-drand /runtime-benchmarks" ,
132+ " pallet-subtensor-swap /runtime-benchmarks" ,
130133 " pallet-transaction-payment/runtime-benchmarks" ,
134+ " pallet-utility/runtime-benchmarks" ,
135+ " sp-runtime/runtime-benchmarks" ,
131136]
132137try-runtime = [
133138 " frame-support/try-runtime" ,
0 commit comments