Apply suggestions from code review
Co-Authored-By: gamarin2 <gautier@tendermint.com>
This commit is contained in:
parent
9e446dfeb7
commit
85b0733a6a
@ -337,7 +337,7 @@ For each command, you can use the `-h` or `--help` flag to get more information.
|
||||
## Sending Transactions
|
||||
|
||||
::: warning
|
||||
On Cosmos Hub mainnet, the accepted denom is `uatom`, where `1atom = 1,000,000uatom`
|
||||
On Cosmos Hub mainnet, the accepted denom is `uatom` (micro-Atom), where `1atom = 1,000,000uatom`
|
||||
:::
|
||||
|
||||
### A note on gas and fees
|
||||
|
||||
@ -90,7 +90,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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user