Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge improve/governance and improve/pos #336

Merged
merged 2 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions packages/docs/pages/operators/validators/proof-of-stake.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,54 @@ After updating the consensus key, validators can find out their new validator ad
namadaw find --alias <new-consensus-key>
```

## Commission

To query a validator's commission rate, the following command can be run:

```shell copy
namadac commission-rate --validator <validator-address>
```

To change a validator's commission rate, the following command can be run:

```shell copy
namadac change-commission-rate \
--validator <validator-address> \
--commission-rate <new-commission-rate>
```

## Change Metadata

To query a validator's metadata, the following command can be run:

```shell copy
namadac validator-metadata --validator <validator-address>
```

To change a validator's metadata, the following command can be run:

```shell copy
namadac change-metadata \
--validator <validator-address> \
--email <email> \
--avatar <avatar-url>\
--description <description> \
--website <website-url> \
--discord-handle <discord-handle>
```

## Deactivate

To deactivate a validator, the following command can be run:

```shell copy
namadac deactivate-validator --validator <validator-address>
```

## Reactivate

To reactivate a validator, the following command can be run:

```shell copy
namadac reactivate-validator --validator <validator-address>
```
19 changes: 19 additions & 0 deletions packages/docs/pages/users/public-goods-stewards/electing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,22 @@ namadac resign-steward --steward my-steward-address
```

Read more about the other methods of losing stewardship in the [specs](https://specs.namada.net/modules/goverance/public-goods-funding/becoming-a-steward#losing-stewardship-status).

## Update steward commissions

The `commissions.json` file contains the information about the reward distribution. It is a JSON file with the following structure:

```json
{
"reward_distribution": {
"tnam...": "1"
}
}
```

Update steward commissions can be done at any point.
Through the CLI it can be done with the command:

```shell copy
namadac update-steward-rewards --steward my-steward-address --data-path <path/to/commissions.json>
```
2 changes: 2 additions & 0 deletions packages/docs/pages/users/public-goods-stewards/voting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The CLI command for voting for a steward is:
```shell copy
namada client vote-proposal \
--proposal-id <proposal-id-of-steward-proposal> \
--address your-established-account \
--vote yay \
--signing-keys <your-alias>
```
Expand All @@ -22,6 +23,7 @@ Similarly, the command for voting for PGF proposals is:
```shell copy
namada client vote-proposal \
--proposal-id <proposal-id-of-steward-proposal> \
--address your-established-account \
--vote yay \
--signing-keys <your-alias>
```
Loading