staking-contract icon indicating copy to clipboard operation
staking-contract copied to clipboard

Field maxcommrate is not mutated

Open anton-trunov opened this issue 5 years ago • 1 comments

Commit b710edc8b0676e0ea40dc5422d7d2f8c8e1552b4

Is there a missing transition that should set the maxcommrate field? If this is not the case then it should perhaps be made a constant or a contract immutable parameter.

anton-trunov avatar Sep 06 '20 16:09 anton-trunov

Yes, I think it can be made constant. The purpose of maxcommrate is to ensure that operators do not set commission rate is that more than 100%, resulting in potential unexpected behavior

bb111189 avatar Sep 07 '20 04:09 bb111189