Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
gztensor committed Sep 26, 2024
1 parent 1c72c6f commit bb9ee35
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,16 @@ pub fn run() -> sc_cli::Result<()> {
}
#[cfg(feature = "runtime-benchmarks")]
Some(Subcommand::Benchmark(cmd)) => {
use crate::benchmarking::{inherent_benchmark_data, RemarkBuilder, TransferKeepAliveBuilder};
use frame_benchmarking_cli::{BenchmarkCmd, ExtrinsicFactory, SUBSTRATE_REFERENCE_HARDWARE};
use crate::benchmarking::{
inherent_benchmark_data, RemarkBuilder, TransferKeepAliveBuilder,
};
use frame_benchmarking_cli::{
BenchmarkCmd, ExtrinsicFactory, SUBSTRATE_REFERENCE_HARDWARE,
};
use node_subtensor_runtime::EXISTENTIAL_DEPOSIT;
use sc_service::PartialComponents;
use sp_keyring::Sr25519Keyring;
use sp_runtime::traits::HashingFor;
use sc_service::PartialComponents;

let runner = cli.create_runner(cmd)?;

Expand All @@ -178,9 +182,7 @@ pub fn run() -> sc_cli::Result<()> {
BenchmarkCmd::Pallet(cmd) => {
cmd.run_with_spec::<HashingFor<Block>, ()>(Some(config.chain_spec))
}
BenchmarkCmd::Block(cmd) => {
cmd.run(client)
}
BenchmarkCmd::Block(cmd) => cmd.run(client),
BenchmarkCmd::Storage(cmd) => {
let db = backend.expose_db();
let storage = backend.expose_storage();
Expand Down

0 comments on commit bb9ee35

Please sign in to comment.