Function force_genesis_config

Source
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.

  • ProbationPeriod - Updates the number of blocks authors must remain in probation.
  • ReduceProbationBy - Updates how much probation is reduced on good behavior.
  • IncreaseProbationBy - Updates how much probation is increased on misbehavior.
  • RewardsBuffer - Updates the delay (in blocks) before rewards are finalized.
  • PenaltiesBuffer - Updates the delay (in blocks) before penalties are enforced.
  • MaxElected - Updates the maximum number of authors that can be elected.
  • MinElected - Updates the minimum number of authors required for a valid election.
  • EnforceMaxElected - Toggles strict enforcement of the MaxElected limit.
  • MinFund - Updates the minimum funding required per backing operation.
  • MaxExposure - Updates the maximum allowed exposure per funding operation.
  • MinCollateral - Updates the minimum collateral required for authors.

The call enforces consistency constraints where applicable:

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.