Skip to content

Commit

Permalink
chore: fix some typos (#4253)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfuhfds authored Apr 23, 2024
1 parent f7c1e0c commit 5f2e66f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion polkadot/runtime/common/src/crowdloan/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ mod tests {
use sp_core::H256;
use std::{cell::RefCell, collections::BTreeMap, sync::Arc};
// The testing primitives are very useful for avoiding having to work with signatures
// or public keys. `u64` is used as the `AccountId` and no `Signature`s are requried.
// or public keys. `u64` is used as the `AccountId` and no `Signature`s are required.
use crate::{
crowdloan,
mock::TestRegistrar,
Expand Down
2 changes: 1 addition & 1 deletion polkadot/runtime/common/src/paras_registrar/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ pub mod pallet {
/// validators have reported on the validity of the code, the code will either be enacted
/// or the upgrade will be rejected. If the code will be enacted, the current code of the
/// parachain will be overwritten directly. This means that any PoV will be checked by this
/// new code. The parachain itself will not be informed explictely that the validation code
/// new code. The parachain itself will not be informed explicitly that the validation code
/// has changed.
///
/// Can be called by Root, the parachain, or the parachain manager if the parachain is
Expand Down
2 changes: 1 addition & 1 deletion polkadot/runtime/parachains/src/inclusion/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ pub enum AggregateMessageOrigin {
/// Identifies a UMP queue inside the `MessageQueue` pallet.
///
/// It is written in verbose form since future variants like `Here` and `Bridged` are already
/// forseeable.
/// foreseeable.
#[derive(Encode, Decode, Clone, MaxEncodedLen, Eq, PartialEq, RuntimeDebug, TypeInfo)]
pub enum UmpQueueId {
/// The message originated from this parachain.
Expand Down
2 changes: 1 addition & 1 deletion polkadot/runtime/parachains/src/paras/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ pub mod pallet {
///
/// This is only used at genesis or by root.
///
/// TODO: Remove once coretime is the standard accross all chains.
/// TODO: Remove once coretime is the standard across all chains.
type AssignCoretime: AssignCoretime;
}

Expand Down
2 changes: 1 addition & 1 deletion polkadot/runtime/parachains/src/paras_inherent/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ fn limit_and_sanitize_disputes<
}

// Helper function for filtering candidates which don't pass the given predicate. When/if the first
// candidate which failes the predicate is found, all the other candidates that follow are dropped.
// candidate which failed the predicate is found, all the other candidates that follow are dropped.
fn retain_candidates<
T: inclusion::Config + paras::Config + inclusion::Config,
F: FnMut(ParaId, &mut C) -> bool,
Expand Down

0 comments on commit 5f2e66f

Please sign in to comment.