Add/refresh docs

This commit is contained in:
Alessio Treglia 2018-08-23 16:10:33 +01:00
parent 323fac3bf7
commit 47d55bd572
No known key found for this signature in database
GPG Key ID: E8A48AE5311D765A
2 changed files with 7 additions and 1 deletions

View File

@ -97,6 +97,12 @@ gaiacli send \
The `--amount` flag accepts the format `--amount=<value|coin_name>`.
:::
::: tip Note
You may want to cap the maximum gas that can be consumed by the transaction via the `--gas` flag.
If set to 0, the gas limit will be automatically estimated.
Gas estimate might be inaccurate as state changes could occur in between the end of the simulation and the actual execution of a transaction, thus an adjustment is applied on top of the original estimate in order to ensure the transaction is broadcasted successfully. The adjustment can be controlled via the `--gas-adjustment` flag, whose default value is 1.2.
:::
Now, view the updated balances of the origin and destination accounts:
```bash

View File

@ -208,7 +208,7 @@ type Result struct {
// GasWanted is the maximum units of work we allow this tx to perform.
GasWanted int64
// GasUsed is the amount of gas actually consumed. NOTE: unimplemented
// GasUsed is the amount of gas actually consumed.
GasUsed int64
// Tx fee amount and denom.