From 0ee16a2f58cd755836578a51e7f1ebf716df66cd Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Tue, 07 Sep 2021 09:59:20 +0000 Subject: [PATCH] style: fix fmt errors --- --- a/node/cli/src/service.rs +++ b/node/cli/src/service.rs @@ -276,7 +276,7 @@ import_queue: import_queue.clone(), on_demand: None, block_announce_validator_builder: Some(Box::new(|_| block_announce_validator)), - warp_sync: None, + warp_sync: None, })?; let subscription_executor = sc_rpc::SubscriptionTaskExecutor::new(task_manager.spawn_handle()); @@ -304,7 +304,10 @@ max_past_logs: 10000, }; - Ok(nft_rpc::create_full::<_, _, _, RuntimeApi, _>(full_deps, subscription_executor.clone())) + Ok(nft_rpc::create_full::<_, _, _, RuntimeApi, _>( + full_deps, + subscription_executor.clone(), + )) }); task_manager.spawn_essential_handle().spawn( --- a/node/rpc/src/lib.rs +++ b/node/rpc/src/lib.rs @@ -200,7 +200,7 @@ if let Some(filter_pool) = filter_pool { io.extend_with(EthFilterApiServer::to_delegate(EthFilterApi::new( client.clone(), - backend, + backend, filter_pool, 500_usize, // max stored filters overrides.clone(), --- a/pallets/contract-helpers/src/lib.rs +++ b/pallets/contract-helpers/src/lib.rs @@ -7,7 +7,7 @@ use frame_support::sp_runtime::traits::StaticLookup; use frame_support::{pallet_prelude::*, traits::IsSubType}; use frame_system::pallet_prelude::*; - use frame_system::Config as SysConfig; + use frame_system::Config as SysConfig; use pallet_contracts::chain_extension::UncheckedFrom; use sp_runtime::{ traits::{DispatchInfoOf, Hash, PostDispatchInfoOf, SignedExtension}, --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -663,7 +663,7 @@ type XcmTeleportFilter = Nothing; type XcmReserveTransferFilter = (); type Weigher = FixedWeightBounds; - type LocationInverter = LocationInverter; + type LocationInverter = LocationInverter; } impl cumulus_pallet_xcm::Config for Runtime { @@ -685,7 +685,7 @@ impl pallet_aura::Config for Runtime { type AuthorityId = AuraId; - type DisabledValidators = (); + type DisabledValidators = (); } parameter_types! { -- gitstuff