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
--- 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(),
modifiedpallets/contract-helpers/src/lib.rsdiffbeforeafterboth

no syntactic changes

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! {