Skip to content

Commit 55858f9

Browse files
authored
docs: Update default values for commission and gas prices (#38)
* Update default values for commission and gas prices * Update dead links
1 parent ed88b7f commit 55858f9

File tree

7 files changed

+14
-11
lines changed

7 files changed

+14
-11
lines changed

.github/linters/mlc_config.json

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
},
1717
{
1818
"pattern": "^https://docs.cosmos.network/v0.46/"
19+
},
20+
{
21+
"pattern": "^https://twitter.com/"
1922
}
2023
],
2124
"retryOn429": true

architecture/adr-list/adr-002-mnemonic-keys-cosmos.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ For example, an identity wallet application or backend application would need to
2121

2222
### Assumptions / Considerations
2323

24-
Cosmos SDK uses [known algorithms for deriving private keys from mnemonics](https://docs.cosmos.network/main/basics/accounts.html#keyring). This can be replicated using standard crypto libraries to carry out the same steps as in Cosmos SDK:
24+
Cosmos SDK uses [known algorithms for deriving private keys from mnemonics](https://docs.cosmos.network/main/learn/beginner/accounts#keyring). This can be replicated using standard crypto libraries to carry out the same steps as in Cosmos SDK:
2525

2626
```text
2727
rounds of iteration : 2048
@@ -64,4 +64,4 @@ N/A
6464

6565
## References
6666

67-
* [Cosmos SDK account generation and keyrings](https://docs.cosmos.network/main/basics/accounts.html)
67+
* [Cosmos SDK account generation and keyrings](https://docs.cosmos.network/main/learn/beginner/accounts)

architecture/adr-list/adr-004-token-fractions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ It was decided to go with **10^-9** as the smallest fraction, with the whole num
5858

5959
## References
6060

61-
* [Cosmos ADR proposal to add coin metadata](https://docs.cosmos.network/main/architecture/adr-024-coin-metadata.html)
61+
* [Cosmos ADR proposal to add coin metadata](https://docs.cosmos.network/main/build/architecture/adr-024-coin-metadata)

architecture/adr-list/adr-005-genesis-parameters.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Cosmos application is divided [into a list of modules](https://docs.cosmos.netwo
8080

8181
| Parameter | Description | Mainnet | Testnet |
8282
| - | - | - | - |
83-
| `constant_fee` | The fee is used to verify the [invariant(s)](https://docs.cosmos.network/main/building-modules/invariants.html) | 10,000,000,000,000 ncheq (10,000 CHEQ) | 10,000,000,000,000 ncheq (10,000 CHEQ) |
83+
| `constant_fee` | The fee is used to verify the [invariant(s)](https://docs.cosmos.network/main/build/building-modules/invariants) | 10,000,000,000,000 ncheq (10,000 CHEQ) | 10,000,000,000,000 ncheq (10,000 CHEQ) |
8484

8585
### `distribution` module
8686

architecture/adr-list/adr-007-revocation-registry.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,5 @@ _Reply Example_:
129129

130130
## References
131131

132-
* [Hyperledger Indy Credential Revocation Hype](https://hyperledger-indy.readthedocs.io/projects/hipe/en/latest/text/0011-cred-revocation/README.html)
132+
* [Hyperledger Indy Credential Revocation Hype](https://hyperledger-indy.readthedocs.io/projects/hipe/en/latest/text/0011-cred-revocation/README/)
133133

docs/cheqd-cli/cheqd-cli-key-management.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Account addresses are on a cheqd node are an encoded version of a public key. Ea
88

99
To submit a transaction on behalf of an account, it must be signed with an account's private key.
1010

11-
Cosmos supports [multiple keyring backends](https://docs.cosmos.network/main/run-node/keyring.html) for the storage and management of keys. Each node operator is free to use the key management method they prefer.
11+
Cosmos supports [multiple keyring backends](https://docs.cosmos.network/main/user/run-node/keyring) for the storage and management of keys. Each node operator is free to use the key management method they prefer.
1212

1313
By default, the `cheqd-noded` binary is configured to use the `os` keyring backend, as it is a safe default compared to file-based key management methods.
1414

docs/validator-guide/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ P.S. in case of using Ledger Nano device it would be helpful to use [this instru
7777
* **`from`**: Key alias of the node operator account that makes the initial stake
7878
* **`min-self-delegation`**: Minimum amount of tokens that the node operator promises to keep bonded
7979
* **`pubkey`**: Node's `bech32`-encoded validator public key from the previous step
80-
* **`commission-rate`**: Validator's commission rate
80+
* **`commission-rate`**: Validator's commission rate. The minimum is set to `0.05`.
8181
* **`commission-max-rate`**: Validator's maximum commission rate, expressed as a number with up to two decimal points. The value for this cannot be changed later.
8282
* **`commission-max-change-rate`**: Maximum rate of change of a validator's commission rate per day, expressed as a number with up to two decimal points. The value for this cannot be changed later.
8383
* **`chain-id`**: Unique identifier for the chain.
8484
* For cheqd's current mainnet, this is `cheqd-mainnet-1`
85-
* For cheqd's current testnet, this is `cheqd-testnet-4`
85+
* For cheqd's current testnet, this is `cheqd-testnet-6`
8686
* **`gas`**: Maximum gas to use for *this specific* transaction. Using `auto` uses Cosmos's auto-calculation mechanism, but can also be specified manually as an integer value.
87-
* **gas-adjustment** (optional): If you're using `auto` gas calculation, this parameter multiplies the auto-calculated amount by the specified factor, e.g., `1.2`. This is recommended so that it leaves enough margin of error to add a bit more gas to the transaction and ensure it successfully goes through.
88-
* **`gas-prices`**: Maximum gas price set by the validator
87+
* **gas-adjustment** (optional): If you're using `auto` gas calculation, this parameter multiplies the auto-calculated amount by the specified factor, e.g., `1.3`. This is recommended so that it leaves enough margin of error to add a bit more gas to the transaction and ensure it successfully goes through.
88+
* **`gas-prices`**: Maximum gas price set by the validator. Default value is `50ncheq`.
8989

9090
Please note the parameters below are just an “**example**”.
9191

@@ -94,7 +94,7 @@ When setting parameters such as the commission rate, a good benchmark is to cons
9494
You will see the commission they set, the max rate they set, and the rate of change. Please use this as a guide when thinking of your own commission configurations. This is important to get right, because the `commission-max-rate` and `commission-max-change-rate` cannot be changed after they are initially set.
9595

9696
```bash
97-
cheqd-noded tx staking create-validator --amount 1000000000ncheq --from key-alias-name --moniker mainnet-validator-name --chain-id cheqd-mainnet-1 --min-self-delegation="1" --gas auto --gas-adjustment 1.2 --gas-prices="25ncheq" --pubkey '{"@type":"/cosmos.crypto.ed25519.PubKey","key":"4anVUO8WhmRMqG1t4z6VxqmqZL3V7q6HqucjwZePiUw="}' --commission-max-change-rate 0.01 --commission-max-rate 0.2 --commission-rate 0.01 --node https://rpc.cheqd.net:443
97+
cheqd-noded tx staking create-validator --amount 1000000000ncheq --from key-alias-name --moniker mainnet-validator-name --chain-id cheqd-mainnet-1 --min-self-delegation="1" --gas auto --gas-adjustment 1.3 --gas-prices="50ncheq" --pubkey '{"@type":"/cosmos.crypto.ed25519.PubKey","key":"4anVUO8WhmRMqG1t4z6VxqmqZL3V7q6HqucjwZePiUw="}' --commission-max-change-rate 0.01 --commission-max-rate 0.2 --commission-rate 0.05 --node https://rpc.cheqd.net:443
9898
```
9999

100100
1. **Check that your validator node is bonded**

0 commit comments

Comments
 (0)