git.delta.rocks / unique-network / refs/commits / 0ee16a2f58cd

difftreelog

style fix fmt errors

Yaroslav Bolyukin2021-09-07parent: #eda1b0c.patch.diff
in: master

4 files changed

modifiednode/cli/src/service.rsdiffbeforeafterboth
--- 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(
modifiednode/rpc/src/lib.rsdiffbeforeafterboth

no syntactic changes

modifiedpallets/contract-helpers/src/lib.rsdiffbeforeafterboth
--- 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},
modifiedruntime/src/lib.rsdiffbeforeafterboth
--- a/runtime/src/lib.rs
+++ b/runtime/src/lib.rs
@@ -663,7 +663,7 @@
 	type XcmTeleportFilter = Nothing;
 	type XcmReserveTransferFilter = ();
 	type Weigher = FixedWeightBounds<UnitWeightCost, Call>;
-    type LocationInverter = LocationInverter<Ancestry>;
+	type LocationInverter = LocationInverter<Ancestry>;
 }
 
 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! {