cosmos-sdk/x/bank
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
simulation Fix non-deterministic map iteration in fuzzer (#2069) 2018-08-16 23:45:07 +02:00
app_test.go Merge PR #1925: Fix develop from FF merge 2018-08-06 21:49:17 +02:00
bench_test.go Merge PR #1811: NewCoin takes sdk.Int 2018-07-31 02:09:50 +02:00
errors.go Merge PR #1227: Set all Error strings 1st letters to lowercase. Fixes issue #1154 2018-06-13 21:13:22 +02:00
handler.go Example tag implementation for CoinKeeper 2018-05-10 17:36:55 +02:00
keeper.go asdf 2018-07-09 00:59:51 -07:00
keeper_test.go Merge PR #1811: NewCoin takes sdk.Int 2018-07-31 02:09:50 +02:00
msgs.go asdf 2018-07-09 00:59:51 -07:00
msgs_test.go Merge PR #1811: NewCoin takes sdk.Int 2018-07-31 02:09:50 +02:00
wire.go Switch the default modules to use wire.codec's MarshalJSON instead of json.Marshal 2018-05-31 11:51:15 -07:00