pub fn force_genesis_config<T: Config>(field: ForceGenesisConfig<T>)Expand description
Force-update a selected genesis configuration parameter.
Origin: Root only.
This extrinsic allows privileged modification of runtime parameters that were originally defined at genesis.
AllowAffidavits- Enables or disables affidavit submission.AffidavitBeginsAt- Updates the start of the affidavit submission window.AffidavitEndsAt- Updates the end of the affidavit submission window.ElectionBeginsAt- Updates when election execution begins within the session.ElectionRunnerPointsUpgrade- Updates the reward points for election runners.ValidateTxPriority- Updates the priority for validation-related extrinsics.ElectionTxPriority- Updates the priority for election execution extrinsics.AffidavitTxPriority- Updates the priority for affidavit submission extrinsics.FinalityAfter- Updates the time-based delay before operations are considered final.FinalityTicks- Updates the block-based confirmation threshold for finality.
The call enforces consistency constraints where applicable:
- Affidavit window ordering:
AffidavitBeginsAt < AffidavitEndsAtAffidavitEndsAt > AffidavitBeginsAt
- The following values must be non-zero:
- transaction priorities
- finality thresholds (
FinalityAfter,FinalityTicks)
This call directly overwrites storage and emits an event containing the updated configuration variant.
ยงWarning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::force_genesis_config.