cosmos-sdk/x
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
..
auth Simulate transactions before actual execution 2018-08-24 10:16:51 +01:00
bank Simulate transactions before actual execution 2018-08-24 10:16:51 +01:00
distribution Merge pull request #1819: rational -> decimal 2018-08-14 20:15:02 -04:00
gov Simulate transactions before actual execution 2018-08-24 10:16:51 +01:00
ibc Simulate transactions before actual execution 2018-08-24 10:16:51 +01:00
mock Merge PR #2068: Minor simulation changes 2018-08-17 16:19:33 +02:00
params Merge pull request #1819: rational -> decimal 2018-08-14 20:15:02 -04:00
slashing Simulate transactions before actual execution 2018-08-24 10:16:51 +01:00
stake Simulate transactions before actual execution 2018-08-24 10:16:51 +01:00