Commit Graph

4704 Commits

Author SHA1 Message Date
Federico Kunze 8414c344fa Merge branch 'fedekunze/2819-fix-tx-search' of https://github.com/cosmos/cosmos-sdk into fedekunze/2819-fix-tx-search
Merge branch
2018-11-28 00:01:02 +01:00
Federico Kunze 7cf5da2f72 address Chris' comments 2018-11-28 00:00:38 +01:00
Federico Kunze 9751a61b46
Merge branch 'develop' into fedekunze/2819-fix-tx-search 2018-11-27 22:56:36 +01:00
Federico Kunze 14154f71be deleted unnecessary function 2018-11-27 22:54:25 +01:00
Federico Kunze ebaac49142 minor changes from review 2018-11-27 22:47:56 +01:00
Alexander Bezobchuk d8683fe90b
Update client/tx/search.go
Co-Authored-By: fedekunze <31522760+fedekunze@users.noreply.github.com>
2018-11-27 22:38:13 +01:00
Alexander Bezobchuk 71aec4688b Fix starting Gaia Lite (#2918)
* Fix starting Gaia Lite
2018-11-27 12:19:01 -08:00
Alexander Bezobchuk cdb027e914 Merge PR #2917: Print commit ID in hex 2018-11-27 18:24:53 +01:00
Tony Stark f8ee8a7f78 Merge PR #2896: Fixed account sequence issue in IBC relay 2018-11-27 18:22:43 +01:00
Federico Kunze 2d9ce3121b updated tests 2018-11-27 16:52:27 +01:00
Federico Kunze 9c85e935fd Merge branch 'develop' of https://github.com/cosmos/cosmos-sdk into fedekunze/2819-fix-tx-search
Merge develop
2018-11-27 16:38:08 +01:00
Federico Kunze f97b934c73 few more tx search tests 2018-11-27 16:37:53 +01:00
Federico Kunze 1dab1f7c98 Merge branch 'fedekunze/2819-fix-tx-search' of https://github.com/cosmos/cosmos-sdk into fedekunze/2819-fix-tx-search
Merge branch
2018-11-27 16:02:20 +01:00
Federico Kunze cd812c788f fix comments and cmd description 2018-11-27 16:02:03 +01:00
Federico Kunze 9bf2041c26
delete comments on lcd tests 2018-11-27 15:20:41 +01:00
Federico Kunze 666fafb97a add other tests and update docs 2018-11-27 15:16:33 +01:00
Federico Kunze a2189bc672 fix tx search CLI 2018-11-27 14:37:03 +01:00
Jae Kwon d1e76221d8
Jae/simulator improvements (#2900)
* Make simulator operations predetermined
* Use new dbm.ReverseIterator API
* Simulation speed improvements
* Pin exact revisions, not branches
* Rename 'MountStoresIAVL' to 'MountStores'
* Zero Power Block fees to community pool
2018-11-27 00:14:22 -08:00
Greg Szabo 2e0dfc31af Added goimports tool to get_tools. Fixed get_tools build. (#2889)
* Added goimports tool to get_tools. Get_tools now only builds new versions if binaries are missing.
* Added the goimports format command from yutianwu's PR
* goimports install typo fix
2018-11-26 14:20:43 -05:00
Alessio Treglia 469b8eff6b R4R: Update genesis docs (#2833)
* Extend validator-setup.md
2018-11-26 12:21:09 -05:00
Federico Kunze 9fdd4300f2 update cli tx search 2018-11-26 15:55:42 +01:00
Federico Kunze 198b27b801 Merge branch 'fedekunze/2819-fix-tx-search' of https://github.com/cosmos/cosmos-sdk into fedekunze/2819-fix-tx-search
Merge develop
2018-11-26 13:41:21 +01:00
Federico Kunze 60fc7c7919 Merge develop 2018-11-26 13:41:00 +01:00
Jae Kwon 7ec2b9a72b Fix merge conflict issues from previous squash commit 2018-11-26 04:27:23 -08:00
Christopher Goes ad121f1498 Add a flag to export for zero-height start (#2827)
Closes #2812

This PR adds the flag --for-zero-height to gaiad export, which runs several alterations to the application state to prepare for restarting a new chain in a consistent fashion.

It also:

* Moves Gaia's export code to cmd/gaia/app/export.go for cleaner separation.
* Fixes an inconsistency where we treated the initChainer as happening at height -1 - it should now happen at height 0, since the first header sent by Tendermint has height 1.
* Runs the runtime invariant checks on start (in initChainer)
* Adds a few auxiliary functions to clear slashing periods
* Removes the Height field from Delegation objects in x/stake, which was not used anywhere
2018-11-26 04:21:23 -08:00
frog power 4000 7cb1ba625e blockly minting (#2825)
* update mechanism to use average block time
* correctly sets accum height for zero-delegations
* update Decimal Format()
* clip withdrawal tokens
* PositiveDelegationInvariant
* DelegatorSharesInvariant
* DelAccumInvariants
2018-11-26 04:13:47 -08:00
Alessio Treglia 4c36b0fe05 Merge PR #2881: Don't call gaiacli tx sign. Use utils.SignStdTx() instead.
This is to avoid command redirection and reduce the use
of viper's global variables.

Closes: #2875
2018-11-26 12:50:33 +01:00
Christopher Goes c21961b21d
Merge PR #2886: Don't get command through client.{Get,Post}Commands()
* Don't get command through client.{Get,Post}Commands()

Logic has changed recently and commands are now enriched
with flags by default.

Closes: #2884
2018-11-26 12:46:22 +01:00
Sunny Aggarwal b7da2eaa33 Merge PR #2799: Account numbers and sequences to uint64 2018-11-26 12:29:21 +01:00
yutianwu 2d071763d1 Merge PR #2899: Remove redundant $ 2018-11-26 11:26:05 +01:00
frog power 4000 8af2eb2b5f
Merge PR #2795: Enforce block maximum gas limit in DeliverTx
R4R: Enforce block maximum gas limit in DeliverTx
2018-11-26 00:00:43 -05:00
rigelrozanski f12ac439f7 dep 2018-11-25 23:44:51 -05:00
rigelrozanski 0da24727a3 Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas 2018-11-25 23:34:11 -05:00
Jae Kwon 819af35962 Final fixes from review 2018-11-24 18:15:02 -08:00
Alexander Bezobchuk 5792e1d5c4
Apply suggestions from code review
Co-Authored-By: jaekwon <jae@tendermint.com>
2018-11-24 18:10:39 -08:00
dongsamb 33d64b6163 Merge PR #2891: Remove redundant temporary code remDelPool when calc DelPool 2018-11-23 17:28:29 +01:00
rigelrozanski ce10ef2b27 replaced proto with codec in baseapp 2018-11-22 12:41:20 -05:00
rigelrozanski 0861112b70 Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas 2018-11-22 12:34:41 -05:00
rigelrozanski 56fa7dc4ef fix BlockGasRecovery 2018-11-22 12:34:13 -05:00
Alessio Treglia c22b400ba8 Add missing cmd 2018-11-22 15:49:56 +00:00
Alessio Treglia b8b502c43a Same for democli 2018-11-22 14:42:35 +00:00
Alessio Treglia 83793a8974 Update PENDING.md 2018-11-22 14:36:28 +00:00
Alessio Treglia c245a3deb1 Don't get command through client.{Get,Post}Commands()
Logic has changed recently and commands are now enriched
with flags by default.

Closes: #2884
2018-11-22 13:51:51 +00:00
Christopher Goes 2d3e1afea8 Add demonstrative failing testcase 2018-11-22 11:21:11 +01:00
rigelrozanski abed373d5c extra max block gas test at limit 2018-11-22 00:36:12 -05:00
rigelrozanski b4b61b890c address some comments while reviewing Jaes work 2018-11-22 00:30:04 -05:00
rigelrozanski 972377c287 lint 2018-11-21 23:49:05 -05:00
John McDowall f09fa33cfd Merge PR #2802: Correct the usage of misspelling of English word 'depositor'.
Throughout the codebase the misspelling 'depositer' of the English word
'depositor' has been used. This commit applies a global search and
replace to correct the misspelling.
2018-11-22 00:53:33 +01:00
Alessio Treglia 3e68e44063 Merge PR #2874: gaiad gentx subcommands refactoring
* gaiad gentx subcommands refactoring

- Replace STDIN/STDOUT redirection in `gaiad gentx` with subcommands
  command line options to redirect streams to file since viper does
  not handle redirection well.
- Use `BuildCreateValidatorMsg` to build a `MsgCreateValidator` rather
  than redirecting to `gaiacli tx stake create-validator`.
- `PrintUnsignedStdTx` now takes an `io.Writer` object.
- Mark `--pubkey`, `--amount` and `--moniker` as required flags
  instead of validating them manually.
- Use stake.NewDescription() to make a new Description - ref #2835

* Refresh PENDING.md
2018-11-22 00:44:13 +01:00
Alexander Bezobchuk 1ea0e4c457 Merge PR #2863: Transaction ValidateBasic
* Add ValidateBasic to Tx interface
* Update BaseApp unit tests
* Add missing return in ValidateBasic
* Update ValidateBasic to use IsNotNegative
* Add pending log entry
* Add unit test TestTxValidateBasic
* Fix broken lint regression
* Add sig count check to validation
* Add test case to TestTxValidateBasic
2018-11-21 11:16:56 +01:00