Mokhtar Naamani 4 years ago
parent
commit
68a4380a52

+ 3 - 3
node/src/service.rs

@@ -43,9 +43,9 @@ construct_simple_protocol! {
 // Declare an instance of the native executor named `Executor`. Include the wasm binary as the
 // equivalent wasm code.
 native_executor_instance!(
-	pub Executor,
-	node_runtime::api::dispatch,
-	node_runtime::native_version
+    pub Executor,
+    node_runtime::api::dispatch,
+    node_runtime::native_version
 );
 
 /// Starts a `ServiceBuilder` for a full service.

+ 3 - 3
runtime-modules/proposals/discussion/src/lib.rs

@@ -71,13 +71,13 @@ decl_event!(
         MemberId = MemberId<T>,
         <T as Trait>::PostId,
     {
-    	/// Emits on thread creation.
+        /// Emits on thread creation.
         ThreadCreated(ThreadId, MemberId),
 
-    	/// Emits on post creation.
+        /// Emits on post creation.
         PostCreated(PostId, MemberId),
 
-    	/// Emits on post update.
+        /// Emits on post update.
         PostUpdated(PostId, MemberId),
     }
 );

+ 1 - 1
runtime-modules/proposals/engine/src/lib.rs

@@ -195,7 +195,7 @@ decl_event!(
         <T as system::Trait>::AccountId,
         <T as stake::Trait>::StakeId,
     {
-    	/// Emits on proposal creation.
+        /// Emits on proposal creation.
         /// Params:
         /// - Member id of a proposer.
         /// - Id of a newly created proposal after it was saved in storage.

+ 6 - 6
runtime/src/lib.rs

@@ -871,11 +871,11 @@ impl proposals_codex::Trait for Runtime {
 }
 
 construct_runtime!(
-	pub enum Runtime where
-		Block = Block,
-		NodeBlock = opaque::Block,
-		UncheckedExtrinsic = UncheckedExtrinsic
-	{
+    pub enum Runtime where
+        Block = Block,
+        NodeBlock = opaque::Block,
+        UncheckedExtrinsic = UncheckedExtrinsic
+    {
         // Substrate
         System: system::{Module, Call, Storage, Config, Event},
         Babe: babe::{Module, Call, Storage, Config, Inherent(Timestamp)},
@@ -917,7 +917,7 @@ construct_runtime!(
         ProposalsDiscussion: proposals_discussion::{Module, Call, Storage, Event<T>},
         ProposalsCodex: proposals_codex::{Module, Call, Storage, Error, Config<T>},
         // ---
-	}
+    }
 );
 
 /// The address format for describing accounts.