diff --git a/docs/sdk/clients.md b/docs/sdk/clients.md index be42a46dba..0a1c2a38d9 100644 --- a/docs/sdk/clients.md +++ b/docs/sdk/clients.md @@ -97,6 +97,12 @@ gaiacli send \ The `--amount` flag accepts the format `--amount=`. ::: +::: 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 diff --git a/docs/sdk/core/app1.md b/docs/sdk/core/app1.md index a2978ffb08..9338d30d99 100644 --- a/docs/sdk/core/app1.md +++ b/docs/sdk/core/app1.md @@ -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.