pub fn update_bonus<T: Config>(weight_limit: Option<Weight>)
Expand description

Active update BonusStatus according to the new MaxBonusSafeMovesPerPeriod from config for all already existing StakerInfo in steps, consuming up to the specified amount of weight.

If no weight is specified, max allowed weight is used. In any case the weight_limit is clamped between the minimum & maximum allowed values.

TODO: remove this extrinsic once BonusStatus update is done

§Warning: Doc-Only

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