Type Alias polkadot_runtime_parachains::scheduler::pallet::SessionStartBlock
source · pub type SessionStartBlock<T: Config> = StorageValue<_GeneratedPrefixForStorageSessionStartBlock<T>, BlockNumberFor<T>, ValueQuery>;
Expand description
The block number where the session start occurred. Used to track how many group rotations have occurred.
Note that in the context of parachains modules the session change is signaled during the block and enacted at the end of the block (at the finalization stage, to be exact). Thus for all intents and purposes the effect of the session change is observed at the block following the session change, block number of which we save in this storage value.
Storage type is [StorageValue
] with value type BlockNumberFor < T >
.
Aliased Type§
struct SessionStartBlock<T: Config>(/* private fields */);