referrerpolicy=no-referrer-when-downgrade

PreviousCoreCount

Type Alias PreviousCoreCount 

Source
pub type PreviousCoreCount<T: Config> = StorageValue<_GeneratedPrefixForStoragePreviousCoreCount<T>, Compact<u16>, OptionQuery>;
Expand description

The core count available to the parachain in the previous block.

This is mainly used for offchain functionality to calculate the correct target block weight.

Storage type is [StorageValue] with value type Compact < u16 >.

Aliased Type§

pub struct PreviousCoreCount<T: Config>(/* private fields */);