mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 14:31:02 +00:00
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:
committed by
GitHub
parent
2ab3f03f0b
commit
4d78c6eb89
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user