@@ -44,6 +44,7 @@ sp-std = { default-features = false, git = "https://github.com/paritytech/polkad
4444sp-transaction-pool = { default-features = false , git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" }
4545sp-transaction-storage-proof = { default-features = false , git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" }
4646sp-version = { default-features = false , git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" }
47+ sp-storage = { optional = true , default-features = false , git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" }
4748
4849# Used for the node's RPCs
4950frame-system-rpc-runtime-api = { default-features = false , git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" }
@@ -79,6 +80,12 @@ xcm = { default-features = false, git = "https://github.com/paritytech/polkadot-
7980xcm-builder = { default-features = false , git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" , package = " staging-xcm-builder" }
8081xcm-executor = { default-features = false , git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" , package = " staging-xcm-executor" }
8182
83+ # TODO: just to pass `--features runtime-benchmarks`
84+ pallet-xcm = { optional = true , default-features = false , git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" }
85+ pallet-staking = { optional = true , default-features = false , git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" }
86+ sp-staking = { optional = true , default-features = false , git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" }
87+ parachains-common = { optional = true , default-features = false , git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" }
88+
8289[build-dependencies ]
8390substrate-wasm-builder = { git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" , optional = true }
8491
@@ -156,7 +163,12 @@ std = [
156163 " xcm/std" ,
157164
158165 " pallet-bridge-relayers/std" ,
166+ " pallet-staking?/std" ,
167+ " pallet-xcm?/std" ,
168+ " parachains-common?/std" ,
159169 " sp-genesis-builder/std" ,
170+ " sp-staking?/std" ,
171+ " sp-storage?/std" ,
160172 " substrate-wasm-builder" ,
161173]
162174runtime-benchmarks = [
@@ -168,6 +180,7 @@ runtime-benchmarks = [
168180 " pallet-sudo/runtime-benchmarks" ,
169181 " pallet-timestamp/runtime-benchmarks" ,
170182 " sp-runtime/runtime-benchmarks" ,
183+ " sp-storage" ,
171184
172185 " frame-benchmarking/runtime-benchmarks" ,
173186 " frame-system-benchmarking/runtime-benchmarks" ,
@@ -188,6 +201,11 @@ runtime-benchmarks = [
188201 " xcm-builder/runtime-benchmarks" ,
189202 " xcm-executor/runtime-benchmarks" ,
190203 " xcm/runtime-benchmarks" ,
204+
205+ " pallet-staking/runtime-benchmarks" ,
206+ " pallet-xcm/runtime-benchmarks" ,
207+ " parachains-common/runtime-benchmarks" ,
208+ " sp-staking/runtime-benchmarks" ,
191209]
192210try-runtime = [
193211 " frame-executive/try-runtime" ,
@@ -209,10 +227,13 @@ try-runtime = [
209227
210228 " pallet-bridge-relayers/try-runtime" ,
211229 " pallet-relayer-set/try-runtime" ,
230+ " pallet-staking?/try-runtime" ,
212231 " pallet-transaction-payment/try-runtime" ,
213232 " pallet-transaction-storage/try-runtime" ,
214233 " pallet-validator-set/try-runtime" ,
234+ " pallet-xcm?/try-runtime" ,
215235 " pallets-common/try-runtime" ,
236+ " parachains-common?/try-runtime" ,
216237 " sp-runtime/try-runtime" ,
217238]
218239rococo = []
0 commit comments