Function pallet_capacity::pallet::dispatchables::set_epoch_length
source · 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
iflength
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
.