Fix features (#1194)

* Manually fix conflicting ?

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

* Remove duplicates

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

* Autofix feature propagation

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
zepter f f

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

* Bump zepter

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

* Add some duplicates

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

* Revert "Add some duplicates"

This reverts commit c6ce627273881c478f5b34f23d3a67db632dbebf.

* Remove default enabled features

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

* Bump Zepter

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

* Bump in correct location 🤦

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

* DNM: Add some mistakes

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

* DNM: Add some mistakes

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

* Revert "DNM: Add some mistakes"

This reverts commit d469b3f0ba2aaed5f35f6ff5995f99e682da5800.

* Revert "DNM: Add some mistakes"

This reverts commit d892a73a35cac01e3721bdba74574b88bd04f83c.

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Oliver Tale-Yazdi
2023-08-28 21:27:48 +02:00
committed by GitHub
parent 6e394f84f8
commit 0400ed9075
74 changed files with 632 additions and 45 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ cargo-fmt-manifest:
- .docker-env - .docker-env
- .common-refs - .common-refs
script: script:
- cargo install zepter --locked --version 0.10.0 -q -f --no-default-features && zepter --version - cargo install zepter --locked --version 0.11.0 -q -f --no-default-features && zepter --version
- echo "👉 Hello developer! If you see this CI check failing then it means that one of the your changes in a Cargo.toml file introduced ill-formatted or unsorted features. Please take a look at 'docs/STYLE_GUIDE.md#manifest-formatting' to find out more." - echo "👉 Hello developer! If you see this CI check failing then it means that one of the your changes in a Cargo.toml file introduced ill-formatted or unsorted features. Please take a look at 'docs/STYLE_GUIDE.md#manifest-formatting' to find out more."
- zepter format features --check - zepter format features --check
allow_failure: true # Experimental allow_failure: true # Experimental
@@ -97,7 +97,7 @@ test-rust-feature-propagation:
- .kubernetes-env - .kubernetes-env
- .test-pr-refs - .test-pr-refs
script: script:
- cargo install --locked --version 0.10.0 -q -f zepter && zepter --version - cargo install --locked --version 0.11.1 -q -f zepter && zepter --version
- echo "👉 Hello developer! If you see this CI check failing then it means that one of the crates is missing a feature for one of its dependencies. The output below tells you which feature needs to be added for which dependency to which crate. You can do this by modifying the Cargo.toml file. For more context see the MR where this check was introduced https://github.com/paritytech/substrate/pull/14660" - echo "👉 Hello developer! If you see this CI check failing then it means that one of the crates is missing a feature for one of its dependencies. The output below tells you which feature needs to be added for which dependency to which crate. You can do this by modifying the Cargo.toml file. For more context see the MR where this check was introduced https://github.com/paritytech/substrate/pull/14660"
- zepter lint propagate-feature --feature try-runtime --left-side-feature-missing=ignore --workspace --feature-enables-dep="try-runtime:frame-try-runtime" --locked - zepter lint propagate-feature --feature try-runtime --left-side-feature-missing=ignore --workspace --feature-enables-dep="try-runtime:frame-try-runtime" --locked
- zepter lint propagate-feature --feature runtime-benchmarks --left-side-feature-missing=ignore --workspace --feature-enables-dep="runtime-benchmarks:frame-benchmarking" --locked - zepter lint propagate-feature --feature runtime-benchmarks --left-side-feature-missing=ignore --workspace --feature-enables-dep="runtime-benchmarks:frame-benchmarking" --locked
@@ -55,6 +55,7 @@ std = [
"bp-messages/std", "bp-messages/std",
"bp-parachains/std", "bp-parachains/std",
"bp-polkadot-core/std", "bp-polkadot-core/std",
"bp-relayers/std",
"bp-runtime/std", "bp-runtime/std",
"bp-xcm-bridge-hub-router/std", "bp-xcm-bridge-hub-router/std",
"codec/std", "codec/std",
@@ -79,10 +80,15 @@ std = [
"xcm/std", "xcm/std",
] ]
runtime-benchmarks = [ runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-bridge-grandpa/runtime-benchmarks", "pallet-bridge-grandpa/runtime-benchmarks",
"pallet-bridge-messages/runtime-benchmarks", "pallet-bridge-messages/runtime-benchmarks",
"pallet-bridge-parachains/runtime-benchmarks", "pallet-bridge-parachains/runtime-benchmarks",
"pallet-bridge-relayers/runtime-benchmarks", "pallet-bridge-relayers/runtime-benchmarks",
"pallet-utility/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
] ]
integrity-test = [ "static_assertions" ] integrity-test = [ "static_assertions" ]
+8 -1
View File
@@ -56,5 +56,12 @@ std = [
runtime-benchmarks = [ runtime-benchmarks = [
"bp-test-utils", "bp-test-utils",
"frame-benchmarking/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", "frame-system/try-runtime" ]
+13 -2
View File
@@ -47,5 +47,16 @@ std = [
"sp-runtime/std", "sp-runtime/std",
"sp-std/std", "sp-std/std",
] ]
runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks" ] runtime-benchmarks = [
try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime" ] "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",
]
+13 -2
View File
@@ -51,5 +51,16 @@ std = [
"sp-std/std", "sp-std/std",
"sp-trie/std", "sp-trie/std",
] ]
runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks" ] runtime-benchmarks = [
try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime" ] "frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-bridge-grandpa/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-bridge-grandpa/try-runtime",
"sp-runtime/try-runtime",
]
+16 -2
View File
@@ -45,10 +45,24 @@ std = [
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
"log/std", "log/std",
"pallet-bridge-messages/std",
"scale-info/std", "scale-info/std",
"sp-arithmetic/std", "sp-arithmetic/std",
"sp-runtime/std", "sp-runtime/std",
"sp-std/std", "sp-std/std",
] ]
runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks" ] runtime-benchmarks = [
try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime" ] "frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-bridge-messages/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-bridge-messages/try-runtime",
"sp-runtime/try-runtime",
]
@@ -51,6 +51,13 @@ std = [
] ]
runtime-benchmarks = [ runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
] ]
try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime" ] try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime",
]
@@ -24,7 +24,9 @@ sp-trie = { path = "../../../../substrate/primitives/trie", default-features = f
default = [ "std" ] default = [ "std" ]
std = [ std = [
"bp-header-chain/std", "bp-header-chain/std",
"bp-parachains/std",
"bp-polkadot-core/std", "bp-polkadot-core/std",
"bp-runtime/std",
"codec/std", "codec/std",
"ed25519-dalek/std", "ed25519-dalek/std",
"finality-grandpa/std", "finality-grandpa/std",
@@ -33,4 +35,5 @@ std = [
"sp-core/std", "sp-core/std",
"sp-runtime/std", "sp-runtime/std",
"sp-std/std", "sp-std/std",
"sp-trie/std",
] ]
+9 -1
View File
@@ -35,10 +35,18 @@ std = [
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
"pallet-aura/std", "pallet-aura/std",
"pallet-timestamp/std",
"scale-info/std", "scale-info/std",
"sp-application-crypto/std", "sp-application-crypto/std",
"sp-consensus-aura/std", "sp-consensus-aura/std",
"sp-runtime/std", "sp-runtime/std",
"sp-std/std", "sp-std/std",
] ]
try-runtime = [ "frame-support/try-runtime" ] try-runtime = [
"cumulus-pallet-parachain-system/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-aura/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime",
]
+14 -1
View File
@@ -44,6 +44,10 @@ runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks", "frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks", "frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
] ]
std = [ std = [
"codec/std", "codec/std",
@@ -60,6 +64,15 @@ std = [
"sp-std/std", "sp-std/std",
] ]
try-runtime = [ "frame-support/try-runtime" ] try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-aura/try-runtime",
"pallet-authorship/try-runtime",
"pallet-balances/try-runtime",
"pallet-session/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime",
]
experimental = [ "pallet-aura/experimental" ] experimental = [ "pallet-aura/experimental" ]
+7 -1
View File
@@ -35,9 +35,15 @@ std = [
"frame-system/std", "frame-system/std",
"log/std", "log/std",
"scale-info/std", "scale-info/std",
"sp-core/std",
"sp-io/std", "sp-io/std",
"sp-runtime/std", "sp-runtime/std",
"sp-std/std", "sp-std/std",
"sp-version/std",
"xcm/std", "xcm/std",
] ]
try-runtime = [ "frame-support/try-runtime" ] try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime",
]
+13 -2
View File
@@ -62,9 +62,11 @@ std = [
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
"log/std", "log/std",
"polkadot-parachain/std",
"scale-info/std", "scale-info/std",
"sp-core/std", "sp-core/std",
"sp-externalities/std", "sp-externalities/std",
"sp-inherents/std",
"sp-io/std", "sp-io/std",
"sp-runtime/std", "sp-runtime/std",
"sp-state-machine/std", "sp-state-machine/std",
@@ -74,8 +76,17 @@ std = [
"xcm/std", "xcm/std",
] ]
runtime-benchmarks = [ "sp-runtime/runtime-benchmarks" ] runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"polkadot-parachain/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",
]
parameterized-consensus-hook = [] parameterized-consensus-hook = []
@@ -27,6 +27,7 @@ runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks", "frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks", "frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
] ]
std = [ std = [
"frame-benchmarking/std", "frame-benchmarking/std",
+7 -1
View File
@@ -35,4 +35,10 @@ std = [
"sp-runtime/std", "sp-runtime/std",
"sp-std/std", "sp-std/std",
] ]
try-runtime = [ "frame-support/try-runtime" ] try-runtime = [
"cumulus-pallet-parachain-system/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-sudo/try-runtime",
"sp-runtime/try-runtime",
]
+6 -1
View File
@@ -26,8 +26,13 @@ std = [
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
"scale-info/std", "scale-info/std",
"sp-io/std",
"sp-runtime/std", "sp-runtime/std",
"sp-std/std", "sp-std/std",
"xcm/std", "xcm/std",
] ]
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,6 +45,7 @@ default = [ "std" ]
std = [ std = [
"codec/std", "codec/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"frame-benchmarking?/std",
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
"log/std", "log/std",
@@ -58,9 +59,21 @@ std = [
] ]
runtime-benchmarks = [ runtime-benchmarks = [
"cumulus-pallet-parachain-system/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks", "frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks", "frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"polkadot-runtime-common/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
]
try-runtime = [
"cumulus-pallet-parachain-system/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"polkadot-runtime-common/try-runtime",
"sp-runtime/try-runtime",
] ]
try-runtime = [ "frame-support/try-runtime" ]
+10 -1
View File
@@ -75,10 +75,19 @@ substrate-build-script-utils = { path = "../../../substrate/utils/build-script-u
[features] [features]
default = [] default = []
runtime-benchmarks = [ runtime-benchmarks = [
"frame-benchmarking-cli/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"parachain-template-runtime/runtime-benchmarks", "parachain-template-runtime/runtime-benchmarks",
"polkadot-cli/runtime-benchmarks", "polkadot-cli/runtime-benchmarks",
"polkadot-primitives/runtime-benchmarks",
"sc-service/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"parachain-template-runtime/try-runtime",
"polkadot-cli/try-runtime",
"sp-runtime/try-runtime",
] ]
try-runtime = [ "parachain-template-runtime/try-runtime" ]
network-protocol-staging = [ network-protocol-staging = [
"cumulus-client-service/network-protocol-staging", "cumulus-client-service/network-protocol-staging",
"polkadot-cli/network-protocol-staging", "polkadot-cli/network-protocol-staging",
@@ -30,12 +30,24 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime", default-featur
[features] [features]
default = [ "std" ] 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 = [ std = [
"codec/std", "codec/std",
"frame-benchmarking/std", "frame-benchmarking/std",
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
"scale-info/std", "scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime",
] ]
try-runtime = [ "frame-support/try-runtime" ]
@@ -79,14 +79,18 @@ std = [
"cumulus-pallet-aura-ext/std", "cumulus-pallet-aura-ext/std",
"cumulus-pallet-dmp-queue/std", "cumulus-pallet-dmp-queue/std",
"cumulus-pallet-parachain-system/std", "cumulus-pallet-parachain-system/std",
"cumulus-pallet-session-benchmarking/std",
"cumulus-pallet-xcm/std", "cumulus-pallet-xcm/std",
"cumulus-pallet-xcmp-queue/std", "cumulus-pallet-xcmp-queue/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"cumulus-primitives-utility/std", "cumulus-primitives-utility/std",
"frame-benchmarking?/std",
"frame-executive/std", "frame-executive/std",
"frame-support/std", "frame-support/std",
"frame-system-benchmarking?/std",
"frame-system-rpc-runtime-api/std", "frame-system-rpc-runtime-api/std",
"frame-system/std", "frame-system/std",
"frame-try-runtime?/std",
"log/std", "log/std",
"pallet-aura/std", "pallet-aura/std",
"pallet-authorship/std", "pallet-authorship/std",
@@ -135,8 +139,11 @@ runtime-benchmarks = [
"pallet-sudo/runtime-benchmarks", "pallet-sudo/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-runtime-common/runtime-benchmarks",
"sp-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
@@ -146,6 +153,7 @@ try-runtime = [
"cumulus-pallet-xcm/try-runtime", "cumulus-pallet-xcm/try-runtime",
"cumulus-pallet-xcmp-queue/try-runtime", "cumulus-pallet-xcmp-queue/try-runtime",
"frame-executive/try-runtime", "frame-executive/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime", "frame-system/try-runtime",
"frame-try-runtime/try-runtime", "frame-try-runtime/try-runtime",
"pallet-aura/try-runtime", "pallet-aura/try-runtime",
@@ -159,6 +167,8 @@ try-runtime = [
"pallet-transaction-payment/try-runtime", "pallet-transaction-payment/try-runtime",
"pallet-xcm/try-runtime", "pallet-xcm/try-runtime",
"parachain-info/try-runtime", "parachain-info/try-runtime",
"polkadot-runtime-common/try-runtime",
"sp-runtime/try-runtime",
] ]
experimental = [ "pallet-aura/experimental" ] experimental = [ "pallet-aura/experimental" ]
+4
View File
@@ -53,14 +53,18 @@ std = [
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
"log/std", "log/std",
"pallet-asset-tx-payment/std",
"pallet-assets/std", "pallet-assets/std",
"pallet-authorship/std", "pallet-authorship/std",
"pallet-balances/std", "pallet-balances/std",
"pallet-collator-selection/std", "pallet-collator-selection/std",
"polkadot-primitives/std", "polkadot-primitives/std",
"sp-consensus-aura/std", "sp-consensus-aura/std",
"sp-core/std",
"sp-io/std", "sp-io/std",
"sp-runtime/std",
"sp-std/std", "sp-std/std",
"xcm-builder/std",
"xcm-executor/std", "xcm-executor/std",
"xcm/std", "xcm/std",
] ]
@@ -68,7 +68,34 @@ bridge-runtime-common = { path = "../../../../bridges/bin/runtime-common" }
[features] [features]
runtime-benchmarks = [ runtime-benchmarks = [
"asset-hub-kusama-runtime/runtime-benchmarks",
"asset-hub-polkadot-runtime/runtime-benchmarks",
"asset-hub-westend-runtime/runtime-benchmarks",
"bridge-hub-kusama-runtime/runtime-benchmarks",
"bridge-hub-polkadot-runtime/runtime-benchmarks",
"bridge-hub-rococo-runtime/runtime-benchmarks",
"bridge-runtime-common/runtime-benchmarks",
"collectives-polkadot-runtime/runtime-benchmarks",
"cumulus-pallet-parachain-system/runtime-benchmarks",
"cumulus-pallet-xcmp-queue/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"kusama-runtime/runtime-benchmarks", "kusama-runtime/runtime-benchmarks",
"pallet-assets/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-bridge-messages/runtime-benchmarks",
"pallet-im-online/runtime-benchmarks",
"pallet-message-queue/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks",
"penpal-runtime/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-primitives/runtime-benchmarks",
"polkadot-runtime-parachains/runtime-benchmarks",
"polkadot-runtime/runtime-benchmarks", "polkadot-runtime/runtime-benchmarks",
"polkadot-service/runtime-benchmarks",
"rococo-runtime/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"westend-runtime/runtime-benchmarks", "westend-runtime/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
@@ -25,5 +25,11 @@ std = [
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
"scale-info/std", "scale-info/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" ]
@@ -22,6 +22,7 @@ cumulus-pallet-xcm = { path = "../../../pallets/xcm", default-features = false }
default = [ "std" ] default = [ "std" ]
std = [ std = [
"codec/std", "codec/std",
"cumulus-pallet-xcm/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
@@ -118,8 +118,11 @@ runtime-benchmarks = [
"pallet-utility/runtime-benchmarks", "pallet-utility/runtime-benchmarks",
"pallet-xcm-benchmarks/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-runtime-common/runtime-benchmarks",
"sp-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
"cumulus-pallet-aura-ext/try-runtime", "cumulus-pallet-aura-ext/try-runtime",
@@ -128,6 +131,7 @@ try-runtime = [
"cumulus-pallet-xcm/try-runtime", "cumulus-pallet-xcm/try-runtime",
"cumulus-pallet-xcmp-queue/try-runtime", "cumulus-pallet-xcmp-queue/try-runtime",
"frame-executive/try-runtime", "frame-executive/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime", "frame-system/try-runtime",
"frame-try-runtime/try-runtime", "frame-try-runtime/try-runtime",
"pallet-asset-conversion-tx-payment/try-runtime", "pallet-asset-conversion-tx-payment/try-runtime",
@@ -149,6 +153,8 @@ try-runtime = [
"pallet-utility/try-runtime", "pallet-utility/try-runtime",
"pallet-xcm/try-runtime", "pallet-xcm/try-runtime",
"parachain-info/try-runtime", "parachain-info/try-runtime",
"polkadot-runtime-common/try-runtime",
"sp-runtime/try-runtime",
] ]
std = [ std = [
"assets-common/std", "assets-common/std",
@@ -156,14 +162,18 @@ std = [
"cumulus-pallet-aura-ext/std", "cumulus-pallet-aura-ext/std",
"cumulus-pallet-dmp-queue/std", "cumulus-pallet-dmp-queue/std",
"cumulus-pallet-parachain-system/std", "cumulus-pallet-parachain-system/std",
"cumulus-pallet-session-benchmarking/std",
"cumulus-pallet-xcm/std", "cumulus-pallet-xcm/std",
"cumulus-pallet-xcmp-queue/std", "cumulus-pallet-xcmp-queue/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"cumulus-primitives-utility/std", "cumulus-primitives-utility/std",
"frame-benchmarking?/std",
"frame-executive/std", "frame-executive/std",
"frame-support/std", "frame-support/std",
"frame-system-benchmarking?/std",
"frame-system-rpc-runtime-api/std", "frame-system-rpc-runtime-api/std",
"frame-system/std", "frame-system/std",
"frame-try-runtime?/std",
"kusama-runtime-constants/std", "kusama-runtime-constants/std",
"log/std", "log/std",
"pallet-asset-conversion-tx-payment/std", "pallet-asset-conversion-tx-payment/std",
@@ -185,6 +195,7 @@ std = [
"pallet-transaction-payment/std", "pallet-transaction-payment/std",
"pallet-uniques/std", "pallet-uniques/std",
"pallet-utility/std", "pallet-utility/std",
"pallet-xcm-benchmarks?/std",
"pallet-xcm/std", "pallet-xcm/std",
"parachain-info/std", "parachain-info/std",
"parachains-common/std", "parachains-common/std",
@@ -201,8 +212,10 @@ std = [
"sp-runtime/std", "sp-runtime/std",
"sp-session/std", "sp-session/std",
"sp-std/std", "sp-std/std",
"sp-storage/std",
"sp-transaction-pool/std", "sp-transaction-pool/std",
"sp-version/std", "sp-version/std",
"sp-weights/std",
"substrate-wasm-builder", "substrate-wasm-builder",
"xcm-builder/std", "xcm-builder/std",
"xcm-executor/std", "xcm-executor/std",
@@ -93,6 +93,7 @@ runtime-benchmarks = [
"frame-system-benchmarking/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks", "frame-system/runtime-benchmarks",
"hex-literal", "hex-literal",
"pallet-asset-tx-payment/runtime-benchmarks",
"pallet-assets/runtime-benchmarks", "pallet-assets/runtime-benchmarks",
"pallet-balances/runtime-benchmarks", "pallet-balances/runtime-benchmarks",
"pallet-collator-selection/runtime-benchmarks", "pallet-collator-selection/runtime-benchmarks",
@@ -104,8 +105,11 @@ runtime-benchmarks = [
"pallet-utility/runtime-benchmarks", "pallet-utility/runtime-benchmarks",
"pallet-xcm-benchmarks/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-runtime-common/runtime-benchmarks",
"sp-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
"cumulus-pallet-aura-ext/try-runtime", "cumulus-pallet-aura-ext/try-runtime",
@@ -114,6 +118,7 @@ try-runtime = [
"cumulus-pallet-xcm/try-runtime", "cumulus-pallet-xcm/try-runtime",
"cumulus-pallet-xcmp-queue/try-runtime", "cumulus-pallet-xcmp-queue/try-runtime",
"frame-executive/try-runtime", "frame-executive/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime", "frame-system/try-runtime",
"frame-try-runtime/try-runtime", "frame-try-runtime/try-runtime",
"pallet-asset-tx-payment/try-runtime", "pallet-asset-tx-payment/try-runtime",
@@ -132,6 +137,8 @@ try-runtime = [
"pallet-utility/try-runtime", "pallet-utility/try-runtime",
"pallet-xcm/try-runtime", "pallet-xcm/try-runtime",
"parachain-info/try-runtime", "parachain-info/try-runtime",
"polkadot-runtime-common/try-runtime",
"sp-runtime/try-runtime",
] ]
std = [ std = [
"assets-common/std", "assets-common/std",
@@ -139,14 +146,18 @@ std = [
"cumulus-pallet-aura-ext/std", "cumulus-pallet-aura-ext/std",
"cumulus-pallet-dmp-queue/std", "cumulus-pallet-dmp-queue/std",
"cumulus-pallet-parachain-system/std", "cumulus-pallet-parachain-system/std",
"cumulus-pallet-session-benchmarking/std",
"cumulus-pallet-xcm/std", "cumulus-pallet-xcm/std",
"cumulus-pallet-xcmp-queue/std", "cumulus-pallet-xcmp-queue/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"cumulus-primitives-utility/std", "cumulus-primitives-utility/std",
"frame-benchmarking?/std",
"frame-executive/std", "frame-executive/std",
"frame-support/std", "frame-support/std",
"frame-system-benchmarking?/std",
"frame-system-rpc-runtime-api/std", "frame-system-rpc-runtime-api/std",
"frame-system/std", "frame-system/std",
"frame-try-runtime?/std",
"log/std", "log/std",
"pallet-asset-tx-payment/std", "pallet-asset-tx-payment/std",
"pallet-assets/std", "pallet-assets/std",
@@ -164,6 +175,7 @@ std = [
"pallet-transaction-payment/std", "pallet-transaction-payment/std",
"pallet-uniques/std", "pallet-uniques/std",
"pallet-utility/std", "pallet-utility/std",
"pallet-xcm-benchmarks?/std",
"pallet-xcm/std", "pallet-xcm/std",
"parachain-info/std", "parachain-info/std",
"parachains-common/std", "parachains-common/std",
@@ -181,8 +193,10 @@ std = [
"sp-runtime/std", "sp-runtime/std",
"sp-session/std", "sp-session/std",
"sp-std/std", "sp-std/std",
"sp-storage/std",
"sp-transaction-pool/std", "sp-transaction-pool/std",
"sp-version/std", "sp-version/std",
"sp-weights/std",
"substrate-wasm-builder", "substrate-wasm-builder",
"xcm-builder/std", "xcm-builder/std",
"xcm-executor/std", "xcm-executor/std",
@@ -110,8 +110,11 @@ runtime-benchmarks = [
"pallet-utility/runtime-benchmarks", "pallet-utility/runtime-benchmarks",
"pallet-xcm-benchmarks/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-runtime-common/runtime-benchmarks",
"sp-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
"cumulus-pallet-aura-ext/try-runtime", "cumulus-pallet-aura-ext/try-runtime",
@@ -120,6 +123,7 @@ try-runtime = [
"cumulus-pallet-xcm/try-runtime", "cumulus-pallet-xcm/try-runtime",
"cumulus-pallet-xcmp-queue/try-runtime", "cumulus-pallet-xcmp-queue/try-runtime",
"frame-executive/try-runtime", "frame-executive/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime", "frame-system/try-runtime",
"frame-try-runtime/try-runtime", "frame-try-runtime/try-runtime",
"pallet-asset-conversion-tx-payment/try-runtime", "pallet-asset-conversion-tx-payment/try-runtime",
@@ -140,6 +144,8 @@ try-runtime = [
"pallet-utility/try-runtime", "pallet-utility/try-runtime",
"pallet-xcm/try-runtime", "pallet-xcm/try-runtime",
"parachain-info/try-runtime", "parachain-info/try-runtime",
"polkadot-runtime-common/try-runtime",
"sp-runtime/try-runtime",
] ]
std = [ std = [
"assets-common/std", "assets-common/std",
@@ -147,14 +153,18 @@ std = [
"cumulus-pallet-aura-ext/std", "cumulus-pallet-aura-ext/std",
"cumulus-pallet-dmp-queue/std", "cumulus-pallet-dmp-queue/std",
"cumulus-pallet-parachain-system/std", "cumulus-pallet-parachain-system/std",
"cumulus-pallet-session-benchmarking/std",
"cumulus-pallet-xcm/std", "cumulus-pallet-xcm/std",
"cumulus-pallet-xcmp-queue/std", "cumulus-pallet-xcmp-queue/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"cumulus-primitives-utility/std", "cumulus-primitives-utility/std",
"frame-benchmarking?/std",
"frame-executive/std", "frame-executive/std",
"frame-support/std", "frame-support/std",
"frame-system-benchmarking?/std",
"frame-system-rpc-runtime-api/std", "frame-system-rpc-runtime-api/std",
"frame-system/std", "frame-system/std",
"frame-try-runtime?/std",
"log/std", "log/std",
"pallet-asset-conversion-tx-payment/std", "pallet-asset-conversion-tx-payment/std",
"pallet-asset-conversion/std", "pallet-asset-conversion/std",
@@ -174,6 +184,7 @@ std = [
"pallet-transaction-payment/std", "pallet-transaction-payment/std",
"pallet-uniques/std", "pallet-uniques/std",
"pallet-utility/std", "pallet-utility/std",
"pallet-xcm-benchmarks?/std",
"pallet-xcm/std", "pallet-xcm/std",
"parachain-info/std", "parachain-info/std",
"parachains-common/std", "parachains-common/std",
@@ -190,6 +201,7 @@ std = [
"sp-runtime/std", "sp-runtime/std",
"sp-session/std", "sp-session/std",
"sp-std/std", "sp-std/std",
"sp-storage/std",
"sp-transaction-pool/std", "sp-transaction-pool/std",
"sp-version/std", "sp-version/std",
"substrate-wasm-builder", "substrate-wasm-builder",
@@ -53,6 +53,10 @@ std = [
runtime-benchmarks = [ runtime-benchmarks = [
"frame-support/runtime-benchmarks", "frame-support/runtime-benchmarks",
"pallet-asset-conversion/runtime-benchmarks",
"pallet-asset-tx-payment/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
@@ -51,7 +51,6 @@ std = [
"assets-common/std", "assets-common/std",
"cumulus-pallet-dmp-queue/std", "cumulus-pallet-dmp-queue/std",
"cumulus-pallet-parachain-system/std", "cumulus-pallet-parachain-system/std",
"cumulus-pallet-parachain-system/std",
"cumulus-pallet-xcmp-queue/std", "cumulus-pallet-xcmp-queue/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"cumulus-primitives-parachain-inherent/std", "cumulus-primitives-parachain-inherent/std",
@@ -68,6 +67,7 @@ std = [
"parachains-runtimes-test-utils/std", "parachains-runtimes-test-utils/std",
"polkadot-parachain/std", "polkadot-parachain/std",
"sp-consensus-aura/std", "sp-consensus-aura/std",
"sp-core/std",
"sp-io/std", "sp-io/std",
"sp-runtime/std", "sp-runtime/std",
"sp-std/std", "sp-std/std",
@@ -81,14 +81,18 @@ std = [
"cumulus-pallet-aura-ext/std", "cumulus-pallet-aura-ext/std",
"cumulus-pallet-dmp-queue/std", "cumulus-pallet-dmp-queue/std",
"cumulus-pallet-parachain-system/std", "cumulus-pallet-parachain-system/std",
"cumulus-pallet-session-benchmarking/std",
"cumulus-pallet-xcm/std", "cumulus-pallet-xcm/std",
"cumulus-pallet-xcmp-queue/std", "cumulus-pallet-xcmp-queue/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"cumulus-primitives-utility/std", "cumulus-primitives-utility/std",
"frame-benchmarking?/std",
"frame-executive/std", "frame-executive/std",
"frame-support/std", "frame-support/std",
"frame-system-benchmarking?/std",
"frame-system-rpc-runtime-api/std", "frame-system-rpc-runtime-api/std",
"frame-system/std", "frame-system/std",
"frame-try-runtime?/std",
"kusama-runtime-constants/std", "kusama-runtime-constants/std",
"log/std", "log/std",
"pallet-aura/std", "pallet-aura/std",
@@ -101,6 +105,7 @@ std = [
"pallet-transaction-payment-rpc-runtime-api/std", "pallet-transaction-payment-rpc-runtime-api/std",
"pallet-transaction-payment/std", "pallet-transaction-payment/std",
"pallet-utility/std", "pallet-utility/std",
"pallet-xcm-benchmarks?/std",
"pallet-xcm/std", "pallet-xcm/std",
"parachain-info/std", "parachain-info/std",
"parachains-common/std", "parachains-common/std",
@@ -119,6 +124,7 @@ std = [
"sp-runtime/std", "sp-runtime/std",
"sp-session/std", "sp-session/std",
"sp-std/std", "sp-std/std",
"sp-storage/std",
"sp-transaction-pool/std", "sp-transaction-pool/std",
"sp-version/std", "sp-version/std",
"substrate-wasm-builder", "substrate-wasm-builder",
@@ -142,8 +148,11 @@ runtime-benchmarks = [
"pallet-utility/runtime-benchmarks", "pallet-utility/runtime-benchmarks",
"pallet-xcm-benchmarks/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-runtime-common/runtime-benchmarks",
"sp-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
@@ -153,6 +162,7 @@ try-runtime = [
"cumulus-pallet-xcm/try-runtime", "cumulus-pallet-xcm/try-runtime",
"cumulus-pallet-xcmp-queue/try-runtime", "cumulus-pallet-xcmp-queue/try-runtime",
"frame-executive/try-runtime", "frame-executive/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime", "frame-system/try-runtime",
"frame-try-runtime/try-runtime", "frame-try-runtime/try-runtime",
"pallet-aura/try-runtime", "pallet-aura/try-runtime",
@@ -166,6 +176,8 @@ try-runtime = [
"pallet-utility/try-runtime", "pallet-utility/try-runtime",
"pallet-xcm/try-runtime", "pallet-xcm/try-runtime",
"parachain-info/try-runtime", "parachain-info/try-runtime",
"polkadot-runtime-common/try-runtime",
"sp-runtime/try-runtime",
] ]
experimental = [ "pallet-aura/experimental" ] experimental = [ "pallet-aura/experimental" ]
@@ -81,14 +81,18 @@ std = [
"cumulus-pallet-aura-ext/std", "cumulus-pallet-aura-ext/std",
"cumulus-pallet-dmp-queue/std", "cumulus-pallet-dmp-queue/std",
"cumulus-pallet-parachain-system/std", "cumulus-pallet-parachain-system/std",
"cumulus-pallet-session-benchmarking/std",
"cumulus-pallet-xcm/std", "cumulus-pallet-xcm/std",
"cumulus-pallet-xcmp-queue/std", "cumulus-pallet-xcmp-queue/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"cumulus-primitives-utility/std", "cumulus-primitives-utility/std",
"frame-benchmarking?/std",
"frame-executive/std", "frame-executive/std",
"frame-support/std", "frame-support/std",
"frame-system-benchmarking?/std",
"frame-system-rpc-runtime-api/std", "frame-system-rpc-runtime-api/std",
"frame-system/std", "frame-system/std",
"frame-try-runtime?/std",
"log/std", "log/std",
"pallet-aura/std", "pallet-aura/std",
"pallet-authorship/std", "pallet-authorship/std",
@@ -100,6 +104,7 @@ std = [
"pallet-transaction-payment-rpc-runtime-api/std", "pallet-transaction-payment-rpc-runtime-api/std",
"pallet-transaction-payment/std", "pallet-transaction-payment/std",
"pallet-utility/std", "pallet-utility/std",
"pallet-xcm-benchmarks?/std",
"pallet-xcm/std", "pallet-xcm/std",
"parachain-info/std", "parachain-info/std",
"parachains-common/std", "parachains-common/std",
@@ -119,6 +124,7 @@ std = [
"sp-runtime/std", "sp-runtime/std",
"sp-session/std", "sp-session/std",
"sp-std/std", "sp-std/std",
"sp-storage/std",
"sp-transaction-pool/std", "sp-transaction-pool/std",
"sp-version/std", "sp-version/std",
"substrate-wasm-builder", "substrate-wasm-builder",
@@ -142,8 +148,11 @@ runtime-benchmarks = [
"pallet-utility/runtime-benchmarks", "pallet-utility/runtime-benchmarks",
"pallet-xcm-benchmarks/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-runtime-common/runtime-benchmarks",
"sp-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
@@ -153,6 +162,7 @@ try-runtime = [
"cumulus-pallet-xcm/try-runtime", "cumulus-pallet-xcm/try-runtime",
"cumulus-pallet-xcmp-queue/try-runtime", "cumulus-pallet-xcmp-queue/try-runtime",
"frame-executive/try-runtime", "frame-executive/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime", "frame-system/try-runtime",
"frame-try-runtime/try-runtime", "frame-try-runtime/try-runtime",
"pallet-aura/try-runtime", "pallet-aura/try-runtime",
@@ -166,6 +176,8 @@ try-runtime = [
"pallet-utility/try-runtime", "pallet-utility/try-runtime",
"pallet-xcm/try-runtime", "pallet-xcm/try-runtime",
"parachain-info/try-runtime", "parachain-info/try-runtime",
"polkadot-runtime-common/try-runtime",
"sp-runtime/try-runtime",
] ]
experimental = [ "pallet-aura/experimental" ] experimental = [ "pallet-aura/experimental" ]
@@ -112,6 +112,7 @@ std = [
"cumulus-pallet-aura-ext/std", "cumulus-pallet-aura-ext/std",
"cumulus-pallet-dmp-queue/std", "cumulus-pallet-dmp-queue/std",
"cumulus-pallet-parachain-system/std", "cumulus-pallet-parachain-system/std",
"cumulus-pallet-session-benchmarking/std",
"cumulus-pallet-xcm/std", "cumulus-pallet-xcm/std",
"cumulus-pallet-xcmp-queue/std", "cumulus-pallet-xcmp-queue/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
@@ -119,8 +120,10 @@ std = [
"frame-benchmarking/std", "frame-benchmarking/std",
"frame-executive/std", "frame-executive/std",
"frame-support/std", "frame-support/std",
"frame-system-benchmarking?/std",
"frame-system-rpc-runtime-api/std", "frame-system-rpc-runtime-api/std",
"frame-system/std", "frame-system/std",
"frame-try-runtime?/std",
"log/std", "log/std",
"pallet-aura/std", "pallet-aura/std",
"pallet-authorship/std", "pallet-authorship/std",
@@ -136,6 +139,7 @@ std = [
"pallet-transaction-payment-rpc-runtime-api/std", "pallet-transaction-payment-rpc-runtime-api/std",
"pallet-transaction-payment/std", "pallet-transaction-payment/std",
"pallet-utility/std", "pallet-utility/std",
"pallet-xcm-benchmarks?/std",
"pallet-xcm/std", "pallet-xcm/std",
"parachain-info/std", "parachain-info/std",
"parachains-common/std", "parachains-common/std",
@@ -155,6 +159,7 @@ std = [
"sp-runtime/std", "sp-runtime/std",
"sp-session/std", "sp-session/std",
"sp-std/std", "sp-std/std",
"sp-storage/std",
"sp-transaction-pool/std", "sp-transaction-pool/std",
"sp-version/std", "sp-version/std",
"substrate-wasm-builder", "substrate-wasm-builder",
@@ -183,8 +188,11 @@ runtime-benchmarks = [
"pallet-utility/runtime-benchmarks", "pallet-utility/runtime-benchmarks",
"pallet-xcm-benchmarks/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-runtime-common/runtime-benchmarks",
"sp-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
@@ -194,6 +202,7 @@ try-runtime = [
"cumulus-pallet-xcm/try-runtime", "cumulus-pallet-xcm/try-runtime",
"cumulus-pallet-xcmp-queue/try-runtime", "cumulus-pallet-xcmp-queue/try-runtime",
"frame-executive/try-runtime", "frame-executive/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime", "frame-system/try-runtime",
"frame-try-runtime/try-runtime", "frame-try-runtime/try-runtime",
"pallet-aura/try-runtime", "pallet-aura/try-runtime",
@@ -211,6 +220,8 @@ try-runtime = [
"pallet-utility/try-runtime", "pallet-utility/try-runtime",
"pallet-xcm/try-runtime", "pallet-xcm/try-runtime",
"parachain-info/try-runtime", "parachain-info/try-runtime",
"polkadot-runtime-common/try-runtime",
"sp-runtime/try-runtime",
] ]
experimental = [ "pallet-aura/experimental" ] experimental = [ "pallet-aura/experimental" ]
@@ -84,8 +84,10 @@ std = [
"pallet-bridge-messages/std", "pallet-bridge-messages/std",
"pallet-bridge-parachains/std", "pallet-bridge-parachains/std",
"pallet-bridge-relayers/std", "pallet-bridge-relayers/std",
"pallet-collator-selection/std",
"pallet-session/std", "pallet-session/std",
"pallet-utility/std", "pallet-utility/std",
"pallet-xcm-benchmarks?/std",
"pallet-xcm/std", "pallet-xcm/std",
"parachain-info/std", "parachain-info/std",
"parachains-common/std", "parachains-common/std",
@@ -106,8 +106,11 @@ runtime-benchmarks = [
"pallet-timestamp/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks",
"pallet-utility/runtime-benchmarks", "pallet-utility/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-runtime-common/runtime-benchmarks",
"sp-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
"cumulus-pallet-aura-ext/try-runtime", "cumulus-pallet-aura-ext/try-runtime",
@@ -116,6 +119,7 @@ try-runtime = [
"cumulus-pallet-xcm/try-runtime", "cumulus-pallet-xcm/try-runtime",
"cumulus-pallet-xcmp-queue/try-runtime", "cumulus-pallet-xcmp-queue/try-runtime",
"frame-executive/try-runtime", "frame-executive/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime", "frame-system/try-runtime",
"frame-try-runtime/try-runtime", "frame-try-runtime/try-runtime",
"pallet-alliance/try-runtime", "pallet-alliance/try-runtime",
@@ -138,20 +142,26 @@ try-runtime = [
"pallet-utility/try-runtime", "pallet-utility/try-runtime",
"pallet-xcm/try-runtime", "pallet-xcm/try-runtime",
"parachain-info/try-runtime", "parachain-info/try-runtime",
"polkadot-runtime-common/try-runtime",
"sp-runtime/try-runtime",
] ]
std = [ std = [
"codec/std", "codec/std",
"cumulus-pallet-aura-ext/std", "cumulus-pallet-aura-ext/std",
"cumulus-pallet-dmp-queue/std", "cumulus-pallet-dmp-queue/std",
"cumulus-pallet-parachain-system/std", "cumulus-pallet-parachain-system/std",
"cumulus-pallet-session-benchmarking/std",
"cumulus-pallet-xcm/std", "cumulus-pallet-xcm/std",
"cumulus-pallet-xcmp-queue/std", "cumulus-pallet-xcmp-queue/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"cumulus-primitives-utility/std", "cumulus-primitives-utility/std",
"frame-benchmarking?/std",
"frame-executive/std", "frame-executive/std",
"frame-support/std", "frame-support/std",
"frame-system-benchmarking?/std",
"frame-system-rpc-runtime-api/std", "frame-system-rpc-runtime-api/std",
"frame-system/std", "frame-system/std",
"frame-try-runtime?/std",
"log/std", "log/std",
"pallet-alliance/std", "pallet-alliance/std",
"pallet-aura/std", "pallet-aura/std",
@@ -181,14 +191,17 @@ std = [
"polkadot-runtime-constants/std", "polkadot-runtime-constants/std",
"scale-info/std", "scale-info/std",
"sp-api/std", "sp-api/std",
"sp-arithmetic/std",
"sp-block-builder/std", "sp-block-builder/std",
"sp-consensus-aura/std", "sp-consensus-aura/std",
"sp-core/std", "sp-core/std",
"sp-inherents/std", "sp-inherents/std",
"sp-io/std",
"sp-offchain/std", "sp-offchain/std",
"sp-runtime/std", "sp-runtime/std",
"sp-session/std", "sp-session/std",
"sp-std/std", "sp-std/std",
"sp-storage/std",
"sp-transaction-pool/std", "sp-transaction-pool/std",
"sp-version/std", "sp-version/std",
"substrate-wasm-builder", "substrate-wasm-builder",
@@ -81,12 +81,15 @@ std = [
"cumulus-pallet-aura-ext/std", "cumulus-pallet-aura-ext/std",
"cumulus-pallet-dmp-queue/std", "cumulus-pallet-dmp-queue/std",
"cumulus-pallet-parachain-system/std", "cumulus-pallet-parachain-system/std",
"cumulus-pallet-session-benchmarking/std",
"cumulus-pallet-xcm/std", "cumulus-pallet-xcm/std",
"cumulus-pallet-xcmp-queue/std", "cumulus-pallet-xcmp-queue/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"cumulus-primitives-utility/std", "cumulus-primitives-utility/std",
"frame-benchmarking?/std",
"frame-executive/std", "frame-executive/std",
"frame-support/std", "frame-support/std",
"frame-system-benchmarking?/std",
"frame-system-rpc-runtime-api/std", "frame-system-rpc-runtime-api/std",
"frame-system/std", "frame-system/std",
"frame-try-runtime/std", "frame-try-runtime/std",
@@ -122,6 +125,7 @@ std = [
"sp-runtime/std", "sp-runtime/std",
"sp-session/std", "sp-session/std",
"sp-std/std", "sp-std/std",
"sp-storage/std",
"sp-transaction-pool/std", "sp-transaction-pool/std",
"sp-version/std", "sp-version/std",
"substrate-wasm-builder", "substrate-wasm-builder",
@@ -133,6 +137,7 @@ std = [
runtime-benchmarks = [ runtime-benchmarks = [
"cumulus-pallet-parachain-system/runtime-benchmarks", "cumulus-pallet-parachain-system/runtime-benchmarks",
"cumulus-pallet-session-benchmarking/runtime-benchmarks", "cumulus-pallet-session-benchmarking/runtime-benchmarks",
"cumulus-pallet-xcmp-queue/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks", "frame-support/runtime-benchmarks",
"frame-system-benchmarking/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks",
@@ -146,8 +151,11 @@ runtime-benchmarks = [
"pallet-timestamp/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks",
"pallet-utility/runtime-benchmarks", "pallet-utility/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-runtime-common/runtime-benchmarks",
"sp-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
@@ -157,6 +165,7 @@ try-runtime = [
"cumulus-pallet-xcm/try-runtime", "cumulus-pallet-xcm/try-runtime",
"cumulus-pallet-xcmp-queue/try-runtime", "cumulus-pallet-xcmp-queue/try-runtime",
"frame-executive/try-runtime", "frame-executive/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime", "frame-system/try-runtime",
"frame-try-runtime/try-runtime", "frame-try-runtime/try-runtime",
"pallet-aura/try-runtime", "pallet-aura/try-runtime",
@@ -173,6 +182,8 @@ try-runtime = [
"pallet-utility/try-runtime", "pallet-utility/try-runtime",
"pallet-xcm/try-runtime", "pallet-xcm/try-runtime",
"parachain-info/try-runtime", "parachain-info/try-runtime",
"polkadot-runtime-common/try-runtime",
"sp-runtime/try-runtime",
] ]
experimental = [ "pallet-aura/experimental" ] experimental = [ "pallet-aura/experimental" ]
@@ -54,17 +54,23 @@ runtime-benchmarks = [
"frame-system-benchmarking/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks", "frame-system/runtime-benchmarks",
"pallet-glutton/runtime-benchmarks", "pallet-glutton/runtime-benchmarks",
"pallet-sudo?/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
std = [ std = [
"codec/std", "codec/std",
"cumulus-pallet-parachain-system/std", "cumulus-pallet-parachain-system/std",
"cumulus-pallet-xcm/std", "cumulus-pallet-xcm/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"frame-benchmarking?/std",
"frame-executive/std", "frame-executive/std",
"frame-support/std", "frame-support/std",
"frame-system-benchmarking?/std",
"frame-system-rpc-runtime-api/std", "frame-system-rpc-runtime-api/std",
"frame-system/std", "frame-system/std",
"frame-try-runtime?/std",
"pallet-glutton/std", "pallet-glutton/std",
"pallet-sudo/std", "pallet-sudo/std",
"parachain-info/std", "parachain-info/std",
@@ -78,6 +84,7 @@ std = [
"sp-runtime/std", "sp-runtime/std",
"sp-session/std", "sp-session/std",
"sp-std/std", "sp-std/std",
"sp-storage/std",
"sp-transaction-pool/std", "sp-transaction-pool/std",
"sp-version/std", "sp-version/std",
"xcm-builder/std", "xcm-builder/std",
@@ -85,8 +92,14 @@ std = [
"xcm/std", "xcm/std",
] ]
try-runtime = [ try-runtime = [
"cumulus-pallet-parachain-system/try-runtime",
"cumulus-pallet-xcm/try-runtime",
"frame-executive/try-runtime", "frame-executive/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"frame-try-runtime/try-runtime", "frame-try-runtime/try-runtime",
"pallet-glutton/try-runtime", "pallet-glutton/try-runtime",
"pallet-sudo/try-runtime", "pallet-sudo/try-runtime",
"parachain-info/try-runtime",
"sp-runtime/try-runtime",
] ]
@@ -49,6 +49,7 @@ std = [
"frame-executive/std", "frame-executive/std",
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
"frame-try-runtime?/std",
"parachain-info/std", "parachain-info/std",
"parachains-common/std", "parachains-common/std",
"scale-info/std", "scale-info/std",
@@ -67,4 +68,13 @@ std = [
"xcm-executor/std", "xcm-executor/std",
"xcm/std", "xcm/std",
] ]
try-runtime = [ "frame-executive/try-runtime", "frame-try-runtime/try-runtime" ] try-runtime = [
"cumulus-pallet-parachain-system/try-runtime",
"cumulus-pallet-xcm/try-runtime",
"frame-executive/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"frame-try-runtime/try-runtime",
"parachain-info/try-runtime",
"sp-runtime/try-runtime",
]
@@ -51,7 +51,6 @@ std = [
"assets-common/std", "assets-common/std",
"cumulus-pallet-dmp-queue/std", "cumulus-pallet-dmp-queue/std",
"cumulus-pallet-parachain-system/std", "cumulus-pallet-parachain-system/std",
"cumulus-pallet-parachain-system/std",
"cumulus-pallet-xcmp-queue/std", "cumulus-pallet-xcmp-queue/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"cumulus-primitives-parachain-inherent/std", "cumulus-primitives-parachain-inherent/std",
@@ -67,6 +66,7 @@ std = [
"parachains-common/std", "parachains-common/std",
"polkadot-parachain/std", "polkadot-parachain/std",
"sp-consensus-aura/std", "sp-consensus-aura/std",
"sp-core/std",
"sp-io/std", "sp-io/std",
"sp-runtime/std", "sp-runtime/std",
"sp-std/std", "sp-std/std",
@@ -81,14 +81,18 @@ std = [
"cumulus-pallet-aura-ext/std", "cumulus-pallet-aura-ext/std",
"cumulus-pallet-dmp-queue/std", "cumulus-pallet-dmp-queue/std",
"cumulus-pallet-parachain-system/std", "cumulus-pallet-parachain-system/std",
"cumulus-pallet-session-benchmarking/std",
"cumulus-pallet-xcm/std", "cumulus-pallet-xcm/std",
"cumulus-pallet-xcmp-queue/std", "cumulus-pallet-xcmp-queue/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"cumulus-primitives-utility/std", "cumulus-primitives-utility/std",
"frame-benchmarking?/std",
"frame-executive/std", "frame-executive/std",
"frame-support/std", "frame-support/std",
"frame-system-benchmarking?/std",
"frame-system-rpc-runtime-api/std", "frame-system-rpc-runtime-api/std",
"frame-system/std", "frame-system/std",
"frame-try-runtime?/std",
"log/std", "log/std",
"pallet-asset-tx-payment/std", "pallet-asset-tx-payment/std",
"pallet-assets/std", "pallet-assets/std",
@@ -117,6 +121,7 @@ std = [
"sp-runtime/std", "sp-runtime/std",
"sp-session/std", "sp-session/std",
"sp-std/std", "sp-std/std",
"sp-storage/std",
"sp-transaction-pool/std", "sp-transaction-pool/std",
"sp-version/std", "sp-version/std",
"substrate-wasm-builder", "substrate-wasm-builder",
@@ -126,6 +131,7 @@ std = [
] ]
runtime-benchmarks = [ runtime-benchmarks = [
"cumulus-pallet-parachain-system/runtime-benchmarks",
"cumulus-pallet-session-benchmarking/runtime-benchmarks", "cumulus-pallet-session-benchmarking/runtime-benchmarks",
"cumulus-pallet-xcmp-queue/runtime-benchmarks", "cumulus-pallet-xcmp-queue/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks",
@@ -133,14 +139,19 @@ runtime-benchmarks = [
"frame-system-benchmarking/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks", "frame-system/runtime-benchmarks",
"hex-literal", "hex-literal",
"pallet-asset-tx-payment/runtime-benchmarks",
"pallet-assets/runtime-benchmarks", "pallet-assets/runtime-benchmarks",
"pallet-balances/runtime-benchmarks", "pallet-balances/runtime-benchmarks",
"pallet-collator-selection/runtime-benchmarks", "pallet-collator-selection/runtime-benchmarks",
"pallet-sudo/runtime-benchmarks", "pallet-sudo/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-primitives/runtime-benchmarks",
"polkadot-runtime-common/runtime-benchmarks",
"sp-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
@@ -150,6 +161,7 @@ try-runtime = [
"cumulus-pallet-xcm/try-runtime", "cumulus-pallet-xcm/try-runtime",
"cumulus-pallet-xcmp-queue/try-runtime", "cumulus-pallet-xcmp-queue/try-runtime",
"frame-executive/try-runtime", "frame-executive/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime", "frame-system/try-runtime",
"frame-try-runtime/try-runtime", "frame-try-runtime/try-runtime",
"pallet-asset-tx-payment/try-runtime", "pallet-asset-tx-payment/try-runtime",
@@ -164,6 +176,8 @@ try-runtime = [
"pallet-transaction-payment/try-runtime", "pallet-transaction-payment/try-runtime",
"pallet-xcm/try-runtime", "pallet-xcm/try-runtime",
"parachain-info/try-runtime", "parachain-info/try-runtime",
"polkadot-runtime-common/try-runtime",
"sp-runtime/try-runtime",
] ]
experimental = [ "pallet-aura/experimental" ] experimental = [ "pallet-aura/experimental" ]
@@ -68,6 +68,7 @@ std = [
"cumulus-ping/std", "cumulus-ping/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"cumulus-primitives-utility/std", "cumulus-primitives-utility/std",
"frame-benchmarking?/std",
"frame-executive/std", "frame-executive/std",
"frame-support/std", "frame-support/std",
"frame-system-rpc-runtime-api/std", "frame-system-rpc-runtime-api/std",
@@ -82,6 +83,7 @@ std = [
"pallet-xcm/std", "pallet-xcm/std",
"parachain-info/std", "parachain-info/std",
"parachains-common/std", "parachains-common/std",
"polkadot-parachain/std",
"scale-info/std", "scale-info/std",
"sp-api/std", "sp-api/std",
"sp-block-builder/std", "sp-block-builder/std",
@@ -100,10 +102,20 @@ std = [
"xcm/std", "xcm/std",
] ]
runtime-benchmarks = [ runtime-benchmarks = [
"cumulus-pallet-parachain-system/runtime-benchmarks",
"cumulus-pallet-xcmp-queue/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-assets/runtime-benchmarks", "pallet-assets/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-sudo/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
experimental = [ "pallet-aura/experimental" ] experimental = [ "pallet-aura/experimental" ]
+17 -1
View File
@@ -113,14 +113,30 @@ runtime-benchmarks = [
"bridge-hub-rococo-runtime/runtime-benchmarks", "bridge-hub-rococo-runtime/runtime-benchmarks",
"collectives-polkadot-runtime/runtime-benchmarks", "collectives-polkadot-runtime/runtime-benchmarks",
"contracts-rococo-runtime/runtime-benchmarks", "contracts-rococo-runtime/runtime-benchmarks",
"contracts-rococo-runtime/runtime-benchmarks", "frame-benchmarking-cli/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"glutton-runtime/runtime-benchmarks",
"penpal-runtime/runtime-benchmarks", "penpal-runtime/runtime-benchmarks",
"polkadot-cli/runtime-benchmarks",
"polkadot-primitives/runtime-benchmarks",
"polkadot-service/runtime-benchmarks", "polkadot-service/runtime-benchmarks",
"rococo-parachain-runtime/runtime-benchmarks", "rococo-parachain-runtime/runtime-benchmarks",
"sc-service/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
"asset-hub-kusama-runtime/try-runtime", "asset-hub-kusama-runtime/try-runtime",
"asset-hub-polkadot-runtime/try-runtime", "asset-hub-polkadot-runtime/try-runtime",
"asset-hub-westend-runtime/try-runtime", "asset-hub-westend-runtime/try-runtime",
"bridge-hub-kusama-runtime/try-runtime",
"bridge-hub-polkadot-runtime/try-runtime",
"bridge-hub-rococo-runtime/try-runtime",
"collectives-polkadot-runtime/try-runtime",
"contracts-rococo-runtime/try-runtime",
"glutton-runtime/try-runtime",
"penpal-runtime/try-runtime",
"polkadot-cli/try-runtime",
"polkadot-service/try-runtime",
"shell-runtime/try-runtime", "shell-runtime/try-runtime",
"sp-runtime/try-runtime",
] ]
+1
View File
@@ -32,4 +32,5 @@ std = [
"sp-runtime/std", "sp-runtime/std",
"sp-std/std", "sp-std/std",
"sp-trie/std", "sp-trie/std",
"xcm/std",
] ]
@@ -24,6 +24,7 @@ default = [ "std" ]
std = [ std = [
"codec/std", "codec/std",
"cumulus-primitives-core/std", "cumulus-primitives-core/std",
"polkadot-primitives/std",
"sp-runtime/std", "sp-runtime/std",
"sp-state-machine/std", "sp-state-machine/std",
"sp-std/std", "sp-std/std",
-1
View File
@@ -49,7 +49,6 @@ std = [
"frame-system/std", "frame-system/std",
"pallet-balances/std", "pallet-balances/std",
"pallet-glutton/std", "pallet-glutton/std",
"pallet-glutton/std",
"pallet-sudo/std", "pallet-sudo/std",
"pallet-timestamp/std", "pallet-timestamp/std",
"pallet-transaction-payment/std", "pallet-transaction-payment/std",
+13 -1
View File
@@ -96,7 +96,19 @@ sc-cli = { path = "../../../substrate/client/cli" }
substrate-test-utils = { path = "../../../substrate/test-utils" } substrate-test-utils = { path = "../../../substrate/test-utils" }
[features] [features]
runtime-benchmarks = [ "polkadot-test-service/runtime-benchmarks" ] runtime-benchmarks = [
"cumulus-pallet-parachain-system/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-im-online/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"polkadot-cli/runtime-benchmarks",
"polkadot-primitives/runtime-benchmarks",
"polkadot-service/runtime-benchmarks",
"polkadot-test-service/runtime-benchmarks",
"rococo-parachain-runtime/runtime-benchmarks",
"sc-service/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
[[bench]] [[bench]]
name = "transaction_throughput" name = "transaction_throughput"
+2
View File
@@ -55,8 +55,10 @@ cli = [
"try-runtime-cli", "try-runtime-cli",
] ]
runtime-benchmarks = [ runtime-benchmarks = [
"frame-benchmarking-cli?/runtime-benchmarks",
"polkadot-node-metrics/runtime-benchmarks", "polkadot-node-metrics/runtime-benchmarks",
"polkadot-performance-test?/runtime-benchmarks", "polkadot-performance-test?/runtime-benchmarks",
"sc-service?/runtime-benchmarks",
"service/runtime-benchmarks", "service/runtime-benchmarks",
] ]
full-node = [ "service/full-node" ] full-node = [ "service/full-node" ]
-1
View File
@@ -17,7 +17,6 @@ default = [ "std" ]
std = [ std = [
"parity-scale-codec/std", "parity-scale-codec/std",
"scale-info/std", "scale-info/std",
"scale-info/std",
"sp-core/std", "sp-core/std",
"sp-runtime/std", "sp-runtime/std",
"sp-std/std", "sp-std/std",
+5 -1
View File
@@ -38,4 +38,8 @@ prometheus-parse = {version = "0.2.2"}
[features] [features]
default = [] default = []
runtime-metrics = [] runtime-metrics = []
runtime-benchmarks = [] runtime-benchmarks = [
"polkadot-test-service/runtime-benchmarks",
"primitives/runtime-benchmarks",
"sc-service/runtime-benchmarks",
]
+23
View File
@@ -192,16 +192,39 @@ westend-native = [ "westend-runtime", "westend-runtime-constants" ]
rococo-native = [ "rococo-runtime", "rococo-runtime-constants" ] rococo-native = [ "rococo-runtime", "rococo-runtime-constants" ]
runtime-benchmarks = [ runtime-benchmarks = [
"frame-benchmarking-cli/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"kusama-runtime?/runtime-benchmarks", "kusama-runtime?/runtime-benchmarks",
"pallet-babe/runtime-benchmarks",
"pallet-im-online/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-primitives/runtime-benchmarks",
"polkadot-runtime-common/runtime-benchmarks",
"polkadot-runtime-parachains/runtime-benchmarks",
"polkadot-runtime?/runtime-benchmarks", "polkadot-runtime?/runtime-benchmarks",
"polkadot-test-client/runtime-benchmarks",
"rococo-runtime?/runtime-benchmarks", "rococo-runtime?/runtime-benchmarks",
"sc-client-db/runtime-benchmarks",
"service/runtime-benchmarks", "service/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"westend-runtime?/runtime-benchmarks", "westend-runtime?/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"kusama-runtime?/try-runtime", "kusama-runtime?/try-runtime",
"pallet-babe/try-runtime",
"pallet-im-online/try-runtime",
"pallet-staking/try-runtime",
"pallet-transaction-payment/try-runtime",
"polkadot-runtime-common/try-runtime",
"polkadot-runtime-parachains/try-runtime",
"polkadot-runtime?/try-runtime", "polkadot-runtime?/try-runtime",
"rococo-runtime?/try-runtime", "rococo-runtime?/try-runtime",
"sp-runtime/try-runtime",
"westend-runtime?/try-runtime", "westend-runtime?/try-runtime",
] ]
fast-runtime = [ fast-runtime = [
+8 -1
View File
@@ -38,4 +38,11 @@ sp-keyring = { path = "../../../../substrate/primitives/keyring" }
futures = "0.3.21" futures = "0.3.21"
[features] [features]
runtime-benchmarks=[ "polkadot-test-runtime/runtime-benchmarks" ] runtime-benchmarks= [
"frame-benchmarking/runtime-benchmarks",
"polkadot-primitives/runtime-benchmarks",
"polkadot-test-runtime/runtime-benchmarks",
"polkadot-test-service/runtime-benchmarks",
"sc-service/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
@@ -27,4 +27,7 @@ name = "gen-ref-constants"
path = "src/gen_ref_constants.rs" path = "src/gen_ref_constants.rs"
[features] [features]
runtime-benchmarks = [ "kusama-runtime/runtime-benchmarks" ] runtime-benchmarks = [
"kusama-runtime/runtime-benchmarks",
"polkadot-primitives/runtime-benchmarks",
]
+9
View File
@@ -65,6 +65,15 @@ tokio = { version = "1.24.2", features = ["macros"] }
[features] [features]
runtime-metrics=[ "polkadot-test-runtime/runtime-metrics" ] runtime-metrics=[ "polkadot-test-runtime/runtime-metrics" ]
runtime-benchmarks= [ runtime-benchmarks= [
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-primitives/runtime-benchmarks",
"polkadot-runtime-common/runtime-benchmarks",
"polkadot-runtime-parachains/runtime-benchmarks",
"polkadot-service/runtime-benchmarks", "polkadot-service/runtime-benchmarks",
"polkadot-test-runtime/runtime-benchmarks", "polkadot-test-runtime/runtime-benchmarks",
"sc-service/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
] ]
+4 -1
View File
@@ -37,4 +37,7 @@ std = [
"sp-runtime/std", "sp-runtime/std",
"sp-std/std", "sp-std/std",
] ]
runtime-benchmarks = [] runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
@@ -23,4 +23,4 @@ substrate-wasm-builder = { path = "../../../../substrate/utils/wasm-builder" }
[features] [features]
default = [ "std" ] default = [ "std" ]
std = [ "parachain/std", "sp-std/std" ] std = [ "parachain/std", "sp-io/std", "sp-std/std" ]
@@ -24,4 +24,4 @@ substrate-wasm-builder = { path = "../../../../substrate/utils/wasm-builder" }
[features] [features]
default = [ "std" ] default = [ "std" ]
std = [ "parachain/std", "sp-std/std" ] std = [ "parachain/std", "sp-io/std", "sp-std/std" ]
+5 -1
View File
@@ -50,4 +50,8 @@ std = [
"sp-staking/std", "sp-staking/std",
"sp-std/std", "sp-std/std",
] ]
runtime-benchmarks = [] runtime-benchmarks = [
"polkadot-parachain/runtime-benchmarks",
"runtime_primitives/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
]
+19
View File
@@ -68,6 +68,8 @@ experimental = [ "frame-support/experimental" ]
no_std = [] no_std = []
std = [ std = [
"bitvec/std", "bitvec/std",
"frame-benchmarking?/std",
"frame-election-provider-support/std",
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
"inherents/std", "inherents/std",
@@ -103,17 +105,33 @@ std = [
] ]
runtime-benchmarks = [ runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"frame-support/runtime-benchmarks", "frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks", "frame-system/runtime-benchmarks",
"libsecp256k1/hmac", "libsecp256k1/hmac",
"libsecp256k1/static-context", "libsecp256k1/static-context",
"pallet-babe/runtime-benchmarks", "pallet-babe/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-election-provider-multi-phase/runtime-benchmarks",
"pallet-fast-unstake/runtime-benchmarks", "pallet-fast-unstake/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"pallet-treasury/runtime-benchmarks",
"pallet-vesting/runtime-benchmarks",
"primitives/runtime-benchmarks",
"runtime-parachains/runtime-benchmarks", "runtime-parachains/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
"frame-election-provider-support/try-runtime",
"frame-support-test/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-authorship/try-runtime", "pallet-authorship/try-runtime",
"pallet-babe?/try-runtime",
"pallet-balances/try-runtime", "pallet-balances/try-runtime",
"pallet-election-provider-multi-phase/try-runtime",
"pallet-fast-unstake/try-runtime", "pallet-fast-unstake/try-runtime",
"pallet-session/try-runtime", "pallet-session/try-runtime",
"pallet-staking/try-runtime", "pallet-staking/try-runtime",
@@ -122,4 +140,5 @@ try-runtime = [
"pallet-treasury/try-runtime", "pallet-treasury/try-runtime",
"pallet-vesting/try-runtime", "pallet-vesting/try-runtime",
"runtime-parachains/try-runtime", "runtime-parachains/try-runtime",
"sp-runtime/try-runtime",
] ]
+21
View File
@@ -132,11 +132,14 @@ std = [
"authority-discovery-primitives/std", "authority-discovery-primitives/std",
"babe-primitives/std", "babe-primitives/std",
"beefy-primitives/std", "beefy-primitives/std",
"binary-merkle-tree/std",
"bitvec/std", "bitvec/std",
"block-builder-api/std", "block-builder-api/std",
"frame-benchmarking?/std",
"frame-election-provider-support/std", "frame-election-provider-support/std",
"frame-executive/std", "frame-executive/std",
"frame-support/std", "frame-support/std",
"frame-system-benchmarking?/std",
"frame-system-rpc-runtime-api/std", "frame-system-rpc-runtime-api/std",
"frame-system/std", "frame-system/std",
"frame-try-runtime/std", "frame-try-runtime/std",
@@ -157,6 +160,7 @@ std = [
"pallet-conviction-voting/std", "pallet-conviction-voting/std",
"pallet-democracy/std", "pallet-democracy/std",
"pallet-election-provider-multi-phase/std", "pallet-election-provider-multi-phase/std",
"pallet-election-provider-support-benchmarking?/std",
"pallet-elections-phragmen/std", "pallet-elections-phragmen/std",
"pallet-fast-unstake/std", "pallet-fast-unstake/std",
"pallet-grandpa/std", "pallet-grandpa/std",
@@ -168,8 +172,10 @@ std = [
"pallet-mmr/std", "pallet-mmr/std",
"pallet-multisig/std", "pallet-multisig/std",
"pallet-nis/std", "pallet-nis/std",
"pallet-nomination-pools-benchmarking?/std",
"pallet-nomination-pools-runtime-api/std", "pallet-nomination-pools-runtime-api/std",
"pallet-nomination-pools/std", "pallet-nomination-pools/std",
"pallet-offences-benchmarking?/std",
"pallet-offences/std", "pallet-offences/std",
"pallet-preimage/std", "pallet-preimage/std",
"pallet-proxy/std", "pallet-proxy/std",
@@ -177,6 +183,7 @@ std = [
"pallet-recovery/std", "pallet-recovery/std",
"pallet-referenda/std", "pallet-referenda/std",
"pallet-scheduler/std", "pallet-scheduler/std",
"pallet-session-benchmarking?/std",
"pallet-session/std", "pallet-session/std",
"pallet-society/std", "pallet-society/std",
"pallet-staking-runtime-api/std", "pallet-staking-runtime-api/std",
@@ -190,6 +197,7 @@ std = [
"pallet-utility/std", "pallet-utility/std",
"pallet-vesting/std", "pallet-vesting/std",
"pallet-whitelist/std", "pallet-whitelist/std",
"pallet-xcm-benchmarks?/std",
"pallet-xcm/std", "pallet-xcm/std",
"parity-scale-codec/std", "parity-scale-codec/std",
"primitives/std", "primitives/std",
@@ -210,6 +218,8 @@ std = [
"sp-session/std", "sp-session/std",
"sp-staking/std", "sp-staking/std",
"sp-std/std", "sp-std/std",
"sp-storage/std",
"sp-tracing/std",
"sp-version/std", "sp-version/std",
"tx-pool-api/std", "tx-pool-api/std",
"xcm-builder/std", "xcm-builder/std",
@@ -240,11 +250,13 @@ runtime-benchmarks = [
"pallet-indices/runtime-benchmarks", "pallet-indices/runtime-benchmarks",
"pallet-membership/runtime-benchmarks", "pallet-membership/runtime-benchmarks",
"pallet-message-queue/runtime-benchmarks", "pallet-message-queue/runtime-benchmarks",
"pallet-mmr/runtime-benchmarks",
"pallet-multisig/runtime-benchmarks", "pallet-multisig/runtime-benchmarks",
"pallet-nis/runtime-benchmarks", "pallet-nis/runtime-benchmarks",
"pallet-nomination-pools-benchmarking/runtime-benchmarks", "pallet-nomination-pools-benchmarking/runtime-benchmarks",
"pallet-nomination-pools/runtime-benchmarks", "pallet-nomination-pools/runtime-benchmarks",
"pallet-offences-benchmarking/runtime-benchmarks", "pallet-offences-benchmarking/runtime-benchmarks",
"pallet-offences/runtime-benchmarks",
"pallet-preimage/runtime-benchmarks", "pallet-preimage/runtime-benchmarks",
"pallet-proxy/runtime-benchmarks", "pallet-proxy/runtime-benchmarks",
"pallet-ranked-collective/runtime-benchmarks", "pallet-ranked-collective/runtime-benchmarks",
@@ -254,6 +266,7 @@ runtime-benchmarks = [
"pallet-session-benchmarking/runtime-benchmarks", "pallet-session-benchmarking/runtime-benchmarks",
"pallet-society/runtime-benchmarks", "pallet-society/runtime-benchmarks",
"pallet-staking/runtime-benchmarks", "pallet-staking/runtime-benchmarks",
"pallet-state-trie-migration/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks",
"pallet-tips/runtime-benchmarks", "pallet-tips/runtime-benchmarks",
"pallet-treasury/runtime-benchmarks", "pallet-treasury/runtime-benchmarks",
@@ -262,15 +275,21 @@ runtime-benchmarks = [
"pallet-whitelist/runtime-benchmarks", "pallet-whitelist/runtime-benchmarks",
"pallet-xcm-benchmarks/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"primitives/runtime-benchmarks",
"runtime-common/runtime-benchmarks", "runtime-common/runtime-benchmarks",
"runtime-parachains/runtime-benchmarks", "runtime-parachains/runtime-benchmarks",
"sp-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
"frame-election-provider-support/try-runtime",
"frame-executive/try-runtime", "frame-executive/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime", "frame-system/try-runtime",
"frame-try-runtime", "frame-try-runtime",
"frame-try-runtime/try-runtime",
"pallet-authority-discovery/try-runtime", "pallet-authority-discovery/try-runtime",
"pallet-authorship/try-runtime", "pallet-authorship/try-runtime",
"pallet-babe/try-runtime", "pallet-babe/try-runtime",
@@ -316,6 +335,8 @@ try-runtime = [
"pallet-whitelist/try-runtime", "pallet-whitelist/try-runtime",
"pallet-xcm/try-runtime", "pallet-xcm/try-runtime",
"runtime-common/try-runtime", "runtime-common/try-runtime",
"runtime-parachains/try-runtime",
"sp-runtime/try-runtime",
] ]
# When enabled, the runtime API will not be build. # When enabled, the runtime API will not be build.
# #
+1
View File
@@ -18,6 +18,7 @@ bs58 = { version = "0.4.0", default-features = false, features = ["alloc"] }
default = [ "std" ] default = [ "std" ]
std = [ std = [
"bs58/std", "bs58/std",
"frame-benchmarking?/std",
"parity-scale-codec/std", "parity-scale-codec/std",
"primitives/std", "primitives/std",
"sp-std/std", "sp-std/std",
+10
View File
@@ -67,6 +67,7 @@ default = [ "std" ]
no_std = [] no_std = []
std = [ std = [
"bitvec/std", "bitvec/std",
"frame-benchmarking?/std",
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
"inherents/std", "inherents/std",
@@ -81,12 +82,14 @@ std = [
"pallet-timestamp/std", "pallet-timestamp/std",
"pallet-vesting/std", "pallet-vesting/std",
"parity-scale-codec/std", "parity-scale-codec/std",
"polkadot-parachain/std",
"polkadot-runtime-metrics/std", "polkadot-runtime-metrics/std",
"primitives/std", "primitives/std",
"rustc-hex/std", "rustc-hex/std",
"scale-info/std", "scale-info/std",
"serde/std", "serde/std",
"sp-api/std", "sp-api/std",
"sp-application-crypto?/std",
"sp-core/std", "sp-core/std",
"sp-io/std", "sp-io/std",
"sp-keystore", "sp-keystore",
@@ -107,12 +110,18 @@ runtime-benchmarks = [
"pallet-staking/runtime-benchmarks", "pallet-staking/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks",
"pallet-vesting/runtime-benchmarks", "pallet-vesting/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"primitives/runtime-benchmarks", "primitives/runtime-benchmarks",
"sp-application-crypto", "sp-application-crypto",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
"static_assertions", "static_assertions",
"xcm-executor/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
"frame-support-test/try-runtime",
"frame-support/try-runtime", "frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-authority-discovery/try-runtime", "pallet-authority-discovery/try-runtime",
"pallet-authorship/try-runtime", "pallet-authorship/try-runtime",
"pallet-babe/try-runtime", "pallet-babe/try-runtime",
@@ -122,6 +131,7 @@ try-runtime = [
"pallet-staking/try-runtime", "pallet-staking/try-runtime",
"pallet-timestamp/try-runtime", "pallet-timestamp/try-runtime",
"pallet-vesting/try-runtime", "pallet-vesting/try-runtime",
"sp-runtime/try-runtime",
] ]
runtime-metrics = [ runtime-metrics = [
"polkadot-runtime-metrics/runtime-metrics", "polkadot-runtime-metrics/runtime-metrics",
+20 -1
View File
@@ -126,9 +126,11 @@ std = [
"beefy-primitives/std", "beefy-primitives/std",
"bitvec/std", "bitvec/std",
"block-builder-api/std", "block-builder-api/std",
"frame-benchmarking?/std",
"frame-election-provider-support/std", "frame-election-provider-support/std",
"frame-executive/std", "frame-executive/std",
"frame-support/std", "frame-support/std",
"frame-system-benchmarking?/std",
"frame-system-rpc-runtime-api/std", "frame-system-rpc-runtime-api/std",
"frame-system/std", "frame-system/std",
"frame-try-runtime/std", "frame-try-runtime/std",
@@ -146,6 +148,7 @@ std = [
"pallet-conviction-voting/std", "pallet-conviction-voting/std",
"pallet-democracy/std", "pallet-democracy/std",
"pallet-election-provider-multi-phase/std", "pallet-election-provider-multi-phase/std",
"pallet-election-provider-support-benchmarking?/std",
"pallet-elections-phragmen/std", "pallet-elections-phragmen/std",
"pallet-fast-unstake/std", "pallet-fast-unstake/std",
"pallet-grandpa/std", "pallet-grandpa/std",
@@ -155,13 +158,16 @@ std = [
"pallet-membership/std", "pallet-membership/std",
"pallet-message-queue/std", "pallet-message-queue/std",
"pallet-multisig/std", "pallet-multisig/std",
"pallet-nomination-pools-benchmarking?/std",
"pallet-nomination-pools-runtime-api/std", "pallet-nomination-pools-runtime-api/std",
"pallet-nomination-pools/std", "pallet-nomination-pools/std",
"pallet-offences-benchmarking?/std",
"pallet-offences/std", "pallet-offences/std",
"pallet-preimage/std", "pallet-preimage/std",
"pallet-proxy/std", "pallet-proxy/std",
"pallet-referenda/std", "pallet-referenda/std",
"pallet-scheduler/std", "pallet-scheduler/std",
"pallet-session-benchmarking?/std",
"pallet-session/std", "pallet-session/std",
"pallet-staking-runtime-api/std", "pallet-staking-runtime-api/std",
"pallet-staking/std", "pallet-staking/std",
@@ -173,25 +179,29 @@ std = [
"pallet-utility/std", "pallet-utility/std",
"pallet-vesting/std", "pallet-vesting/std",
"pallet-whitelist/std", "pallet-whitelist/std",
"pallet-xcm-benchmarks?/std",
"pallet-xcm/std", "pallet-xcm/std",
"parity-scale-codec/std", "parity-scale-codec/std",
"polkadot-runtime-constants/std", "polkadot-runtime-constants/std",
"primitives/std", "primitives/std",
"runtime-common/std", "runtime-common/std",
"runtime-parachains/std",
"rustc-hex/std", "rustc-hex/std",
"scale-info/std", "scale-info/std",
"serde/std", "serde/std",
"serde_derive", "serde_derive",
"sp-api/std", "sp-api/std",
"sp-arithmetic/std", "sp-arithmetic/std",
"sp-arithmetic/std",
"sp-core/std", "sp-core/std",
"sp-io/std",
"sp-mmr-primitives/std", "sp-mmr-primitives/std",
"sp-npos-elections/std", "sp-npos-elections/std",
"sp-runtime/std", "sp-runtime/std",
"sp-session/std", "sp-session/std",
"sp-staking/std", "sp-staking/std",
"sp-std/std", "sp-std/std",
"sp-storage/std",
"sp-tracing/std",
"sp-version/std", "sp-version/std",
"tx-pool-api/std", "tx-pool-api/std",
"xcm-builder/std", "xcm-builder/std",
@@ -227,6 +237,7 @@ runtime-benchmarks = [
"pallet-nomination-pools-benchmarking/runtime-benchmarks", "pallet-nomination-pools-benchmarking/runtime-benchmarks",
"pallet-nomination-pools/runtime-benchmarks", "pallet-nomination-pools/runtime-benchmarks",
"pallet-offences-benchmarking/runtime-benchmarks", "pallet-offences-benchmarking/runtime-benchmarks",
"pallet-offences/runtime-benchmarks",
"pallet-preimage/runtime-benchmarks", "pallet-preimage/runtime-benchmarks",
"pallet-proxy/runtime-benchmarks", "pallet-proxy/runtime-benchmarks",
"pallet-referenda/runtime-benchmarks", "pallet-referenda/runtime-benchmarks",
@@ -241,15 +252,21 @@ runtime-benchmarks = [
"pallet-whitelist/runtime-benchmarks", "pallet-whitelist/runtime-benchmarks",
"pallet-xcm-benchmarks/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"primitives/runtime-benchmarks",
"runtime-common/runtime-benchmarks", "runtime-common/runtime-benchmarks",
"runtime-parachains/runtime-benchmarks", "runtime-parachains/runtime-benchmarks",
"sp-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
"frame-election-provider-support/try-runtime",
"frame-executive/try-runtime", "frame-executive/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime", "frame-system/try-runtime",
"frame-try-runtime", "frame-try-runtime",
"frame-try-runtime/try-runtime",
"pallet-authority-discovery/try-runtime", "pallet-authority-discovery/try-runtime",
"pallet-authorship/try-runtime", "pallet-authorship/try-runtime",
"pallet-babe/try-runtime", "pallet-babe/try-runtime",
@@ -287,6 +304,8 @@ try-runtime = [
"pallet-whitelist/try-runtime", "pallet-whitelist/try-runtime",
"pallet-xcm/try-runtime", "pallet-xcm/try-runtime",
"runtime-common/try-runtime", "runtime-common/try-runtime",
"runtime-parachains/try-runtime",
"sp-runtime/try-runtime",
] ]
# When enabled, the runtime API will not be build. # When enabled, the runtime API will not be build.
# #
+16 -1
View File
@@ -113,9 +113,12 @@ std = [
"authority-discovery-primitives/std", "authority-discovery-primitives/std",
"babe-primitives/std", "babe-primitives/std",
"beefy-primitives/std", "beefy-primitives/std",
"binary-merkle-tree/std",
"block-builder-api/std", "block-builder-api/std",
"frame-benchmarking?/std",
"frame-executive/std", "frame-executive/std",
"frame-support/std", "frame-support/std",
"frame-system-benchmarking?/std",
"frame-system-rpc-runtime-api/std", "frame-system-rpc-runtime-api/std",
"frame-system/std", "frame-system/std",
"frame-try-runtime/std", "frame-try-runtime/std",
@@ -159,6 +162,7 @@ std = [
"pallet-treasury/std", "pallet-treasury/std",
"pallet-utility/std", "pallet-utility/std",
"pallet-vesting/std", "pallet-vesting/std",
"pallet-xcm-benchmarks?/std",
"pallet-xcm/std", "pallet-xcm/std",
"parity-scale-codec/std", "parity-scale-codec/std",
"polkadot-parachain/std", "polkadot-parachain/std",
@@ -177,6 +181,8 @@ std = [
"sp-session/std", "sp-session/std",
"sp-staking/std", "sp-staking/std",
"sp-std/std", "sp-std/std",
"sp-storage/std",
"sp-tracing/std",
"sp-version/std", "sp-version/std",
"tx-pool-api/std", "tx-pool-api/std",
"xcm-builder/std", "xcm-builder/std",
@@ -188,7 +194,6 @@ runtime-benchmarks = [
"frame-support/runtime-benchmarks", "frame-support/runtime-benchmarks",
"frame-system-benchmarking/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks", "frame-system/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-babe/runtime-benchmarks", "pallet-babe/runtime-benchmarks",
"pallet-balances/runtime-benchmarks", "pallet-balances/runtime-benchmarks",
"pallet-bounties/runtime-benchmarks", "pallet-bounties/runtime-benchmarks",
@@ -202,14 +207,17 @@ runtime-benchmarks = [
"pallet-indices/runtime-benchmarks", "pallet-indices/runtime-benchmarks",
"pallet-membership/runtime-benchmarks", "pallet-membership/runtime-benchmarks",
"pallet-message-queue/runtime-benchmarks", "pallet-message-queue/runtime-benchmarks",
"pallet-mmr/runtime-benchmarks",
"pallet-multisig/runtime-benchmarks", "pallet-multisig/runtime-benchmarks",
"pallet-nis/runtime-benchmarks", "pallet-nis/runtime-benchmarks",
"pallet-offences/runtime-benchmarks",
"pallet-preimage/runtime-benchmarks", "pallet-preimage/runtime-benchmarks",
"pallet-proxy/runtime-benchmarks", "pallet-proxy/runtime-benchmarks",
"pallet-recovery/runtime-benchmarks", "pallet-recovery/runtime-benchmarks",
"pallet-scheduler/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks",
"pallet-society/runtime-benchmarks", "pallet-society/runtime-benchmarks",
"pallet-staking/runtime-benchmarks", "pallet-staking/runtime-benchmarks",
"pallet-state-trie-migration/runtime-benchmarks",
"pallet-sudo/runtime-benchmarks", "pallet-sudo/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks",
"pallet-tips/runtime-benchmarks", "pallet-tips/runtime-benchmarks",
@@ -218,15 +226,21 @@ runtime-benchmarks = [
"pallet-vesting/runtime-benchmarks", "pallet-vesting/runtime-benchmarks",
"pallet-xcm-benchmarks/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"primitives/runtime-benchmarks",
"runtime-common/runtime-benchmarks", "runtime-common/runtime-benchmarks",
"runtime-parachains/runtime-benchmarks", "runtime-parachains/runtime-benchmarks",
"sp-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
"frame-executive/try-runtime", "frame-executive/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime", "frame-system/try-runtime",
"frame-try-runtime", "frame-try-runtime",
"frame-try-runtime/try-runtime",
"pallet-authority-discovery/try-runtime", "pallet-authority-discovery/try-runtime",
"pallet-authorship/try-runtime", "pallet-authorship/try-runtime",
"pallet-babe/try-runtime", "pallet-babe/try-runtime",
@@ -266,6 +280,7 @@ try-runtime = [
"pallet-xcm/try-runtime", "pallet-xcm/try-runtime",
"runtime-common/try-runtime", "runtime-common/try-runtime",
"runtime-parachains/try-runtime", "runtime-parachains/try-runtime",
"sp-runtime/try-runtime",
] ]
# When enabled, the runtime API will not be build. # When enabled, the runtime API will not be build.
# #
+21
View File
@@ -115,6 +115,7 @@ std = [
"pallet-xcm/std", "pallet-xcm/std",
"parity-scale-codec/std", "parity-scale-codec/std",
"polkadot-parachain/std", "polkadot-parachain/std",
"polkadot-runtime-parachains/std",
"primitives/std", "primitives/std",
"runtime-common/std", "runtime-common/std",
"rustc-hex/std", "rustc-hex/std",
@@ -124,6 +125,7 @@ std = [
"sp-api/std", "sp-api/std",
"sp-core/std", "sp-core/std",
"sp-io/std", "sp-io/std",
"sp-mmr-primitives/std",
"sp-runtime/std", "sp-runtime/std",
"sp-session/std", "sp-session/std",
"sp-staking/std", "sp-staking/std",
@@ -137,6 +139,25 @@ std = [
] ]
runtime-benchmarks = [ 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-indices/runtime-benchmarks",
"pallet-offences/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
"pallet-sudo/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"pallet-vesting/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-runtime-parachains/runtime-benchmarks",
"primitives/runtime-benchmarks",
"runtime-common/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
+23
View File
@@ -124,11 +124,14 @@ std = [
"authority-discovery-primitives/std", "authority-discovery-primitives/std",
"babe-primitives/std", "babe-primitives/std",
"beefy-primitives/std", "beefy-primitives/std",
"binary-merkle-tree/std",
"bitvec/std", "bitvec/std",
"block-builder-api/std", "block-builder-api/std",
"frame-benchmarking?/std",
"frame-election-provider-support/std", "frame-election-provider-support/std",
"frame-executive/std", "frame-executive/std",
"frame-support/std", "frame-support/std",
"frame-system-benchmarking?/std",
"frame-system-rpc-runtime-api/std", "frame-system-rpc-runtime-api/std",
"frame-system/std", "frame-system/std",
"frame-try-runtime/std", "frame-try-runtime/std",
@@ -145,6 +148,7 @@ std = [
"pallet-collective/std", "pallet-collective/std",
"pallet-democracy/std", "pallet-democracy/std",
"pallet-election-provider-multi-phase/std", "pallet-election-provider-multi-phase/std",
"pallet-election-provider-support-benchmarking?/std",
"pallet-elections-phragmen/std", "pallet-elections-phragmen/std",
"pallet-fast-unstake/std", "pallet-fast-unstake/std",
"pallet-grandpa/std", "pallet-grandpa/std",
@@ -155,13 +159,16 @@ std = [
"pallet-message-queue/std", "pallet-message-queue/std",
"pallet-mmr/std", "pallet-mmr/std",
"pallet-multisig/std", "pallet-multisig/std",
"pallet-nomination-pools-benchmarking?/std",
"pallet-nomination-pools-runtime-api/std", "pallet-nomination-pools-runtime-api/std",
"pallet-nomination-pools/std", "pallet-nomination-pools/std",
"pallet-offences-benchmarking?/std",
"pallet-offences/std", "pallet-offences/std",
"pallet-preimage/std", "pallet-preimage/std",
"pallet-proxy/std", "pallet-proxy/std",
"pallet-recovery/std", "pallet-recovery/std",
"pallet-scheduler/std", "pallet-scheduler/std",
"pallet-session-benchmarking?/std",
"pallet-session/std", "pallet-session/std",
"pallet-society/std", "pallet-society/std",
"pallet-staking-runtime-api/std", "pallet-staking-runtime-api/std",
@@ -174,6 +181,7 @@ std = [
"pallet-treasury/std", "pallet-treasury/std",
"pallet-utility/std", "pallet-utility/std",
"pallet-vesting/std", "pallet-vesting/std",
"pallet-xcm-benchmarks?/std",
"pallet-xcm/std", "pallet-xcm/std",
"parity-scale-codec/std", "parity-scale-codec/std",
"polkadot-parachain/std", "polkadot-parachain/std",
@@ -194,6 +202,8 @@ std = [
"sp-session/std", "sp-session/std",
"sp-staking/std", "sp-staking/std",
"sp-std/std", "sp-std/std",
"sp-storage/std",
"sp-tracing/std",
"sp-version/std", "sp-version/std",
"tx-pool-api/std", "tx-pool-api/std",
"westend-runtime-constants/std", "westend-runtime-constants/std",
@@ -223,9 +233,12 @@ runtime-benchmarks = [
"pallet-indices/runtime-benchmarks", "pallet-indices/runtime-benchmarks",
"pallet-membership/runtime-benchmarks", "pallet-membership/runtime-benchmarks",
"pallet-message-queue/runtime-benchmarks", "pallet-message-queue/runtime-benchmarks",
"pallet-mmr/runtime-benchmarks",
"pallet-multisig/runtime-benchmarks", "pallet-multisig/runtime-benchmarks",
"pallet-nomination-pools-benchmarking/runtime-benchmarks", "pallet-nomination-pools-benchmarking/runtime-benchmarks",
"pallet-nomination-pools/runtime-benchmarks",
"pallet-offences-benchmarking/runtime-benchmarks", "pallet-offences-benchmarking/runtime-benchmarks",
"pallet-offences/runtime-benchmarks",
"pallet-preimage/runtime-benchmarks", "pallet-preimage/runtime-benchmarks",
"pallet-proxy/runtime-benchmarks", "pallet-proxy/runtime-benchmarks",
"pallet-recovery/runtime-benchmarks", "pallet-recovery/runtime-benchmarks",
@@ -233,6 +246,7 @@ runtime-benchmarks = [
"pallet-session-benchmarking/runtime-benchmarks", "pallet-session-benchmarking/runtime-benchmarks",
"pallet-society/runtime-benchmarks", "pallet-society/runtime-benchmarks",
"pallet-staking/runtime-benchmarks", "pallet-staking/runtime-benchmarks",
"pallet-state-trie-migration/runtime-benchmarks",
"pallet-sudo/runtime-benchmarks", "pallet-sudo/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks",
"pallet-treasury/runtime-benchmarks", "pallet-treasury/runtime-benchmarks",
@@ -240,15 +254,22 @@ runtime-benchmarks = [
"pallet-vesting/runtime-benchmarks", "pallet-vesting/runtime-benchmarks",
"pallet-xcm-benchmarks/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"primitives/runtime-benchmarks",
"runtime-common/runtime-benchmarks", "runtime-common/runtime-benchmarks",
"runtime-parachains/runtime-benchmarks", "runtime-parachains/runtime-benchmarks",
"sp-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
try-runtime = [ try-runtime = [
"frame-election-provider-support/try-runtime",
"frame-executive/try-runtime", "frame-executive/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime", "frame-system/try-runtime",
"frame-try-runtime", "frame-try-runtime",
"frame-try-runtime/try-runtime",
"pallet-authority-discovery/try-runtime", "pallet-authority-discovery/try-runtime",
"pallet-authorship/try-runtime", "pallet-authorship/try-runtime",
"pallet-babe/try-runtime", "pallet-babe/try-runtime",
@@ -287,6 +308,8 @@ try-runtime = [
"pallet-vesting/try-runtime", "pallet-vesting/try-runtime",
"pallet-xcm/try-runtime", "pallet-xcm/try-runtime",
"runtime-common/try-runtime", "runtime-common/try-runtime",
"runtime-parachains/try-runtime",
"sp-runtime/try-runtime",
] ]
# When enabled, the runtime API will not be build. # When enabled, the runtime API will not be build.
# #
@@ -51,7 +51,12 @@ runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks", "frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks", "frame-system/runtime-benchmarks",
"pallet-assets/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"polkadot-primitives/runtime-benchmarks",
"polkadot-runtime-common/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks", "xcm-executor/runtime-benchmarks",
] ]
+12 -1
View File
@@ -53,6 +53,17 @@ runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks", "frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks", "frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-runtime-parachains/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"polkadot-runtime-parachains/try-runtime",
"sp-runtime/try-runtime",
] ]
try-runtime = [ "frame-support/try-runtime" ]
+8
View File
@@ -42,6 +42,14 @@ runtime-benchmarks = [
"frame-support/runtime-benchmarks", "frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks", "frame-system/runtime-benchmarks",
"pallet-assets/runtime-benchmarks", "pallet-assets/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-salary/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-runtime-parachains/runtime-benchmarks",
"polkadot-test-runtime/runtime-benchmarks",
"primitives/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"xcm-executor/runtime-benchmarks", "xcm-executor/runtime-benchmarks",
] ]
std = [ std = [
+5 -1
View File
@@ -23,7 +23,11 @@ frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-f
[features] [features]
default = [ "std" ] default = [ "std" ]
runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks" ] runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
std = [ std = [
"frame-benchmarking/std", "frame-benchmarking/std",
"frame-support/std", "frame-support/std",
@@ -42,6 +42,7 @@ runtime-benchmarks = [
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks", "polkadot-parachain/runtime-benchmarks",
"polkadot-runtime-parachains/runtime-benchmarks", "polkadot-runtime-parachains/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks", "xcm-executor/runtime-benchmarks",
] ]
@@ -33,9 +33,15 @@ polkadot-parachain = { path = "../../../parachain" }
[features] [features]
runtime-benchmarks = [ runtime-benchmarks = [
"frame-support/runtime-benchmarks", "frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-message-queue/runtime-benchmarks", "pallet-message-queue/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks", "pallet-xcm/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-runtime-parachains/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
] ]
[[bin]] [[bin]]
@@ -64,7 +64,6 @@ std = [
"frame-system-benchmarking?/std", "frame-system-benchmarking?/std",
"frame-system-rpc-runtime-api/std", "frame-system-rpc-runtime-api/std",
"frame-system/std", "frame-system/std",
"frame-try-runtime/std",
"frame-try-runtime?/std", "frame-try-runtime?/std",
"pallet-aura/std", "pallet-aura/std",
"pallet-balances/std", "pallet-balances/std",
@@ -51,7 +51,6 @@ std = [
runtime-benchmarks = [ runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks", "frame-support/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks", "frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks", "pallet-balances/runtime-benchmarks",
"pallet-scheduler/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks",
@@ -56,7 +56,6 @@ std = [
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
"log/std", "log/std",
"log/std",
"pallet-balances/std", "pallet-balances/std",
"pallet-election-provider-support-benchmarking?/std", "pallet-election-provider-support-benchmarking?/std",
"rand/std", "rand/std",
-1
View File
@@ -51,7 +51,6 @@ std = [
"sp-core/std", "sp-core/std",
"sp-io/std", "sp-io/std",
"sp-runtime/std", "sp-runtime/std",
"sp-runtime/std",
"sp-std/std", "sp-std/std",
] ]
runtime-benchmarks = [ runtime-benchmarks = [
@@ -64,7 +64,7 @@ cargo-fmt-manifest:
- .docker-env - .docker-env
- .test-refs - .test-refs
script: script:
- cargo install zepter --locked --version 0.10.0 -q -f --no-default-features && zepter --version - cargo install zepter --locked --version 0.11.1 -q -f --no-default-features && zepter --version
- echo "👉 Hello developer! If you see this CI check failing then it means that one of the your changes in a Cargo.toml file introduced ill-formatted or unsorted features. Please take a look at 'docs/STYLE_GUIDE.md#manifest-formatting' to find out more." - echo "👉 Hello developer! If you see this CI check failing then it means that one of the your changes in a Cargo.toml file introduced ill-formatted or unsorted features. Please take a look at 'docs/STYLE_GUIDE.md#manifest-formatting' to find out more."
- zepter format features --check - zepter format features --check
allow_failure: true # Experimental allow_failure: true # Experimental