Skip to content

Commit

Permalink
bez review
Browse files Browse the repository at this point in the history
  • Loading branch information
gamarin2 committed Mar 11, 2019
1 parent 1662d6b commit d563a26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 25 deletions.
2 changes: 1 addition & 1 deletion docs/gaia/delegator-guide-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ On Cosmos Hub mainnet, the accepted denom is `uatom`, where `1atom = 1.000.000ua
Transactions on the Cosmos Hub network need to include a transaction fee in order to be processed. This fee pays for the gas required to run the transaction. The formula is the following:
```
fees = gas * gasPrices
fees = ceil(gas * gasPrices)
```
The `gas` is dependent on the transaction. Different transaction require different amount of `gas`. The `gas` amount for a transaction is calculated as it is being processed, but there is a way to estimate it beforehand by using the `auto` value for the `gas` flag. Of course, this only gives an estimate. You can adjust this estimate with the flag `--gas-adjustment` (default `1.0`) if you want to be sure you provide enough `gas` for the transaction.
Expand Down
4 changes: 2 additions & 2 deletions docs/gaia/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ $ gaiacli version --long

```
cosmos-sdk: 0.33.0
git commit: 7b4104aced52aa5b59a96c28b5ebeea7877fc4f0
vendor hash:
git commit: 06f741609bbce747643e9f1f2abf67040ad78e16
vendor hash: decf1ff8b31df2243aa27bcd6e1a40df4d30be81
build tags: netgo ledger
go version go1.12 darwin/amd64
```
Expand Down
22 changes: 0 additions & 22 deletions docs/gaia/validators/validator-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,6 @@ If you want to become a validator for the Hub's `mainnet`, you should [research

You may want to skip the next section if you have already [set up a full-node](../join-mainnet.md).

::: warning
On Cosmos Hub mainnet, the accepted denom is `uatom`, where `1atom = 1.000.000uatom`
:::

### A note on gas and fees

Transactions on the Cosmos Hub network need to include a transaction fee in order to be processed. This fee pays for the gas required to run the transaction. The formula is the following:

```
fees = gas * gasPrices
```

The `gas` is dependent on the transaction. Different transaction require different amount of `gas`. The `gas` amount for a transaction is calculated as it is being processed, but there is a way to estimate it beforehand by using the `auto` value for the `gas` flag. Of course, this only gives an estimate. You can adjust this estimate with the flag `--gas-adjustment` (default `1.0`) if you want to be sure you provide enough `gas` for the transaction.

The `gasPrice` is the price of each unit of `gas`. Each validator sets a `min-gas-price` value, and will only include transactions that have a `gasPrice` greater than their `min-gas-price`.

The transaction `fees` are the product of `gas` and `gasPrice`. As a user, you have to input 2 out of 3. The higher the `gasPrice`/`fees`, the higher the chance that your transaction will get included in a block.

::: tip
For mainnet, the recommended `gas-prices` is `0.025uatom`.
:::

## Create Your Validator

Your `cosmosvalconspub` can be used to create a new validator by staking tokens. You can find your validator pubkey by running:
Expand Down

0 comments on commit d563a26

Please sign in to comment.