Type Alias MinElected

Source
pub type MinElected<T: Config> = StorageValue<_GeneratedPrefixForStorageMinElected<T>, u32, ValueQuery>;
Expand description

The minimum required number of authors that must be elected for an election to be considered valid.

§Behavior

  • Prevents premature elections with insufficient candidates.
  • If the elected count falls below this threshold,
    the election process fails with an error.

§Example

If MinElected = 10 but only 6 valid authors are produced,
the election aborts rather than storing incomplete results.

Storage type is [StorageValue] with value type u32.

Aliased Type§

pub struct MinElected<T: Config>(/* private fields */);