mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
WIP: CI: add spellcheck (#3421)
* CI: add spellcheck * revert me * CI: explicit command for spellchecker * spellcheck: edit misspells * CI: run spellcheck on diff * spellcheck: edits * spellcheck: edit misspells * spellcheck: add rules * spellcheck: mv configs * spellcheck: more edits * spellcheck: chore * spellcheck: one more thing * spellcheck: and another one * spellcheck: seems like it doesn't get to an end * spellcheck: new words after rebase * spellcheck: new words appearing out of nowhere * chore * review edits * more review edits * more edits * wonky behavior * wonky behavior 2 * wonky behavior 3 * change git behavior * spellcheck: another bunch of new edits * spellcheck: new words are koming out of nowhere * CI: finding the master * CI: fetching master implicitly * CI: undebug * new errors * a bunch of new edits * and some more * Update node/core/approval-voting/src/approval_db/v1/mod.rs Co-authored-by: Andronik Ordian <write@reusable.software> * Update xcm/xcm-executor/src/assets.rs Co-authored-by: Andronik Ordian <write@reusable.software> * Apply suggestions from code review Co-authored-by: Andronik Ordian <write@reusable.software> * Suggestions from the code review * CI: scan only changed files Co-authored-by: Andronik Ordian <write@reusable.software>
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
//! The scheduler module for parachains and parathreads.
|
||||
//!
|
||||
//! This module is responsible for two main tasks:
|
||||
//! - Paritioning validators into groups and assigning groups to parachains and parathreads
|
||||
//! - Partitioning validators into groups and assigning groups to parachains and parathreads
|
||||
//! - Scheduling parachains and parathreads
|
||||
//!
|
||||
//! It aims to achieve these tasks with these goals in mind:
|
||||
@@ -183,7 +183,7 @@ decl_storage! {
|
||||
ParathreadClaimIndex: Vec<ParaId>;
|
||||
/// The block number where the session start occurred. Used to track how many group rotations have occurred.
|
||||
///
|
||||
/// Note that in the context of parachains modules the session change is signalled during
|
||||
/// Note that in the context of parachains modules the session change is signaled during
|
||||
/// the block and enacted at the end of the block (at the finalization stage, to be exact).
|
||||
/// Thus for all intents and purposes the effect of the session change is observed at the
|
||||
/// block following the session change, block number of which we save in this storage value.
|
||||
@@ -644,7 +644,7 @@ impl<T: Config> Module<T> {
|
||||
/// occupied and the candidate occupying it became available.
|
||||
///
|
||||
/// For parachains, this is always the ID of the parachain and no specified collator.
|
||||
/// For parathreads, this is based on the next item in the ParathreadQueue assigned to that
|
||||
/// For parathreads, this is based on the next item in the `ParathreadQueue` assigned to that
|
||||
/// core, and is None if there isn't one.
|
||||
pub(crate) fn next_up_on_available(core: CoreIndex) -> Option<ScheduledCore> {
|
||||
let parachains = <paras::Pallet<T>>::parachains();
|
||||
@@ -667,7 +667,7 @@ impl<T: Config> Module<T> {
|
||||
/// occupied and the candidate occupying it became available.
|
||||
///
|
||||
/// For parachains, this is always the ID of the parachain and no specified collator.
|
||||
/// For parathreads, this is based on the next item in the ParathreadQueue assigned to that
|
||||
/// For parathreads, this is based on the next item in the `ParathreadQueue` assigned to that
|
||||
/// core, or if there isn't one, the claim that is currently occupying the core, as long
|
||||
/// as the claim's retries would not exceed the limit. Otherwise None.
|
||||
pub(crate) fn next_up_on_time_out(core: CoreIndex) -> Option<ScheduledCore> {
|
||||
|
||||
Reference in New Issue
Block a user