Skip to content

Commit 733f27f

Browse files
authored
docs: Update --gas-adjustment and --gas-prices recommended values (#39)
Update --gas-adjustment and --gas-prices recommended values
1 parent 55858f9 commit 733f27f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/validator-guide/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ P.S. in case of using Ledger Nano device it would be helpful to use [this instru
8484
* For cheqd's current mainnet, this is `cheqd-mainnet-1`
8585
* 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.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.
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.4`. 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.
8888
* **`gas-prices`**: Maximum gas price set by the validator. Default value is `50ncheq`.
8989

9090
Please note the parameters below are just an “**example**”.
@@ -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.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
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.4 --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**

docs/validator-guide/faq.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ cheqd-noded keys list
2525
You are able to transfer tokens between key accounts using the function.
2626

2727
```bash
28-
cheqd-noded tx bank send <from> <to-address> <amount> --node <url> --chain-id <chain> --gas auto --gas-adjustment 1.2
28+
cheqd-noded tx bank send <from> <to-address> <amount> --node <url> --chain-id <chain> --gas auto --gas-adjustment 1.4
2929
```
3030

3131
You can then delegate to your Validator Node, using the function
3232

3333
```bash
34-
cheqd-noded tx staking delegate <validator address> <amount to stake> --from <key alias> --gas auto --gas-adjustment 1.2 --gas-prices 25ncheq
34+
cheqd-noded tx staking delegate <validator address> <amount to stake> --from <key alias> --gas auto --gas-adjustment 1.4 --gas-prices 50ncheq
3535
```
3636

3737
We use a second/different Virtual Machine to create these new accounts/wallets. In this instane, you only need to install cheqd-noded as a binary, you don't need to run it as a full node.
@@ -168,7 +168,7 @@ Your public name, is also known as your **moniker**.
168168
You are able to change this, as well as the description of your node using the function:
169169
170170
```bash
171-
cheqd-noded tx staking edit-validator --from validator1-eu --moniker "cheqd" --details "cheqd is building a private and secure decentralised digital identity network on the Cosmos ecosystem" --website "https://www.cheqd.io" --identity "F0669B9ACEE06ADC" --security-contact [email protected] --gas auto --gas-adjustment 1.2 --gas-prices 25ncheq -chain-id cheqd-mainnet-1
171+
cheqd-noded tx staking edit-validator --from validator1-eu --moniker "cheqd" --details "cheqd is building a private and secure decentralised digital identity network on the Cosmos ecosystem" --website "https://www.cheqd.io" --identity "F0669B9ACEE06ADC" --security-contact [email protected] --gas auto --gas-adjustment 1.4 --gas-prices 50ncheq -chain-id cheqd-mainnet-1
172172
```
173173
174174
## Should I set my firewall port 26656 open to the world?

docs/validator-guide/unjail.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@ It shows you a page and field "version": "0.6.0".
6464
If everything is up to date, and the node has fully caught, you can now unjail your node using this command in the cheqd CLI:
6565

6666
```bash
67-
cheqd-noded tx slashing unjail --from <address_alias> --gas auto --gas-adjustment 1.2 --gas-prices 25ncheq --chain-id cheqd-mainnet-1
67+
cheqd-noded tx slashing unjail --from <address_alias> --gas auto --gas-adjustment 1.4 --gas-prices 50ncheq --chain-id cheqd-mainnet-1
6868
```

0 commit comments

Comments
 (0)