Validators flipping their commision twice in an era and cheating nominators

This is a great answer, thanks @josep.

On-chain, we already store 84 eras of historical `real` validator commission (in ErasValidatorPrefs), so frontends could show this to user instead of only showing the current but mutable commission rate.

That said, if there is a strong community demand, we could also consider adding rate-limiting on-chain to how often commission rate can be changed (once per era probably makes sense).

6 Likes