referrerpolicy=no-referrer-when-downgrade

Function pallet_staking::dispatchables::force_new_era_always

source ·
pub fn force_new_era_always<T: Config>()
Expand description

Force there to be a new era at the end of sessions indefinitely.

The dispatch origin must be Root.

§Warning

The election process starts multiple blocks before the end of the era. If this is called just before a new era is triggered, the election process may not have enough blocks to get a result.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::force_new_era_always.