pub fn set_epoch_length<T: Config>(length: BlockNumberFor<T>)
Expand description

Sets the epoch period length (in blocks).

Requires

  • Root Origin

Errors

  • Returns Error::MaxEpochLengthExceeded if length is greater than T::MaxEpochLength.

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::set_epoch_length.