cosmos-sdk/x/auth
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
..
client Simulate transactions before actual execution 2018-08-24 10:16:51 +01:00
account_test.go Merge PR #1811: NewCoin takes sdk.Int 2018-07-31 02:09:50 +02:00
account.go Merge pull request #1379: Account constructor in AccountMaper 2018-07-09 20:29:14 -07:00
ante_test.go Simulate transactions before actual execution 2018-08-24 10:16:51 +01:00
ante.go Simulate transactions before actual execution 2018-08-24 10:16:51 +01:00
context_test.go update for tm v0.22.0. tmlibs->tendermint/libs 2018-07-02 16:34:06 -04:00
context.go in progress 2018-05-23 19:49:35 -07:00
feekeeper_test.go Merge PR #1811: NewCoin takes sdk.Int 2018-07-31 02:09:50 +02:00
feekeeper.go address Chris review 2018-05-25 21:14:49 -07:00
mapper_test.go Merge pull request #1379: Account constructor in AccountMaper 2018-07-09 20:29:14 -07:00
mapper.go fix Iterator leak, ref to https://github.com/cosmos/cosmos-sdk/issues/2105 2018-08-21 14:54:12 +08:00
stdtx_test.go Update to tendermint v0.22.6-rc0 (#1798) 2018-07-25 16:43:37 -04:00
stdtx.go Upgrade to tm version 23.0. (#1927) 2018-08-12 03:33:48 -04:00
wire.go Merge PR #1340: Reverted ChangePubKey 2018-06-22 21:53:24 +02:00