cosmos-sdk/x/auth
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
account.go Merge pull request #1379: Account constructor in AccountMaper 2018-07-09 20:29:14 -07:00
account_test.go Merge PR #1811: NewCoin takes sdk.Int 2018-07-31 02:09:50 +02:00
ante.go Merge PR #2276: make simulation no longer generate new privkeys 2018-09-08 16:55:49 +08:00
ante_test.go Introduce simulate mode 2018-08-31 19:04:11 +02:00
context.go in progress 2018-05-23 19:49:35 -07:00
context_test.go update for tm v0.22.0. tmlibs->tendermint/libs 2018-07-02 16:34:06 -04:00
feekeeper.go address Chris review 2018-05-25 21:14:49 -07:00
feekeeper_test.go Merge PR #1811: NewCoin takes sdk.Int 2018-07-31 02:09:50 +02:00
mapper.go fix Iterator leak, ref to https://github.com/cosmos/cosmos-sdk/issues/2105 2018-08-21 14:54:12 +08:00
mapper_test.go Merge pull request #1379: Account constructor in AccountMaper 2018-07-09 20:29:14 -07:00
stdtx.go Implement generate-only option for commands that create txs 2018-09-04 02:32:05 +02:00
stdtx_test.go Update to tendermint v0.22.6-rc0 (#1798) 2018-07-25 16:43:37 -04:00
wire.go Merge PR #1340: Reverted ChangePubKey 2018-06-22 21:53:24 +02:00