We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f0e8e2 commit 3e72965Copy full SHA for 3e72965
node/cli/src/command.rs
@@ -340,7 +340,7 @@ pub fn run() -> Result<()> {
340
BenchmarkCmd::Pallet(cmd) =>
341
if cfg!(feature = "runtime-benchmarks") {
342
runner.sync_run(|config| {
343
- cmd.run::<HashingFor<Block>, ReclaimHostFunctions>(config)
+ cmd.run_with_spec::<HashingFor<Block>, ReclaimHostFunctions>(Some(config.chain_spec))
344
})
345
} else {
346
return Err("Benchmarking wasn't enabled when building the node. \
0 commit comments