cosmos-sdk/x/bank
Alessio Treglia fb0cc0b078 Merge PR #2306: Change --gas=0 semantic and introduce --gas=simulate
* Change --gas=0 semantic and introduce --gas=simulate

Make --gas flag accept a conventional "simulate" string value in addition
to integers. Passing --gas=simulate would trigger the tx simulation and
set the gas according to the gas estimate returned by the simulation.
Any other integer value passed to --gas would be interpreted as-is and
and set as gas wanted value.

Closes: #2300

* Add test cases with gas=0

* ACK suggestion from @alexanderbez

* s/GasFlagSimulateString/GasFlagSimulate/

* Drop TODO comment on Gas type

* Enrich TODO with ref
2018-09-11 20:31:30 -04:00
..
client Merge PR #2306: Change --gas=0 semantic and introduce --gas=simulate 2018-09-11 20:31:30 -04:00
simulation Merge PR #2146: x/bank: Keeper Interfaces 2018-09-10 14:25:34 -04:00
app_test.go No need to create a fake slice of signatures nor skip account no./sequence check 2018-08-31 19:09:39 +02:00
bench_test.go Merge PR #2146: x/bank: Keeper Interfaces 2018-09-10 14:25:34 -04: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 Merge PR #2146: x/bank: Keeper Interfaces 2018-09-10 14:25:34 -04:00
keeper_test.go Merge PR #2146: x/bank: Keeper Interfaces 2018-09-10 14:25:34 -04:00
msgs.go asdf 2018-07-09 00:59:51 -07:00
msgs_test.go Merge PR #2040: Refactor Validator Account Types/Bech32 Prefixing 2018-08-31 00:06:44 -04: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