@@ -12,6 +12,7 @@ repository = "https://github.com/paritytech/polkadot-bulletin-chain/"
1212targets = [" x86_64-unknown-linux-gnu" ]
1313
1414[dependencies ]
15+ cfg-if = { workspace = true }
1516codec = { workspace = true , features = [" derive" ] }
1617log = { workspace = true }
1718scale-info = { features = [" derive" ], workspace = true }
@@ -80,11 +81,12 @@ xcm = { default-features = false, git = "https://github.com/paritytech/polkadot-
8081xcm-builder = { default-features = false , git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" , package = " staging-xcm-builder" }
8182xcm-executor = { default-features = false , git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" , package = " staging-xcm-executor" }
8283
83- # TODO: just to pass `--features runtime-benchmarks`
84+ # TODO: just to pass `--features runtime-benchmarks` or `--features try-runtime`
8485pallet-xcm = { optional = true , default-features = false , git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" }
8586pallet-staking = { optional = true , default-features = false , git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" }
8687sp-staking = { optional = true , default-features = false , git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" }
8788parachains-common = { optional = true , default-features = false , git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" }
89+ pallet-revive = { optional = true , default-features = false , git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" }
8890
8991[build-dependencies ]
9092substrate-wasm-builder = { git = " https://github.com/paritytech/polkadot-sdk.git" , rev = " db5e645422ccf952018a3c466a33fef477858602" , optional = true }
@@ -163,6 +165,7 @@ std = [
163165 " xcm/std" ,
164166
165167 " pallet-bridge-relayers/std" ,
168+ " pallet-revive?/std" ,
166169 " pallet-staking?/std" ,
167170 " pallet-xcm?/std" ,
168171 " parachains-common?/std" ,
@@ -202,6 +205,7 @@ runtime-benchmarks = [
202205 " xcm-executor/runtime-benchmarks" ,
203206 " xcm/runtime-benchmarks" ,
204207
208+ " pallet-revive?/runtime-benchmarks" ,
205209 " pallet-staking/runtime-benchmarks" ,
206210 " pallet-xcm/runtime-benchmarks" ,
207211 " parachains-common/runtime-benchmarks" ,
@@ -227,7 +231,8 @@ try-runtime = [
227231
228232 " pallet-bridge-relayers/try-runtime" ,
229233 " pallet-relayer-set/try-runtime" ,
230- " pallet-staking?/try-runtime" ,
234+ " pallet-revive/try-runtime" ,
235+ " pallet-staking/try-runtime" ,
231236 " pallet-transaction-payment/try-runtime" ,
232237 " pallet-transaction-storage/try-runtime" ,
233238 " pallet-validator-set/try-runtime" ,
@@ -237,3 +242,4 @@ try-runtime = [
237242 " sp-runtime/try-runtime" ,
238243]
239244rococo = []
245+ polkadot = []
0 commit comments