Function pallet_election_provider_multi_phase::pallet::dispatchables::set_emergency_election_result
source · pub fn set_emergency_election_result<T: Config>(
supports: Supports<T::AccountId>
)
Expand description
Set a solution in the queue, to be handed out to the client of this pallet in the next
call to ElectionProvider::elect
.
This can only be set by T::ForceOrigin
, and only when the phase is Emergency
.
The solution is not checked for any feasibility and is assumed to be trustworthy, as any feasibility check itself can in principle cause the election process to fail (due to memory/weight constrains).
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::set_emergency_election_result
.