referrerpolicy=no-referrer-when-downgrade

Function pallet_staking::dispatchables::force_no_eras

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

Force there to be no new eras indefinitely.

The dispatch origin must be Root.

§Warning

The election process starts multiple blocks before the end of the era. Thus the election process may be ongoing when this is called. In this case the election will continue until the next era is triggered.

§Complexity

  • No arguments.
  • Weight: O(1)

§Warning: Doc-Only

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