You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the issue reported in #488 and the corresponding CLI fix in #489, add the verification of the max commission change rate value in the IPTokenStaking contract directly.
Suggested solution
Require maxCommissionChangeRate <= maxCommissionRate in _createValidator function.
Definition of done
With an invalid commission (maxCommissionChangeRate > maxCommissionRate), the tx should fail.
The text was updated successfully, but these errors were encountered:
Description and context
Following the issue reported in #488 and the corresponding CLI fix in #489, add the verification of the max commission change rate value in the IPTokenStaking contract directly.
Suggested solution
Require
maxCommissionChangeRate <= maxCommissionRate
in_createValidator
function.Definition of done
With an invalid commission (
maxCommissionChangeRate > maxCommissionRate
), the tx should fail.The text was updated successfully, but these errors were encountered: