We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cdde97 commit ad06f78Copy full SHA for ad06f78
1 file changed
node/src/command.rs
@@ -439,7 +439,7 @@ pub fn run() -> Result<()> {
439
#[cfg(feature = "runtime-benchmarks")]
440
Some(Subcommand::Benchmark(cmd)) => {
441
// darwinia
442
- use dc_primitives::Block;
+ use dc_primitives::{Block, Hashing};
443
// polkadot-sdk
444
use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE};
445
@@ -449,7 +449,7 @@ pub fn run() -> Result<()> {
449
450
match &**cmd {
451
BenchmarkCmd::Pallet(cmd) =>
452
- runner.sync_run(|config| cmd.run::<Block, ()>(config)),
+ runner.sync_run(|config| cmd.run::<Hashing, ()>(config)),
453
BenchmarkCmd::Storage(cmd) => runner.sync_run(|config| {
454
construct_benchmark_partials!(config, cli, |partials| {
455
let db = partials.backend.expose_db();
0 commit comments