Skip to content
Snippets Groups Projects
Commit a01b2ce4 authored by Bastian Köcher's avatar Bastian Köcher
Browse files

Expose the `runtime-benchmarks` feature to the cli crate

This exposes the `runtime-benchmarks` feature via the cli crate and
makes sure the benchmarking can be enabled. This requires that the user
goes to `bin/node/cli` and runs `cargo build --features
runtime-benchmarks` to build a node that has the feature enabled.
parent c37cfbf8
Branches
No related merge requests found
......@@ -151,3 +151,4 @@ wasmtime = [
"sc-cli/wasmtime",
"sc-service/wasmtime",
]
runtime-benchmarks = [ "node-runtime/runtime-benchmarks" ]
......@@ -132,4 +132,9 @@ std = [
"pallet-recovery/std",
"pallet-vesting/std",
]
runtime-benchmarks = ["frame-benchmarking"]
runtime-benchmarks = [
"frame-benchmarking",
"pallet-timestamp/runtime-benchmarks",
"pallet-identity/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
]
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment