referrerpolicy=no-referrer-when-downgrade

NextEraValidators

Type Alias NextEraValidators 

Source
pub type NextEraValidators<T: Config> = StorageValue<_GeneratedPrefixForStorageNextEraValidators<T>, (EraIndex, BoundedVec<T::AccountId, T::MaxValidatorSet>), OptionQuery>;
Expand description

The validators elected for the planned era, kept from the moment its election completes until the era starts, for Config::OnEraStart.

Only written when OnEraStart::enabled is true, and removed at the start of its era whether or not the hook is still enabled. An era whose election completed before the hook was enabled has no copy and is not notified.

Storage type is [StorageValue] with value type (EraIndex, BoundedVec < T :: AccountId, T :: MaxValidatorSet >).

Aliased Type§

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