mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 16:51:03 +00:00
docs: fix typos (#2193)
This commit is contained in:
@@ -108,7 +108,7 @@ HrmpEgressChannelsIndex: map ParaId => Vec<ParaId>;
|
||||
/// Invariant: cannot be non-empty if the corresponding channel in `HrmpChannels` is `None`.
|
||||
HrmpChannelContents: map HrmpChannelId => Vec<InboundHrmpMessage>;
|
||||
/// Maintains a mapping that can be used to answer the question:
|
||||
/// What paras sent a message at the given block number for a given reciever.
|
||||
/// What paras sent a message at the given block number for a given receiver.
|
||||
/// Invariants:
|
||||
/// - The inner `Vec<ParaId>` is never empty.
|
||||
/// - The inner `Vec<ParaId>` cannot store two same `ParaId`.
|
||||
|
||||
@@ -133,7 +133,7 @@ All failed checks should lead to an unrecoverable error making the block invalid
|
||||
[`UpwardMessage`s](../types/messages.md#upward-message) from the
|
||||
[`CandidateCommitments`](../types/candidate.md#candidate-commitments).
|
||||
1. call `Dmp::prune_dmq` with the para id of the candidate and the candidate's `processed_downward_messages`.
|
||||
1. call `Hrmp::prune_hrmp` with the para id of the candiate and the candidate's `hrmp_watermark`.
|
||||
1. call `Hrmp::prune_hrmp` with the para id of the candidate and the candidate's `hrmp_watermark`.
|
||||
1. call `Hrmp::queue_outbound_hrmp` with the para id of the candidate and the list of horizontal messages taken from
|
||||
the commitment,
|
||||
1. Call `Paras::note_new_head` using the `HeadData` from the receipt and `relay_parent_number`.
|
||||
|
||||
@@ -189,7 +189,7 @@ UpgradeGoAheadSignal: map hasher(twox_64_concat) ParaId => Option<UpgradeGoAhead
|
||||
/// an upgrade for this parachain.
|
||||
///
|
||||
/// This may be a because the parachain waits for the upgrade cooldown to expire. Another
|
||||
/// potential use case is when we want to perform some maintanance (such as storage migration)
|
||||
/// potential use case is when we want to perform some maintenance (such as storage migration)
|
||||
/// we could restrict upgrades to make the process simpler.
|
||||
///
|
||||
/// NOTE that this field is used by parachains via merkle storage proofs, therefore changing
|
||||
|
||||
@@ -263,7 +263,7 @@ No finalization routine runs for this module.
|
||||
`Paras::parachains().len()` to it.
|
||||
- `next_core` is then updated by adding 1 and taking it modulo `config.parathread_cores`.
|
||||
- The claim is then added to the claim index.
|
||||
- `free_cores(Vec<(CoreIndex, FreedReason)>)`: indicate previosuly-occupied cores which are to be considered returned
|
||||
- `free_cores(Vec<(CoreIndex, FreedReason)>)`: indicate previously-occupied cores which are to be considered returned
|
||||
and why they are being returned.
|
||||
- All freed lease holding parachain cores should be assigned to their respective parachain
|
||||
- All freed on-demand parachain cores whose reason for freeing was `FreedReason::Concluded` should have the claim
|
||||
|
||||
Reference in New Issue
Block a user