cosmos-sdk/examples/democoin/x/pow
Alessio Treglia 599923fb99
Introduce simulate mode
Add a simulate only flag '--dry-run' to both CLI tx commands
and RESTful endpoints to trigger the simulation of unsigned
transactions.

* Turning --dry-run on causes the --gas flag to be ignored.
  The simulation will return the estimate of the gas required
  to actually run the transaction.
* Adjustment is no longer required. It now defaults to 1.0.
* In some test cases accounts retrieved from the state do not
  come with a PubKey. In such cases, a fake secp256k1 key is
  generated and gas consumption calculated accordingly.

Closes: #2110
2018-08-31 19:04:11 +02:00
..
client/cli Merge PR #1741: CoreContext Refactor 2018-08-06 20:11:30 +02:00
app_test.go Introduce simulate mode 2018-08-31 19:04:11 +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 Merge PR #1746: Remove ctx.IsCheckTx 2018-07-19 02:42:19 +02:00
handler_test.go Merge pull request #1379: Account constructor in AccountMaper 2018-07-09 20:29:14 -07:00
keeper.go Merge PR #1811: NewCoin takes sdk.Int 2018-07-31 02:09:50 +02:00
keeper_test.go Merge pull request #1379: Account constructor in AccountMaper 2018-07-09 20:29:14 -07:00
mine.go asdf 2018-07-09 00:59:51 -07:00
types.go asdf 2018-07-09 01:01:29 -07:00
types_test.go Merge PR #2040: Refactor Validator Account Types/Bech32 Prefixing 2018-08-31 00:06:44 -04:00
wire.go