diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8d5918875..bf16aadc6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -59,7 +59,7 @@ Enhancement suggestions are tracked as [GitHub issues](https://guides.github.com * **Provide a step-by-step description of the suggested enhancement** in as many details as possible. * **Provide specific examples to demonstrate the steps**. Include copy/pasteable snippets which you use in those examples, as [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines). * **Describe the current behavior** and **explain which behavior you expected to see instead** and why. -* **Include screenshots or video** which help you demonstrate the steps or point out the part of Manta/Calamari which the suggestion is related to. +* **Include screenshots or video** which help you demonstrate the steps or point out the part of Manta/Calamari to which the suggestion is related to. * **Explain why this enhancement would be useful** to most Manta users. * **List some other places where this enhancement exists.** diff --git a/pallets/asset-manager/src/lib.rs b/pallets/asset-manager/src/lib.rs index b19f7eb65..cf9b69c47 100644 --- a/pallets/asset-manager/src/lib.rs +++ b/pallets/asset-manager/src/lib.rs @@ -121,7 +121,7 @@ pub mod pallet { /// Pallet ID type PalletId: Get; - /// Weight information for the extrinsics in this pallet. + /// Weight information for the extrinsic in this pallet. type WeightInfo: crate::weights::WeightInfo; /// AssetId where Permissionless Assets start, must be greater than `StartNonNativeAssetId` diff --git a/pallets/collator-selection/src/lib.rs b/pallets/collator-selection/src/lib.rs index d9b1323f1..7d4892830 100644 --- a/pallets/collator-selection/src/lib.rs +++ b/pallets/collator-selection/src/lib.rs @@ -488,9 +488,9 @@ pub mod pallet { Ok(Some(T::WeightInfo::leave_intent(current_count as u32)).into()) } - /// Remove an specified collator. + /// Remove a specified collator. /// - /// - `collator`: Who is going to be remove from collators set. + /// - `collator`: Who is going to be removed from collators set. #[pallet::call_index(6)] #[pallet::weight(T::WeightInfo::remove_collator(T::MaxCandidates::get()))] pub fn remove_collator( diff --git a/pallets/collator-selection/src/mock.rs b/pallets/collator-selection/src/mock.rs index 36dcb1e77..a7732790d 100644 --- a/pallets/collator-selection/src/mock.rs +++ b/pallets/collator-selection/src/mock.rs @@ -246,7 +246,7 @@ pub fn new_test_ext() -> sp_io::TestExternalities { }; let session = pallet_session::GenesisConfig:: { keys }; balances.assimilate_storage(&mut t).unwrap(); - // collator selection must be initialized before session. + // collator selection must be initialized before the session. collator_selection.assimilate_storage(&mut t).unwrap(); session.assimilate_storage(&mut t).unwrap(); diff --git a/pallets/collator-selection/src/tests.rs b/pallets/collator-selection/src/tests.rs index 866a49d64..cd93442fe 100644 --- a/pallets/collator-selection/src/tests.rs +++ b/pallets/collator-selection/src/tests.rs @@ -495,7 +495,7 @@ fn kick_mechanism_parity() { assert_eq!(CollatorSelection::candidates().len(), 2); assert_eq!(Session::validators().len(), 4); // all candidates active initialize_to_block(30); - // 4 authored all blocks in this the past session, gets to stay 3 was kicked on session change + // 4 authored all blocks in this past session, gets to stay 3 was kicked on a session change assert_eq!(CollatorSelection::candidates().len(), 1); // 3 will be kicked after 1 session delay assert_eq!(SessionHandlerCollators::get(), vec![1, 2, 3, 4]); diff --git a/pallets/farming/src/lib.rs b/pallets/farming/src/lib.rs index 2e3264599..2d2efefd3 100644 --- a/pallets/farming/src/lib.rs +++ b/pallets/farming/src/lib.rs @@ -194,7 +194,7 @@ pub mod pallet { GaugePoolNotExist, /// Gauge info not exist GaugeInfoNotExist, - /// Share info is not exist + /// Share info does not exist ShareInfoNotExists, /// Pool state is invalid InvalidPoolState, diff --git a/primitives/manta/src/assets.rs b/primitives/manta/src/assets.rs index b1c4fe5ca..ce54ae8b2 100644 --- a/primitives/manta/src/assets.rs +++ b/primitives/manta/src/assets.rs @@ -86,7 +86,7 @@ pub trait AssetRegistry: AssetIdType + BalanceType { /// Error Type type Error; - /// Creates an new asset. + /// Creates a new asset. /// /// * `asset_id`: the asset id to be created /// * `metadata`: the metadata that the implementation layer stores