cosmos-sdk/baseapp
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
..
testdata cosmos-sdk/app.App -> cosmos-sdk/baseapp.BaseApp 2018-01-20 20:13:46 -08:00
baseapp.go Simulate transactions before actual execution 2018-08-24 10:16:51 +01:00
baseapp_test.go Merge pull request #1812: Add BaseApp.Seal 2018-08-01 00:23:25 -04:00
doc.go cosmos-sdk/app.App -> cosmos-sdk/baseapp.BaseApp 2018-01-20 20:13:46 -08:00
helpers.go Merge pull request #1400: Cleanup Baseapp 2018-07-09 23:59:30 -04:00
options.go Merge PR #1533: Pruning Cleanup 2018-07-13 03:20:26 +02:00
query.go cosmos-sdk/app.App -> cosmos-sdk/baseapp.BaseApp 2018-01-20 20:13:46 -08:00
queryrouter.go addressed Jae's comments 2018-08-22 00:15:18 -07:00
router.go Merge PR #1705: baseapp: Allow alphanumerics in routes 2018-07-17 23:11:34 +02:00
setters.go address Chris's comments 2018-08-22 00:15:18 -07:00