Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Feb 23, 2024
1 parent ea1c457 commit 3ee996f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions x/staking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,7 @@ When this message is processed the following actions occur:

The `MsgUpdateParams` update the staking module parameters.
The params are updated through a governance proposal where the signer is the gov module account address.
When the `MinCommissionRate` is updated, all validators with a lower (max) commission rate than `MinCommissionRate` will be updated to `MinCommissionRate`.

```protobuf reference
https://github.com/cosmos/cosmos-sdk/blob/v0.47.0-rc1/proto/cosmos/staking/v1beta1/tx.proto#L182-L195
Expand Down Expand Up @@ -1037,6 +1038,10 @@ The staking module contains the following parameters:
| KeyRotationFee | sdk.Coin | "1000000stake" |
| MaxConsPubkeyRotations | int | 1 |

:::warning
Manually updating the `MinCommissionRate` parameter will not affect the commission rate of the existing validators. It will only affect the commission rate of the new validators. Update the parameter with `MsgUpdateParams` to affect the commission rate of the existing validators as wel.
:::

## Client

### CLI
Expand Down

0 comments on commit 3ee996f

Please sign in to comment.