Function pallet_dapp_staking::pallet::dispatchables::force
source · pub fn force<T: Config>(forcing_type: ForcingType)
Expand description
Used to force a change of era or subperiod. The effect isn’t immediate but will happen on the next block.
Used for testing purposes, when we want to force an era change, or a subperiod change. Not intended to be used in production, except in case of unforeseen circumstances.
Can only be called by the root origin.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::force
.