From 9c5b161f080bb0f3643cecabb51e435822aaba4f Mon Sep 17 00:00:00 2001 From: Keith Yeung Date: Tue, 17 Jan 2023 17:22:27 +0900 Subject: [PATCH] Add runtime-benchmarks feature to test client and test service (#6566) --- polkadot/node/test/client/Cargo.toml | 3 +++ polkadot/node/test/service/Cargo.toml | 1 + 2 files changed, 4 insertions(+) diff --git a/polkadot/node/test/client/Cargo.toml b/polkadot/node/test/client/Cargo.toml index 8287d16764..af9357d643 100644 --- a/polkadot/node/test/client/Cargo.toml +++ b/polkadot/node/test/client/Cargo.toml @@ -31,3 +31,6 @@ sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = " [dev-dependencies] sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } futures = "0.3.21" + +[features] +runtime-benchmarks=["polkadot-test-runtime/runtime-benchmarks"] diff --git a/polkadot/node/test/service/Cargo.toml b/polkadot/node/test/service/Cargo.toml index 9fc695210a..1dbf7f9cf1 100644 --- a/polkadot/node/test/service/Cargo.toml +++ b/polkadot/node/test/service/Cargo.toml @@ -65,3 +65,4 @@ tokio = { version = "1.24.1", features = ["macros"] } [features] runtime-metrics=["polkadot-test-runtime/runtime-metrics"] +runtime-benchmarks=["polkadot-test-runtime/runtime-benchmarks"]