mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 04:01: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:
@@ -287,15 +287,15 @@ pub mod pallet {
|
||||
#[pallet::event]
|
||||
#[pallet::generate_deposit(pub(super) fn deposit_event)]
|
||||
pub enum Event {
|
||||
/// Current code has been updated for a Para. \[para_id\]
|
||||
/// Current code has been updated for a Para. `para_id`
|
||||
CurrentCodeUpdated(ParaId),
|
||||
/// Current head has been updated for a Para. \[para_id\]
|
||||
/// Current head has been updated for a Para. `para_id`
|
||||
CurrentHeadUpdated(ParaId),
|
||||
/// A code upgrade has been scheduled for a Para. \[para_id\]
|
||||
/// A code upgrade has been scheduled for a Para. `para_id`
|
||||
CodeUpgradeScheduled(ParaId),
|
||||
/// A new head has been noted for a Para. \[para_id\]
|
||||
/// A new head has been noted for a Para. `para_id`
|
||||
NewHeadNoted(ParaId),
|
||||
/// A para has been queued to execute pending actions. \[para_id\]
|
||||
/// A para has been queued to execute pending actions. `para_id`
|
||||
ActionQueued(ParaId, SessionIndex),
|
||||
}
|
||||
|
||||
@@ -313,7 +313,7 @@ pub mod pallet {
|
||||
CannotDowngrade,
|
||||
}
|
||||
|
||||
/// All parachains. Ordered ascending by ParaId. Parathreads are not included.
|
||||
/// All parachains. Ordered ascending by `ParaId`. Parathreads are not included.
|
||||
#[pallet::storage]
|
||||
#[pallet::getter(fn parachains)]
|
||||
pub(super) type Parachains<T: Config> = StorageValue<_, Vec<ParaId>, ValueQuery>;
|
||||
@@ -1443,7 +1443,7 @@ mod tests {
|
||||
|
||||
run_to_block(expected_at + 1 + 4, None);
|
||||
|
||||
// the candidate is in the context of the first descendent of `expected_at`, and triggers
|
||||
// the candidate is in the context of the first descendant of `expected_at`, and triggers
|
||||
// the upgrade.
|
||||
{
|
||||
Paras::note_new_head(para_id, Default::default(), expected_at + 4);
|
||||
|
||||
Reference in New Issue
Block a user