Small fixes coretime related fixes (#3188)

The PR contains small fixes for:
* A test `HostConfig v11` storage migration - v11 was compared with
itself instead of with `v10`.
* Outdated comment for `ClaimQueue`
* Typos
This commit is contained in:
Tsvetomir Dimitrov
2024-02-02 21:49:59 +02:00
committed by GitHub
parent 2ab3f03f0b
commit 4d78c6eb89
4 changed files with 11 additions and 13 deletions
+2 -4
View File
@@ -114,7 +114,7 @@ pub mod pallet {
Paras(ParasEntry<N>),
}
/// Conveninece type alias for `CoreOccupied`.
/// Convenience type alias for `CoreOccupied`.
pub type CoreOccupiedType<T> = CoreOccupied<BlockNumberFor<T>>;
impl<N> CoreOccupied<N> {
@@ -145,9 +145,7 @@ pub mod pallet {
pub(crate) type SessionStartBlock<T: Config> = StorageValue<_, BlockNumberFor<T>, ValueQuery>;
/// One entry for each availability core. The `VecDeque` represents the assignments to be
/// scheduled on that core. `None` is used to signal to not schedule the next para of the core
/// as there is one currently being scheduled. Not using `None` here would overwrite the
/// `CoreState` in the runtime API. The value contained here will not be valid after the end of
/// scheduled on that core. The value contained here will not be valid after the end of
/// a block. Runtime APIs should be used to determine scheduled cores/ for the upcoming block.
#[pallet::storage]
#[pallet::getter(fn claimqueue)]