Fix Substrate features (#14660)

* Fix std, runtime-benchmarks and try-runtime features

zepter lint propagate-feature --feature try-runtime --left-side-feature-missing=ignore --workspace --fix --feature-enables-dep="try-runtime:frame-try-runtime"
zepter lint propagate-feature --feature runtime-benchmarks --left-side-feature-missing=ignore --workspace --fix --feature-enables-dep="runtime-benchmarks:frame-benchmarking"
zepter lint propagate-feature --feature std --left-side-feature-missing=ignore --workspace --fix

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Add propagate feature CI check

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Test CI by adding an error

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Use --locked

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Add help msg

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Revert "Test CI by adding an error"

This reverts commit cf4ff6cc0632269b0a109e547686e5e3314b02de.

* Test CI by adding an error

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* No newline in help msg

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Revert "Test CI by adding an error"

This reverts commit 5daa06ada8e01f5bebafb9d1c76804dd79bc1006.

* Test CI by adding an error

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Revert "Test CI by adding an error"

This reverts commit ca15de5729507a564f140a10ec2e87b19516ec4c.

* Fix msg

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Revert back to master

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Re-do with Zepter v0.7.4

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Update Zepter to 0.7.4

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Disable rococo try-runtime check

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Apply suggestions from code review

Co-authored-by: Bastian Köcher <git@kchr.de>

* More review fixes

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
Oliver Tale-Yazdi
2023-08-01 22:25:59 +02:00
committed by GitHub
parent 514bb1d8a2
commit 77321288c3
122 changed files with 1105 additions and 123 deletions
+10 -1
View File
@@ -73,7 +73,16 @@ runtime-benchmarks = [
"node-template-runtime/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-benchmarking-cli/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sc-service/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
# Enable features that allow the runtime to be tried and debugged. Name might be subject to change
# in the near future.
try-runtime = ["node-template-runtime/try-runtime", "try-runtime-cli/try-runtime"]
try-runtime = [
"node-template-runtime/try-runtime",
"try-runtime-cli/try-runtime",
"frame-system/try-runtime",
"pallet-transaction-payment/try-runtime",
"sp-runtime/try-runtime"
]
@@ -34,6 +34,18 @@ std = [
"frame-support/std",
"frame-system/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"]
try-runtime = ["frame-support/try-runtime"]
@@ -112,4 +112,5 @@ try-runtime = [
"pallet-template/try-runtime",
"pallet-timestamp/try-runtime",
"pallet-transaction-payment/try-runtime",
"sp-runtime/try-runtime"
]
+22 -2
View File
@@ -161,11 +161,31 @@ cli = [
]
runtime-benchmarks = [
"kitchensink-runtime/runtime-benchmarks",
"frame-benchmarking-cli/runtime-benchmarks"
"frame-benchmarking-cli/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-asset-tx-payment/runtime-benchmarks",
"pallet-assets/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-im-online/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sc-client-db/runtime-benchmarks",
"sc-service/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
# Enable features that allow the runtime to be tried and debugged. Name might be subject to change
# in the near future.
try-runtime = ["kitchensink-runtime/try-runtime", "try-runtime-cli/try-runtime"]
try-runtime = [
"kitchensink-runtime/try-runtime",
"try-runtime-cli/try-runtime",
"frame-system/try-runtime",
"pallet-asset-conversion-tx-payment/try-runtime",
"pallet-asset-tx-payment/try-runtime",
"pallet-assets/try-runtime",
"pallet-balances/try-runtime",
"pallet-im-online/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
]
[[bench]]
name = "transaction_pool"
+7
View File
@@ -297,6 +297,11 @@ runtime-benchmarks = [
"pallet-vesting/runtime-benchmarks",
"pallet-whitelist/runtime-benchmarks",
"frame-system-benchmarking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"pallet-asset-tx-payment/runtime-benchmarks",
"pallet-nomination-pools/runtime-benchmarks",
"pallet-offences/runtime-benchmarks",
"sp-staking/runtime-benchmarks"
]
try-runtime = [
"frame-try-runtime/try-runtime",
@@ -365,4 +370,6 @@ try-runtime = [
"pallet-nft-fractionalization/try-runtime",
"pallet-vesting/try-runtime",
"pallet-whitelist/try-runtime",
"frame-election-provider-support/try-runtime",
"sp-runtime/try-runtime"
]
+4 -1
View File
@@ -49,7 +49,10 @@ array-bytes = "6.1"
[features]
default = []
test-helpers = []
runtime-benchmarks = []
runtime-benchmarks = [
"kitchensink-runtime/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
rocksdb = ["kvdb-rocksdb"]
[[bench]]
+15 -1
View File
@@ -57,5 +57,19 @@ harness = false
[features]
default = ["std"]
# This crate does not have `no_std` support, we just require this for tests
std = []
std = [
"sc-runtime-test/std",
"sp-api/std",
"sp-core/std",
"sp-externalities/std",
"sp-io/std",
"sp-runtime/std",
"sp-runtime-interface/std",
"sp-state-machine/std",
"sp-tracing/std",
"sp-trie/std",
"sp-version/std",
"sp-wasm-interface/std",
"substrate-test-runtime/std"
]
wasm-extern-trace = []
@@ -30,4 +30,5 @@ std = [
"sp-runtime/std",
"sp-std/std",
"substrate-wasm-builder",
"sp-runtime-interface/std"
]
+4 -1
View File
@@ -19,7 +19,10 @@ default = ["rocksdb"]
rocksdb = ["sc-client-db/rocksdb"]
# exposes the client type
test-helpers = []
runtime-benchmarks = ["sc-client-db/runtime-benchmarks"]
runtime-benchmarks = [
"sc-client-db/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
[dependencies]
jsonrpsee = { version = "0.16.2", features = ["server"] }
+6
View File
@@ -54,6 +54,7 @@ std = [
"frame-support/std",
"frame-system/std",
"pallet-identity/std",
"pallet-balances/std"
]
runtime-benchmarks = [
"array-bytes",
@@ -64,8 +65,13 @@ runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"pallet-collective/runtime-benchmarks",
"pallet-identity/runtime-benchmarks",
"pallet-balances/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-collective?/try-runtime",
"pallet-identity/try-runtime",
"sp-runtime/try-runtime"
]
+16 -2
View File
@@ -40,11 +40,25 @@ std = [
"scale-info/std",
"sp-std/std",
"sp-runtime/std",
"sp-arithmetic/std"
"sp-arithmetic/std",
"pallet-assets/std",
"pallet-balances/std",
"sp-api/std",
"sp-core/std",
"sp-io/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"pallet-assets/runtime-benchmarks",
"pallet-balances/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-assets/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+5 -1
View File
@@ -40,16 +40,20 @@ std = [
"sp-runtime/std",
"sp-std/std",
"sp-core?/std",
"pallet-balances/std",
"sp-io/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"dep:sp-core",
"sp-core",
"pallet-balances/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime",
"pallet-balances/try-runtime"
]
+10 -1
View File
@@ -41,10 +41,19 @@ std = [
"frame-support/std",
"frame-system/std",
"frame-benchmarking?/std",
"pallet-balances/std",
"sp-io/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"pallet-balances/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+7 -1
View File
@@ -36,5 +36,11 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+8 -1
View File
@@ -39,5 +39,12 @@ std = [
"sp-consensus-aura/std",
"sp-runtime/std",
"sp-std/std",
"sp-core/std",
"sp-io/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
@@ -43,5 +43,12 @@ std = [
"sp-authority-discovery/std",
"sp-runtime/std",
"sp-std/std",
"sp-core/std",
"sp-io/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-session/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+7 -1
View File
@@ -36,5 +36,11 @@ std = [
"scale-info/std",
"sp-runtime/std",
"sp-std/std",
"sp-core/std",
"sp-io/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+28 -2
View File
@@ -59,6 +59,32 @@ std = [
"sp-session/std",
"sp-staking/std",
"sp-std/std",
"frame-election-provider-support/std",
"pallet-balances/std",
"pallet-offences/std",
"pallet-staking/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-offences/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-election-provider-support/try-runtime",
"frame-system/try-runtime",
"pallet-authorship/try-runtime",
"pallet-balances/try-runtime",
"pallet-offences/try-runtime",
"pallet-session/try-runtime",
"pallet-staking/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
]
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"]
try-runtime = ["frame-support/try-runtime"]
+10 -1
View File
@@ -67,6 +67,9 @@ runtime-benchmarks = [
"pallet-balances/runtime-benchmarks",
"sp-tracing",
"frame-election-provider-support/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
fuzz = [
"sp-core",
@@ -75,4 +78,10 @@ fuzz = [
"sp-tracing",
"frame-election-provider-support/fuzz",
]
try-runtime = [ "frame-support/try-runtime", "frame-election-provider-support/try-runtime" ]
try-runtime = [
"frame-support/try-runtime",
"frame-election-provider-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances?/try-runtime",
"sp-runtime/try-runtime"
]
+15 -2
View File
@@ -39,8 +39,21 @@ std = [
"scale-info/std",
"sp-runtime/std",
"sp-std/std",
"pallet-transaction-payment/std",
"sp-core/std",
"sp-io/std"
]
# Enable support for setting the existential deposit to zero.
insecure_zero_ed = []
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"]
try-runtime = ["frame-support/try-runtime"]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-transaction-payment/try-runtime",
"sp-runtime/try-runtime"
]
+9 -1
View File
@@ -51,5 +51,13 @@ std = [
"sp-runtime/std",
"sp-std/std",
"sp-api/std",
"sp-staking/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-beefy/try-runtime",
"pallet-mmr/try-runtime",
"pallet-session/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+19 -1
View File
@@ -48,5 +48,23 @@ std = [
"sp-session/std",
"sp-staking/std",
"sp-std/std",
"frame-election-provider-support/std",
"pallet-balances/std",
"pallet-offences/std",
"pallet-staking/std",
"pallet-timestamp/std",
"sp-core/std",
"sp-io/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-election-provider-support/try-runtime",
"frame-system/try-runtime",
"pallet-authorship/try-runtime",
"pallet-balances/try-runtime",
"pallet-offences/try-runtime",
"pallet-session/try-runtime",
"pallet-staking/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+3
View File
@@ -55,8 +55,11 @@ std = [
"sp-runtime/std",
"sp-std/std",
"sp-storage/std",
"frame-support-procedural/std",
"sp-keystore/std"
]
runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
@@ -36,8 +36,11 @@ std = [
runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
+11 -1
View File
@@ -44,10 +44,20 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-treasury/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-treasury/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+14 -1
View File
@@ -46,10 +46,23 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std"
]
runtime-benchmarks = [
"frame-benchmarking",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-bounties/runtime-benchmarks",
"pallet-treasury/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-bounties/try-runtime",
"pallet-treasury/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+5 -1
View File
@@ -44,4 +44,8 @@ runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = ["frame-support/try-runtime"]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
+24 -1
View File
@@ -82,11 +82,34 @@ std = [
"log/std",
"rand/std",
"environmental/std",
"pallet-balances/std",
"pallet-insecure-randomness-collective-flip/std",
"pallet-proxy/std",
"pallet-timestamp/std",
"pallet-utility/std",
"sp-api/std",
"sp-keystore/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"rand",
"rand_pcg",
"wasm-instrument",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-proxy/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"pallet-utility/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-insecure-randomness-collective-flip/try-runtime",
"pallet-proxy/try-runtime",
"pallet-timestamp/try-runtime",
"pallet-utility/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
@@ -29,4 +29,5 @@ std = [
"sp-runtime/std",
"sp-std/std",
"scale-info/std",
"sp-weights/std"
]
+12 -1
View File
@@ -44,6 +44,9 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"pallet-scheduler/std",
"sp-core/std"
]
runtime-benchmarks = [
"frame-support/runtime-benchmarks",
@@ -51,5 +54,13 @@ runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-scheduler/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-scheduler/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+5 -1
View File
@@ -46,4 +46,8 @@ runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = ["frame-support/try-runtime"]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
+14 -1
View File
@@ -45,11 +45,24 @@ std = [
"sp-runtime/std",
"sp-std/std",
"sp-core/std",
"pallet-balances/std",
"pallet-preimage/std",
"pallet-scheduler/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-preimage/runtime-benchmarks",
"pallet-scheduler/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-preimage/try-runtime",
"pallet-scheduler/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime",]
@@ -70,11 +70,24 @@ std = [
"frame-benchmarking?/std",
"rand/std",
"strum/std",
"pallet-balances/std",
"sp-tracing/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"rand",
"strum",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-election-provider-support-benchmarking?/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-election-provider-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
@@ -41,6 +41,15 @@ std = [
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
"sp-io/std"
]
runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
runtime-benchmarks = []
try-runtime = []
@@ -34,4 +34,6 @@ std = [
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
+12 -1
View File
@@ -48,10 +48,21 @@ std = [
"sp-npos-elections/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-staking/std",
"sp-tracing/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+14 -2
View File
@@ -40,6 +40,18 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-core/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"]
try-runtime = ["frame-support/try-runtime"]
@@ -35,4 +35,8 @@ std = [
"sp-runtime/std",
"sp-std/std",
]
try-runtime = ["frame-support/try-runtime"]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
+7 -1
View File
@@ -38,5 +38,11 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-core/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
@@ -47,6 +47,18 @@ std = [
"frame-benchmarking?/std",
"pallet-balances/std",
"sp-core/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"]
try-runtime = ["frame-support/try-runtime"]
@@ -36,8 +36,12 @@ std = [
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-keystore",
"sp-runtime/std",
"sp-std/std",
"sp-keystore/std",
"sp-runtime/std",
"sp-std/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+10 -2
View File
@@ -42,6 +42,14 @@ std = [
"sp-std/std",
"frame-benchmarking?/std",
"sp-core/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime"
]
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"]
try-runtime = ["frame-support/try-runtime"]
+12 -1
View File
@@ -49,5 +49,16 @@ std = [
"sp-runtime/std",
"sp-std/std",
"sp-tracing/std",
"pallet-balances/std",
"pallet-transaction-payment/std",
"sp-inherents/std",
"sp-version/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-try-runtime/try-runtime",
"sp-runtime/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-transaction-payment/try-runtime"
]
try-runtime = ["frame-support/try-runtime", "frame-try-runtime/try-runtime", "sp-runtime/try-runtime"]
+20 -1
View File
@@ -56,10 +56,29 @@ std = [
"frame-election-provider-support/std",
"frame-benchmarking/std",
"pallet-balances/std",
"pallet-staking/std",
"pallet-timestamp/std",
"sp-core/std",
"sp-tracing/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-election-provider-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-staking/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+9 -1
View File
@@ -41,11 +41,19 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"pallet-balances/runtime-benchmarks"
]
+29 -2
View File
@@ -60,6 +60,33 @@ std = [
"sp-session/std",
"sp-staking/std",
"sp-std/std",
"frame-election-provider-support/std",
"pallet-balances/std",
"pallet-offences/std",
"pallet-staking/std",
"pallet-timestamp/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-offences/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-election-provider-support/try-runtime",
"frame-system/try-runtime",
"pallet-authorship/try-runtime",
"pallet-balances/try-runtime",
"pallet-offences/try-runtime",
"pallet-session/try-runtime",
"pallet-staking/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
]
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"]
try-runtime = ["frame-support/try-runtime"]
+10 -1
View File
@@ -38,10 +38,19 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-core/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+15 -2
View File
@@ -46,6 +46,19 @@ std = [
"sp-runtime/std",
"sp-staking/std",
"sp-std/std",
"pallet-session/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-authorship/try-runtime",
"pallet-session/try-runtime",
"sp-runtime/try-runtime"
]
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"]
try-runtime = ["frame-support/try-runtime"]
+9 -1
View File
@@ -40,10 +40,18 @@ std = [
"sp-keyring",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
@@ -35,5 +35,11 @@ std = [
"scale-info/std",
"sp-runtime/std",
"sp-std/std",
"sp-core/std",
"sp-io/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+13 -1
View File
@@ -38,10 +38,22 @@ std = [
"scale-info/std",
"sp-runtime/std",
"sp-std/std",
"frame-support-test/std",
"pallet-balances/std",
"sp-core/std",
"sp-io/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-support-test/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+5 -1
View File
@@ -44,4 +44,8 @@ runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = ["frame-support/try-runtime"]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
@@ -42,5 +42,14 @@ std = [
"sp-runtime/std",
"sp-std/std",
]
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"]
try-runtime = ["frame-support/try-runtime"]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
+7 -1
View File
@@ -44,10 +44,16 @@ std = [
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"sp-tracing/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+10 -1
View File
@@ -40,10 +40,19 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-core/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
@@ -43,10 +43,24 @@ std = [
"scale-info/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-core/std",
"sp-io/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"pallet-assets/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-nfts/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-assets/try-runtime",
"pallet-balances/try-runtime",
"pallet-nfts/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+10 -1
View File
@@ -42,10 +42,19 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-keystore/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"pallet-balances/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+8 -1
View File
@@ -35,5 +35,12 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-core/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+10 -1
View File
@@ -39,10 +39,19 @@ std = [
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-io/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
@@ -35,4 +35,8 @@ std = [
"sp-runtime/std",
"sp-std/std",
]
try-runtime = ["frame-support/try-runtime"]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
+10 -1
View File
@@ -48,10 +48,19 @@ std = [
"sp-staking/std",
"sp-core/std",
"log/std",
"pallet-balances?/std",
"sp-tracing?/std"
]
runtime-benchmarks = [
"sp-staking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances?/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime"
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances?/try-runtime",
"sp-runtime/try-runtime"
]
@@ -54,6 +54,10 @@ std = [
"sp-runtime-interface/std",
"sp-staking/std",
"sp-std/std",
"pallet-balances/std",
"pallet-timestamp/std",
"sp-core/std",
"sp-io/std"
]
runtime-benchmarks = [
@@ -66,4 +70,6 @@ runtime-benchmarks = [
"pallet-staking/runtime-benchmarks",
"pallet-nomination-pools/runtime-benchmarks",
"pallet-bags-list/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks"
]
+15 -2
View File
@@ -41,6 +41,19 @@ std = [
"sp-runtime/std",
"sp-staking/std",
"sp-std/std",
"sp-core/std",
"sp-io/std"
]
runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
runtime-benchmarks = []
try-runtime = ["frame-support/try-runtime"]
@@ -57,8 +57,23 @@ std = [
"sp-staking/std",
"sp-std/std",
"log/std",
"pallet-timestamp/std",
"sp-core/std",
"sp-io/std"
]
runtime-benchmarks = [
"pallet-staking/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-babe/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-grandpa/runtime-benchmarks",
"pallet-im-online/runtime-benchmarks",
"pallet-offences/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks"
]
+5 -1
View File
@@ -32,4 +32,8 @@ std = ["codec/std", "frame-benchmarking?/std", "frame-support/std", "frame-syste
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "sp-runtime/runtime-benchmarks"]
try-runtime = ["frame-support/try-runtime"]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
+7
View File
@@ -30,6 +30,9 @@ runtime-benchmarks = [
"frame-benchmarking",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
std = [
"codec/std",
@@ -42,7 +45,11 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
+13 -1
View File
@@ -38,10 +38,22 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"pallet-utility/std",
"sp-core/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-utility/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-utility/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+5 -1
View File
@@ -46,4 +46,8 @@ runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = ["frame-support/try-runtime"]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
+10 -1
View File
@@ -33,6 +33,8 @@ runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"pallet-balances/runtime-benchmarks"
]
std = [
"codec/std",
@@ -43,5 +45,12 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-core/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+16 -1
View File
@@ -49,6 +49,10 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"pallet-preimage/std",
"pallet-scheduler/std",
"sp-core/std"
]
runtime-benchmarks = [
"assert_matches",
@@ -56,5 +60,16 @@ runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-preimage/runtime-benchmarks",
"pallet-scheduler/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-preimage/try-runtime",
"pallet-scheduler/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+11 -2
View File
@@ -29,7 +29,12 @@ sp-core = { version = "21.0.0", default-features = false, path = "../../primitiv
[features]
default = ["std"]
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
std = [
"frame-benchmarking?/std",
"codec/std",
@@ -42,4 +47,8 @@ std = [
"sp-runtime/std",
"sp-std/std",
]
try-runtime = [ "frame-support/try-runtime" ]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
+29 -3
View File
@@ -36,15 +36,41 @@ sp-std = { version = "8.0.0", default-features = false, path = "../../primitives
frame-election-provider-support = { version = "4.0.0-dev", path = "../election-provider-support" }
[features]
runtime-benchmarks = []
try-runtime = ["frame-support/try-runtime"]
runtime-benchmarks = [
"frame-election-provider-support/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-election-provider-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-session/try-runtime",
"pallet-staking/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
"frame-system/std",
"frame-system/std",
"pallet-session/std",
"pallet-staking/std",
"scale-info/std",
"sp-runtime/std",
"frame-election-provider-support/std",
"pallet-balances/std",
"pallet-timestamp/std",
"sp-core/std",
"sp-io/std",
"sp-staking/std",
"sp-std/std"
]
+12 -3
View File
@@ -24,12 +24,21 @@ sp-runtime = { version = "24.0.0", default-features = false, path = "../../primi
sp-std = { version = "8.0.0", default-features = false, path = "../../primitives/std" }
[features]
try-runtime = ["frame-support/try-runtime"]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
"frame-system/std",
"frame-system/std",
"scale-info/std",
"sp-runtime/std",
"sp-runtime/std",
"sp-core/std",
"sp-io/std",
"sp-std/std"
]
+5 -1
View File
@@ -46,4 +46,8 @@ runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = ["frame-support/try-runtime"]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
+11 -1
View File
@@ -32,6 +32,9 @@ runtime-benchmarks = [
"frame-benchmarking",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"pallet-preimage/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
std = [
"codec/std",
@@ -44,5 +47,12 @@ std = [
"sp-runtime/std",
"sp-std/std",
"sp-weights/std",
"pallet-preimage/std",
"sp-core/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-preimage/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+8 -1
View File
@@ -35,5 +35,12 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-core/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+6 -1
View File
@@ -46,4 +46,9 @@ std = [
"sp-std/std",
"sp-trie/std",
]
try-runtime = ["frame-support/try-runtime"]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
]
@@ -45,8 +45,20 @@ std = [
"sp-runtime/std",
"sp-session/std",
"sp-std/std",
"frame-election-provider-support/std",
"pallet-balances/std",
"pallet-timestamp/std",
"sp-core/std",
"sp-io/std"
]
runtime-benchmarks = [
"pallet-staking/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
+11 -1
View File
@@ -49,6 +49,10 @@ std = [
"sp-runtime/std",
"sp-std/std",
"sp-io/std",
"frame-support-test/std",
"pallet-balances/std",
"sp-arithmetic/std",
"sp-core/std"
]
runtime-benchmarks = [
"frame-benchmarking",
@@ -58,4 +62,10 @@ runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
]
try-runtime = ["frame-support/try-runtime"]
try-runtime = [
"frame-support/try-runtime",
"frame-support-test/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
+23 -1
View File
@@ -67,11 +67,33 @@ std = [
"sp-application-crypto/std",
"log/std",
"frame-election-provider-support/std",
"pallet-bags-list/std",
"pallet-balances/std",
"pallet-timestamp/std",
"sp-core/std",
"sp-npos-elections/std",
"sp-tracing/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"rand_chacha",
"sp-staking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-bags-list/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-election-provider-support/try-runtime",
"frame-system/try-runtime",
"pallet-authorship/try-runtime",
"pallet-bags-list/try-runtime",
"pallet-balances/try-runtime",
"pallet-session/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime", "frame-election-provider-support/try-runtime"]
@@ -47,7 +47,21 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-tracing/std"
]
runtime-benchmarks = [
"frame-benchmarking",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
runtime-benchmarks = ["frame-benchmarking"]
try-runtime = ["frame-support/try-runtime"]
remote-test = [ "remote-externalities", "serde", "std", "substrate-state-trie-migration-rpc", "thousands", "zstd" ]
+4
View File
@@ -40,7 +40,11 @@ std = [
"sp-io/std",
"sp-core/std",
"sp-statement-store/std",
"pallet-balances/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
+7 -1
View File
@@ -36,10 +36,16 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-core/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-support/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+6 -2
View File
@@ -73,7 +73,9 @@ std = [
"frame-support-procedural/std",
"log/std",
"environmental/std",
"sp-genesis-builder/std"
"sp-genesis-builder/std",
"frame-system/std",
"sp-debug-derive/std"
]
runtime-benchmarks = [
"frame-system/runtime-benchmarks",
@@ -81,7 +83,9 @@ runtime-benchmarks = [
"sp-staking/runtime-benchmarks"
]
try-runtime = [
"sp-debug-derive/force-debug"
"sp-debug-derive/force-debug",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
experimental = []
# By default some types have documentation, `no-metadata-docs` allows to reduce the documentation
+2 -1
View File
@@ -49,16 +49,17 @@ std = [
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-state-machine",
"sp-std/std",
"sp-version/std",
"test-pallet/std",
"sp-state-machine/std"
]
experimental = ["frame-support/experimental"]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"frame-executive/try-runtime",
"sp-runtime/try-runtime"
]
# WARNING:
# Only CI runs with this feature enabled. This feature is for testing stuff related to the FRAME macros
@@ -27,4 +27,5 @@ std = [
"frame-system/std",
"scale-info/std",
"serde/std",
"sp-runtime/std"
]
+5 -1
View File
@@ -45,12 +45,16 @@ std = [
"sp-std/std",
"sp-version/std",
"sp-weights/std",
"sp-externalities/std"
]
runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = ["frame-support/try-runtime"]
try-runtime = [
"frame-support/try-runtime",
"sp-runtime/try-runtime"
]
[[bench]]
name = "bench"
@@ -38,10 +38,14 @@ std = [
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
"sp-externalities/std",
"sp-io/std",
"sp-version/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
+13 -2
View File
@@ -44,6 +44,17 @@ std = [
"sp-runtime/std",
"sp-std/std",
"sp-timestamp/std",
"sp-core/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"sp-io",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime"
]
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks", "sp-io"]
try-runtime = ["frame-support/try-runtime"]
+12 -1
View File
@@ -45,10 +45,21 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-storage/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-treasury/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-treasury/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
@@ -41,5 +41,11 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
@@ -43,5 +43,16 @@ std = [
"sp-core/std",
"pallet-asset-conversion/std",
"pallet-transaction-payment/std",
"pallet-assets/std",
"pallet-balances/std",
"sp-storage/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-asset-conversion/try-runtime",
"pallet-assets/try-runtime",
"pallet-balances/try-runtime",
"pallet-transaction-payment/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
@@ -52,10 +52,25 @@ std = [
"sp-core/std",
"pallet-transaction-payment/std",
"frame-benchmarking?/std",
"pallet-assets/std",
"pallet-authorship/std",
"pallet-balances/std",
"sp-storage/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"pallet-assets/runtime-benchmarks",
"pallet-balances/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-assets/try-runtime",
"pallet-authorship/try-runtime",
"pallet-balances/try-runtime",
"pallet-transaction-payment/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+15 -2
View File
@@ -34,7 +34,14 @@ sp-transaction-storage-proof = { version = "4.0.0-dev", default-features = true,
[features]
default = ["std"]
runtime-benchmarks = ["array-bytes", "frame-benchmarking/runtime-benchmarks"]
runtime-benchmarks = [
"array-bytes",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
std = [
"log/std",
"frame-benchmarking?/std",
@@ -49,5 +56,11 @@ std = [
"sp-runtime/std",
"sp-std/std",
"sp-transaction-storage-proof/std",
"sp-core/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+13 -1
View File
@@ -44,10 +44,22 @@ std = [
"serde",
"sp-runtime/std",
"sp-std/std",
"pallet-utility/std",
"sp-core/std",
"sp-io/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-utility/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-utility/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+1
View File
@@ -29,4 +29,5 @@ std = [
]
try-runtime = [
"frame-support/try-runtime",
"sp-runtime/try-runtime"
]
+11 -1
View File
@@ -39,10 +39,20 @@ std = [
"scale-info/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-core/std",
"sp-io/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"pallet-balances/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+16 -1
View File
@@ -42,11 +42,26 @@ std = [
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"pallet-collective/std",
"pallet-root-testing/std",
"pallet-timestamp/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-collective/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-collective/try-runtime",
"pallet-root-testing/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]
+16 -2
View File
@@ -40,6 +40,20 @@ std = [
"scale-info/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"sp-core/std",
"sp-io/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"]
try-runtime = ["frame-support/try-runtime"]
+15 -1
View File
@@ -38,10 +38,24 @@ std = [
"sp-api/std",
"sp-runtime/std",
"sp-std/std",
"pallet-balances/std",
"pallet-preimage/std",
"sp-core/std",
"sp-io/std"
]
runtime-benchmarks = [
"frame-benchmarking",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-preimage/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-preimage/try-runtime",
"sp-runtime/try-runtime"
]
try-runtime = ["frame-support/try-runtime"]

Some files were not shown because too many files have changed in this diff Show More