cosmos-sdk/client
Alessio Treglia f432c0c383
Simulate transactions before actual execution
* Change --gas=0 semantic in order to enable gas auto estimate.
* REST clients have been modified to simulate the execution of
  the tx first to then populate the context with the estimated
  gas amount returned by the simulation.
* The simulation returns both an unadjusted gas estimate and an
  adjusted one. The adjustment is required to ensure that the
  ensuing execution doesn't fail due to state changes that might
  have occurred. Gas adjustment can be controlled via the CLI's
  --gas-adjustment flag.
* Tiny refactorig of REST endpoints error handling.

Closes: #1246
2018-08-24 10:16:51 +01:00
..
context Simulate transactions before actual execution 2018-08-24 10:16:51 +01:00
keys Rename revoke(d) to jail(ed) 2018-08-22 17:56:13 +02:00
lcd Simulate transactions before actual execution 2018-08-24 10:16:51 +01:00
rpc Remove --select in block command (#2060) 2018-08-21 20:53:16 -04:00
tx Add plaintext flags to show keys; default print response to true; helptext updates 2018-08-21 15:36:53 -07:00
utils Simulate transactions before actual execution 2018-08-24 10:16:51 +01:00
flags.go Simulate transactions before actual execution 2018-08-24 10:16:51 +01:00
input.go Merge pull request #1856: gen-tx: Support User Given Key Passwords 2018-08-01 15:15:37 -04:00
keys.go update for tm v0.22.0. tmlibs->tendermint/libs 2018-07-02 16:34:06 -04:00