Tracks the last era in which an account was active as a validator (included in the era's
exposure/snapshot).
This is used to enforce that accounts who were recently validators must wait the full
[Config::BondingDuration] before their funds can be withdrawn, even if they switch to
nominator role. This prevents validators from:
Committing a slashable offence in era N
Switching to nominator role
Using the shorter nominator unbonding duration to withdraw funds before being slashed
Updated when era snapshots are created (in ErasStakersPaged/ErasStakersOverview).
Cleaned up when the stash is killed (fully withdrawn/reaped).
Tracks the last era in which an account was active as a validator (included in the era's exposure/snapshot).
This is used to enforce that accounts who were recently validators must wait the full [
Config::BondingDuration] before their funds can be withdrawn, even if they switch to nominator role. This prevents validators from:Updated when era snapshots are created (in
ErasStakersPaged/ErasStakersOverview). Cleaned up when the stash is killed (fully withdrawn/reaped).