cosmos-sdk/x/gov
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 validator.Operator, sdk.Dec 2018-08-20 17:10:43 +02:00
tags Merge PR #1781: Gov tags cleanup 2018-07-21 03:58:45 +02:00
depositsvotes.go Address Anton's comments 2018-08-22 00:15:18 -07:00
endblocker_test.go Merge PR #1914: tallyResults added to state 2018-08-08 12:28:52 +02:00
errors.go gov enums marshal to String 2018-07-10 17:59:07 -07:00
genesis.go Merge pull request #1819: rational -> decimal 2018-08-14 20:15:02 -04:00
handler.go Merge branch 'develop' into bucky/merge-master 2018-08-19 16:24:45 -04:00
keeper_keys.go asdf 2018-07-09 00:59:51 -07:00
keeper_test.go fix Iterator leak, ref to https://github.com/cosmos/cosmos-sdk/issues/2105 2018-08-21 14:54:12 +08:00
keeper.go fixed GetLastProposalID function 2018-08-22 00:17:37 -07:00
msgs_test.go Merge PR #1811: NewCoin takes sdk.Int 2018-07-31 02:09:50 +02:00
msgs.go gov enums marshal to String 2018-07-10 17:59:07 -07:00
procedures.go Merge pull request #1819: rational -> decimal 2018-08-14 20:15:02 -04:00
proposals.go address Chris's comments 2018-08-22 00:15:18 -07:00
queryable.go address Chris's comments 2018-08-22 00:15:18 -07:00
tally_test.go Rename revoke(d) to jail(ed) 2018-08-22 17:56:13 +02:00
tally.go fix Iterator leak, ref to https://github.com/cosmos/cosmos-sdk/issues/2105 2018-08-21 14:54:12 +08:00
test_common.go Merge pull request #1819: rational -> decimal 2018-08-14 20:15:02 -04:00
wire.go Merge PR #1168: Governance MVP 2018-06-22 02:19:14 +02:00