Function pallet_bridge_grandpa::pallet::dispatchables::force_set_pallet_state
source · pub fn force_set_pallet_state<T: Config<I>, I: 'static>(
new_current_set_id: SetId,
new_authorities: AuthorityList,
new_best_header: Box<BridgedHeader<T, I>>,
)
Expand description
Set current authorities set and best finalized bridged header to given values (almost) without any checks. This call can fail only if:
-
the call origin is not a root or a pallet owner;
-
there are too many authorities in the new set.
No other checks are made. Previously imported headers stay in the storage and are still accessible after the call.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::force_set_pallet_state
.