Commit Graph

1286 Commits

Author SHA1 Message Date
Christopher Goes 60d188ded0
Merge PR #2501: Simulate transactions for fee distribution, simulate inflation, and fix a multitude of bugs discovered in the process of doing so 2018-10-23 21:21:37 +02:00
Christopher Goes 3d270babc0 Store last total power as sdk.Int, not sdk.Dec 2018-10-23 20:48:50 +02:00
Christopher Goes 306fb8fb6d Address @rigelrozanski comments 2018-10-23 20:33:39 +02:00
Christopher Goes edd56be952 Cleanup, additional item in PENDING.md 2018-10-23 18:29:39 +02:00
Christopher Goes 6bf7e02a27 Back to on-operation=false, update PENDING.md 2018-10-23 18:10:06 +02:00
Christopher Goes 33c8238392 Merge branch 'develop' into cwgoes/check-supply-in-simulation 2018-10-23 17:54:58 +02:00
Christopher Goes be66a4950e Remove debugging print statements 2018-10-23 15:50:35 +02:00
Christopher Goes 5790d013fe Merge remote-tracking branch 'origin/jae/check-supply-in-simulation2' into cwgoes/check-supply-in-simulation 2018-10-23 15:43:28 +02:00
rigelrozanski 8999ee8797 re-enable simulation parameters 2018-10-23 00:53:06 -04:00
rigelrozanski 5a559f75c5 simulation stop early with no proposers 2018-10-22 23:55:49 -04:00
Jae Kwon fa3730a5d2 WIP looking for bug... 2018-10-22 19:48:28 -07:00
Jae Kwon 1630c0f0f3 WIP intermediate... 2018-10-22 19:02:52 -07:00
Jae Kwon ea565baa60 WIP intermediate... 2018-10-22 17:49:53 -07:00
Christopher Goes 7f43860ca9 Merge branch 'cwgoes/check-supply-in-simulation' of github.com:cosmos/cosmos-sdk into cwgoes/check-supply-in-simulation 2018-10-23 02:39:25 +02:00
Jae Kwon c3008d585b Add more useful logging 2018-10-22 16:24:19 -07:00
rigelrozanski bcc31920f1 correct LastValidatorPower
mistake
2018-10-22 17:17:46 -04:00
Federico Kunze 64f2235f59 Delete comment 2018-10-22 22:55:47 +02:00
rigelrozanski c4d7747a56 Merge remote-tracking branch 'origin/cwgoes/check-supply-in-simulation' into jae/check-supply-in-simulation 2018-10-22 15:51:52 -04:00
rigelrozanski a3447cd480 debug cleanup 2018-10-22 15:51:27 -04:00
rigelrozanski 278d23776b call hook on slashing 2018-10-22 14:59:00 -04:00
Jae Kwon 471ddeef3c tweak debug output 2018-10-22 09:50:17 -07:00
Federico Kunze 8415d8056f export validator unds and reds queriers 2018-10-22 12:12:05 +02:00
Federico Kunze 06d0198392 Added querier tests 2018-10-22 12:03:10 +02:00
Federico Kunze 4ed4c99141 More redelegation unit tests 2018-10-22 11:59:06 +02:00
Jae Kwon 19225fc5d4 Print debugging info 2018-10-22 02:42:40 -07:00
Federico Kunze 77177b2861 Merge develop and conflicts 2018-10-22 11:18:51 +02:00
Jae Kwon 1cc74320df Replicate Rigel's changes but w/ modifications as discussed + some name changes 2018-10-22 01:46:47 -07:00
Jae Kwon 5416af8a7a LastValidatorPower -> LastValidator 2018-10-21 15:28:14 -07:00
Jae Kwon 015b829a54 GetValidatorsBonded -> LastValidators etc 2018-10-21 15:26:58 -07:00
Christopher Goes 5aae4740db
Merge PR #2542: validator outgoing redelegations and unbonding delegations 2018-10-21 23:50:04 +02:00
Christopher Goes 3e22a36c5e
Merge PR #2545: Rename AccountMapper to AccountKeeper 2018-10-21 23:48:24 +02:00
Jae Kwon 3fa5778921 Update naming (BondedValidatorIndex->ValidatorsBondedIndex) and add some comments 2018-10-21 12:02:45 -07:00
Alessio Treglia a4c7faaa40
Mark --to and --amount flags required for gaiacli tx send
Closes: #2547
2018-10-20 23:55:29 -07:00
Alessio Treglia 6014089fa1
Rename AccountMapper to AccountKeeper
Closes: #2540
2018-10-20 23:22:48 -07:00
Federico Kunze 77d7fb0ba5 add comment 2018-10-20 22:42:22 +02:00
Federico Kunze 3af2a09c3d Delete Delegation 2018-10-20 22:39:03 +02:00
Federico Kunze debed9cd38 Fixed exported queriers 2018-10-20 22:31:26 +02:00
Federico Kunze 152b3bd67b Split delegator summary endpoint 2018-10-20 22:25:50 +02:00
Federico Kunze 8999a4d719 Add validator unbonds 2018-10-20 21:30:07 +02:00
Federico Kunze 9cdd2d07ef PENDING and minor querier test 2018-10-20 20:38:07 +02:00
Federico Kunze 15371dc364 Validator redelegation endpoint and querier 2018-10-20 20:31:20 +02:00
Christopher Goes c9e5c324c4 Merge branch 'develop' into cwgoes/check-supply-in-simulation 2018-10-20 01:40:18 +02:00
Christopher Goes c88fc481d4 Fix linter issues 2018-10-20 01:05:07 +02:00
Federico Kunze 57277d1143 Merge PR #2537: Staking REST utils refactor and querier tests (pt 1 redelegation PR) 2018-10-20 00:49:10 +02:00
Christopher Goes 255a6a5db8 Cleanup to one hook 2018-10-20 00:19:10 +02:00
Christopher Goes 7770aec306 Withdraw rewards on bonded to unbonding 2018-10-20 00:13:44 +02:00
rigelrozanski a6ef3c42aa use power instead of total tokens 2018-10-19 17:41:39 -04:00
Christopher Goes dc13a0c61d Use InflateSupply instead 2018-10-19 23:06:18 +02:00
Christopher Goes 1afb5bf9d2 Simulate minting, fix bug where pool was not updated 2018-10-19 23:01:23 +02:00
Christopher Goes 843ccaf615 Remove comment 2018-10-19 22:33:21 +02:00