pub fn set_blocks_per_round<T: Config>(new: BlockNumberFor<T>)
Expand description

Set the number of blocks each validation round lasts.

If the new value is less than the length of the current round, the system will immediately move to the next round in the next block.

The new value must be higher than the minimum allowed as set in the pallet’s configuration.

The dispatch origin must be Root.

Emits BlocksPerRoundSet.

Warning: Doc-Only

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