Type Definition pallet_staking::ErasStartSessionIndex
source · pub type ErasStartSessionIndex<T> = StorageMap<_GeneratedPrefixForStorageErasStartSessionIndex<T>, Twox64Concat, EraIndex, SessionIndex>;
Expand description
The session index at which the era start for the last HISTORY_DEPTH
eras.
Note: This tracks the starting session (i.e. session index when era start being active)
for the eras in [CurrentEra - HISTORY_DEPTH, CurrentEra]
.
Storage type is StorageMap
with key type EraIndex
and value type SessionIndex
.