cosmos-sdk/x/gov
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
tags Merge PR #1781: Gov tags cleanup 2018-07-21 03:58:45 +02:00
depositsvotes.go Fix linter errors 2018-09-03 07:58:57 -07:00
endblocker_test.go Revert "Merge PR #2217: Governance BFT Time" 2018-09-07 17:00:57 +02:00
errors.go gov enums marshal to String 2018-07-10 17:59:07 -07:00
genesis.go Revert "Merge PR #2217: Governance BFT Time" 2018-09-07 17:00:57 +02:00
handler.go Revert "Merge PR #2217: Governance BFT Time" 2018-09-07 17:00:57 +02:00
keeper.go Revert "Merge PR #2217: Governance BFT Time" 2018-09-07 17:00:57 +02:00
keeper_keys.go asdf 2018-07-09 00:59:51 -07:00
keeper_test.go Revert "Merge PR #2217: Governance BFT Time" 2018-09-07 17:00:57 +02:00
msgs.go Implement generate-only option for commands that create txs 2018-09-04 02:32:05 +02:00
msgs_test.go Merge PR #1811: NewCoin takes sdk.Int 2018-07-31 02:09:50 +02:00
procedures.go Revert "Merge PR #2217: Governance BFT Time" 2018-09-07 17:00:57 +02:00
proposals.go Revert "Merge PR #2217: Governance BFT Time" 2018-09-07 17:00:57 +02:00
queryable.go Fix linter errors 2018-09-03 07:58:57 -07:00
tally.go Merge PR #2040: Refactor Validator Account Types/Bech32 Prefixing 2018-08-31 00:06:44 -04:00
tally_test.go Merge PR #2251: Refactor Bech32 Prefixes and Nomenclature of Validator Pubkey and Operator 2018-09-08 16:44:58 +08:00
test_common.go Merge PR #2146: x/bank: Keeper Interfaces 2018-09-10 14:25:34 -04:00
wire.go Merge PR #1168: Governance MVP 2018-06-22 02:19:14 +02:00