Skip to content

Commit ad06f78

Browse files
committed
1 parent 3cdde97 commit ad06f78

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

node/src/command.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ pub fn run() -> Result<()> {
439439
#[cfg(feature = "runtime-benchmarks")]
440440
Some(Subcommand::Benchmark(cmd)) => {
441441
// darwinia
442-
use dc_primitives::Block;
442+
use dc_primitives::{Block, Hashing};
443443
// polkadot-sdk
444444
use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE};
445445

@@ -449,7 +449,7 @@ pub fn run() -> Result<()> {
449449

450450
match &**cmd {
451451
BenchmarkCmd::Pallet(cmd) =>
452-
runner.sync_run(|config| cmd.run::<Block, ()>(config)),
452+
runner.sync_run(|config| cmd.run::<Hashing, ()>(config)),
453453
BenchmarkCmd::Storage(cmd) => runner.sync_run(|config| {
454454
construct_benchmark_partials!(config, cli, |partials| {
455455
let db = partials.backend.expose_db();

0 commit comments

Comments
 (0)