diff --git a/node/src/command.rs b/node/src/command.rs index 199e326dc7a..758a4602c13 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -237,8 +237,9 @@ pub fn run() -> Result<()> { cmd.run(config, partials.client.clone(), db, storage) }), - BenchmarkCmd::Machine(cmd) => - runner.sync_run(|config| cmd.run(&config, SUBSTRATE_REFERENCE_HARDWARE.clone())), + BenchmarkCmd::Machine(cmd) => { + runner.sync_run(|config| cmd.run(&config, SUBSTRATE_REFERENCE_HARDWARE.clone())) + } // NOTE: this allows the Client to leniently implement // new benchmark commands without requiring a companion MR. #[allow(unreachable_patterns)] diff --git a/node/src/service.rs b/node/src/service.rs index 1f725fcdb2d..4d8473989e0 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -43,7 +43,7 @@ use cumulus_relay_chain_rpc_interface::RelayChainRPCInterface; use sc_client_api::ExecutorProvider; use sc_executor::NativeElseWasmExecutor; use sc_network::NetworkService; -use sc_service::{Configuration, PartialComponents, Role, TFullBackend, TFullClient, TaskManager}; +use sc_service::{Configuration, PartialComponents, TFullBackend, TFullClient, TaskManager}; use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle}; use sp_api::ConstructRuntimeApi; use sp_keystore::SyncCryptoStorePtr; @@ -194,6 +194,7 @@ async fn build_relay_chain_interface( /// Start a node with the given parachain `Configuration` and relay chain `Configuration`. /// /// This is the actual implementation that is abstract over the executor and the runtime api. +#[allow(clippy::too_many_arguments)] #[sc_tracing::logging::prefix_logs_with("Parachain")] async fn start_node_impl( parachain_config: Configuration, diff --git a/pallets/allocations/src/tests.rs b/pallets/allocations/src/tests.rs index 3b46d80aca9..7371197158b 100644 --- a/pallets/allocations/src/tests.rs +++ b/pallets/allocations/src/tests.rs @@ -267,4 +267,4 @@ fn no_issuance() { Errors::BatchEmpty ); }) -} \ No newline at end of file +}