Skip to content

Commit

Permalink
Merge branch 'mak-testing-bench' of https://github.com/paritytech-stg…
Browse files Browse the repository at this point in the history
…/runtimes into mak-testing-bench
  • Loading branch information
mordamax committed Jul 23, 2024
2 parents cb504f8 + 2e385f8 commit 298817e
Show file tree
Hide file tree
Showing 14 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion chain-spec-generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ runtime-benchmarks = [
"coretime-kusama-runtime/runtime-benchmarks",
"cumulus-primitives-core/runtime-benchmarks",
"encointer-kusama-runtime/runtime-benchmarks",
"encointer-kusama-runtime/runtime-benchmarks",
"glutton-kusama-runtime/runtime-benchmarks",
"kusama-runtime/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
Expand All @@ -62,5 +63,4 @@ runtime-benchmarks = [
"polkadot-runtime/runtime-benchmarks",
"runtime-parachains/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"encointer-kusama-runtime/runtime-benchmarks"
]
2 changes: 1 addition & 1 deletion integration-tests/zombienet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"

[dependencies]
subxt = { features = ["native"] , workspace = true }
subxt = { features = ["native"], workspace = true }
tokio = { workspace = true }
tracing-subscriber = { workspace = true }
zombienet-sdk = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions relay/kusama/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ std = [
"polkadot-runtime-common/std",
"runtime-parachains/std",
"scale-info/std",
"substrate-wasm-builder",
"sp-api/std",
"sp-application-crypto/std",
"sp-arithmetic/std",
Expand All @@ -205,6 +204,7 @@ std = [
"sp-tracing/std",
"sp-transaction-pool/std",
"sp-version/std",
"substrate-wasm-builder",
"xcm-builder/std",
"xcm-executor/std",
"xcm/std",
Expand Down Expand Up @@ -314,7 +314,7 @@ metadata-hash = ["substrate-wasm-builder?/metadata-hash"]
# A feature that should be enabled when the runtime should be built for on-chain
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
# to make it smaller, like logging for example.
on-chain-release-build = ["sp-api/disable-logging", "metadata-hash"]
on-chain-release-build = ["metadata-hash", "sp-api/disable-logging"]

# Set timing constants (e.g. session period) to faster versions to speed up testing.
fast-runtime = []
Expand Down
4 changes: 2 additions & 2 deletions relay/polkadot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ std = [
"polkadot-runtime-constants/std",
"runtime-parachains/std",
"scale-info/std",
"substrate-wasm-builder",
"sp-api/std",
"sp-application-crypto/std",
"sp-arithmetic/std",
Expand All @@ -202,6 +201,7 @@ std = [
"sp-tracing/std",
"sp-transaction-pool/std",
"sp-version/std",
"substrate-wasm-builder",
"xcm-builder/std",
"xcm-executor/std",
"xcm/std",
Expand Down Expand Up @@ -307,7 +307,7 @@ metadata-hash = ["substrate-wasm-builder?/metadata-hash"]
# A feature that should be enabled when the runtime should be built for on-chain
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
# to make it smaller, like logging for example.
on-chain-release-build = ["sp-api/disable-logging", "metadata-hash"]
on-chain-release-build = ["metadata-hash", "sp-api/disable-logging"]

# Set timing constants (e.g. session period) to faster versions to speed up testing.
fast-runtime = []
Expand Down
2 changes: 1 addition & 1 deletion system-parachains/asset-hubs/asset-hub-kusama/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -280,4 +280,4 @@ metadata-hash = ["substrate-wasm-builder?/metadata-hash"]
# A feature that should be enabled when the runtime should be built for on-chain
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
# to make it smaller, like logging for example.
on-chain-release-build = ["sp-api/disable-logging", "metadata-hash"]
on-chain-release-build = ["metadata-hash", "sp-api/disable-logging"]
2 changes: 1 addition & 1 deletion system-parachains/asset-hubs/asset-hub-polkadot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -262,4 +262,4 @@ metadata-hash = ["substrate-wasm-builder?/metadata-hash"]
# A feature that should be enabled when the runtime should be built for on-chain
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
# to make it smaller, like logging for example.
on-chain-release-build = ["sp-api/disable-logging", "metadata-hash"]
on-chain-release-build = ["metadata-hash", "sp-api/disable-logging"]
6 changes: 3 additions & 3 deletions system-parachains/bridge-hubs/bridge-hub-kusama/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ std = [
"bp-kusama/std",
"bp-messages/std",
"bp-parachains/std",
"bp-polkadot-bulletin/std",
"bp-polkadot-core/std",
"bp-polkadot/std",
"bp-relayers/std",
Expand Down Expand Up @@ -217,11 +218,10 @@ std = [
"sp-version/std",
"substrate-wasm-builder",
"system-parachains-constants/std",
"tuplex/std",
"xcm-builder/std",
"xcm-executor/std",
"xcm/std",
"bp-polkadot-bulletin/std",
"tuplex/std"
]

runtime-benchmarks = [
Expand Down Expand Up @@ -307,4 +307,4 @@ metadata-hash = ["substrate-wasm-builder?/metadata-hash"]
# A feature that should be enabled when the runtime should be built for on-chain
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
# to make it smaller, like logging for example.
on-chain-release-build = ["sp-api/disable-logging", "metadata-hash"]
on-chain-release-build = ["metadata-hash", "sp-api/disable-logging"]
6 changes: 3 additions & 3 deletions system-parachains/bridge-hubs/bridge-hub-polkadot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ std = [
"bp-kusama/std",
"bp-messages/std",
"bp-parachains/std",
"bp-polkadot-bulletin/std",
"bp-polkadot-core/std",
"bp-polkadot/std",
"bp-relayers/std",
Expand Down Expand Up @@ -213,11 +214,10 @@ std = [
"sp-version/std",
"substrate-wasm-builder",
"system-parachains-constants/std",
"tuplex/std",
"xcm-builder/std",
"xcm-executor/std",
"xcm/std",
"bp-polkadot-bulletin/std",
"tuplex/std"
]

runtime-benchmarks = [
Expand Down Expand Up @@ -301,4 +301,4 @@ metadata-hash = ["substrate-wasm-builder?/metadata-hash"]
# A feature that should be enabled when the runtime should be built for on-chain
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
# to make it smaller, like logging for example.
on-chain-release-build = ["sp-api/disable-logging", "metadata-hash"]
on-chain-release-build = ["metadata-hash", "sp-api/disable-logging"]
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ default = ["std"]
std = [
"bp-bridge-hub-cumulus/std",
"bp-messages/std",
"bp-polkadot-bulletin/std",
"bp-runtime/std",
"frame-support/std",
"kusama-runtime-constants/std",
Expand All @@ -45,5 +46,4 @@ std = [
"sp-std/std",
"system-parachains-constants/std",
"xcm/std",
"bp-polkadot-bulletin/std"
]
Original file line number Diff line number Diff line change
Expand Up @@ -237,4 +237,4 @@ metadata-hash = ["substrate-wasm-builder?/metadata-hash"]
# A feature that should be enabled when the runtime should be built for on-chain
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
# to make it smaller, like logging for example.
on-chain-release-build = ["sp-api/disable-logging", "metadata-hash"]
on-chain-release-build = ["metadata-hash", "sp-api/disable-logging"]
2 changes: 1 addition & 1 deletion system-parachains/coretime/coretime-kusama/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -212,4 +212,4 @@ metadata-hash = ["substrate-wasm-builder?/metadata-hash"]
# A feature that should be enabled when the runtime should be built for on-chain
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
# to make it smaller, like logging for example.
on-chain-release-build = ["sp-api/disable-logging", "metadata-hash"]
on-chain-release-build = ["metadata-hash", "sp-api/disable-logging"]
2 changes: 1 addition & 1 deletion system-parachains/encointer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -272,4 +272,4 @@ metadata-hash = ["substrate-wasm-builder?/metadata-hash"]
# A feature that should be enabled when the runtime should be built for on-chain
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
# to make it smaller, like logging for example.
on-chain-release-build = ["sp-api/disable-logging", "metadata-hash"]
on-chain-release-build = ["metadata-hash", "sp-api/disable-logging"]
8 changes: 4 additions & 4 deletions system-parachains/people/people-kusama/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ std = [
"cumulus-pallet-xcmp-queue/std",
"cumulus-primitives-aura/std",
"cumulus-primitives-core/std",
"cumulus-primitives-utility/std",
"cumulus-primitives-storage-weight-reclaim/std",
"cumulus-primitives-utility/std",
"enumflags2/std",
"frame-benchmarking?/std",
"frame-executive/std",
Expand Down Expand Up @@ -122,6 +122,7 @@ std = [
"parachain-info/std",
"parachains-common/std",
"polkadot-parachain-primitives/std",
"polkadot-primitives/std",
"polkadot-runtime-common/std",
"scale-info/std",
"serde",
Expand All @@ -143,7 +144,6 @@ std = [
"xcm-builder/std",
"xcm-executor/std",
"xcm/std",
"polkadot-primitives/std"
]

runtime-benchmarks = [
Expand All @@ -168,11 +168,11 @@ runtime-benchmarks = [
"pallet-xcm/runtime-benchmarks",
"parachains-common/runtime-benchmarks",
"polkadot-parachain-primitives/runtime-benchmarks",
"polkadot-primitives/runtime-benchmarks",
"polkadot-runtime-common/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"polkadot-primitives/runtime-benchmarks"
]

try-runtime = [
Expand Down Expand Up @@ -208,4 +208,4 @@ metadata-hash = ["substrate-wasm-builder/metadata-hash"]
# A feature that should be enabled when the runtime should be built for on-chain
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
# to make it smaller, like logging for example.
on-chain-release-build = ["sp-api/disable-logging", "metadata-hash"]
on-chain-release-build = ["metadata-hash", "sp-api/disable-logging"]
4 changes: 2 additions & 2 deletions system-parachains/people/people-polkadot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ std = [
"frame-system-rpc-runtime-api/std",
"frame-system/std",
"frame-try-runtime?/std",
"polkadot-runtime-constants/std",
"log/std",
"pallet-aura/std",
"pallet-authorship/std",
Expand All @@ -120,6 +119,7 @@ std = [
"parachains-common/std",
"polkadot-parachain-primitives/std",
"polkadot-runtime-common/std",
"polkadot-runtime-constants/std",
"scale-info/std",
"serde",
"sp-api/std",
Expand Down Expand Up @@ -203,4 +203,4 @@ metadata-hash = ["substrate-wasm-builder?/metadata-hash"]
# A feature that should be enabled when the runtime should be built for on-chain
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
# to make it smaller, like logging for example.
on-chain-release-build = ["sp-api/disable-logging", "metadata-hash"]
on-chain-release-build = ["metadata-hash", "sp-api/disable-logging"]

0 comments on commit 298817e

Please sign in to comment.