Commit Graph

1228 Commits

Author SHA1 Message Date
Federico Kunze
f8486aeca5 Add deposits endpoint and tests 2018-10-12 19:05:22 -07:00
Christopher Goes
1ff2e865a8 Back to greater than 2018-10-12 21:15:39 +02:00
Christopher Goes
bdfb10f551 Clarify testcase 2018-10-12 21:10:55 +02:00
Christopher Goes
a83535aef3 Greater than to greater than or equal to 2018-10-12 21:09:23 +02:00
rigelrozanski
06fa518e30 address @cwgoes comments, add in precommit calculation 2018-10-12 07:15:13 -04:00
rigelrozanski
dba20d1725 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-12 06:06:24 -04:00
rigelrozanski
7b1f4a87ea finished off validator tests 2018-10-12 06:06:01 -04:00
rigelrozanski
94731a502a some validator dist tests 2018-10-12 05:51:00 -04:00
rigelrozanski
a60b91b7b2 bugfix form TestWithdrawDelegationRewardTwoDelegatorsUneven 2018-10-12 05:37:30 -04:00
rigelrozanski
f3c0496c99 TestWithdrawDelegationRewardsAll 2018-10-12 04:11:09 -04:00
Christopher Goes
8c2c9dba8a Update block height on validator bonding 2018-10-12 00:15:58 +02:00
Christopher Goes
5fd7297e25 Count missed blocks instead of signed blocks 2018-10-12 00:04:44 +02:00
Christopher Goes
f6e92df3fa Create signing info struct on validator bond hook 2018-10-11 22:48:00 +02:00
mossid
42c7a09075 Merge branch 'develop' into joon/paramstore-refactor-base 2018-10-12 00:09:07 +09:00
Christopher Goes
dbd4f30b39 Merge branch 'develop' into dev/lock_tools 2018-10-11 08:48:15 +02:00
rigelrozanski
8cb6d106d1 TestWithdrawDelegationRewardWithCommission 2018-10-11 02:26:54 -04:00
rigelrozanski
8e378e2b2d got basic delegation tests working 2018-10-11 02:14:06 -04:00
rigelrozanski
f4f39ae03f allocation tests 2018-10-10 23:16:49 -04:00
rigelrozanski
900a5f47f6 keeper_test 2018-10-10 22:53:25 -04:00
Alessio Treglia
0f4a03b44e Alessio/server refactor (#2472)
* Add arg to PrintUnsignedStdTx() to actually operate in offline mode
* WIP simplifying server module
* Expose ExternalIP()
* Move {GenTx,Init}Cmd into gaia's new init package
2018-10-10 15:45:41 -07:00
rigelrozanski
3b5e57be08 ctx with proposer, working through allocation test 2018-10-10 17:43:47 -04:00
mossid
5c92a546c6 rename store subspace, add WithTypeTable 2018-10-11 05:01:30 +09:00
mossid
03975407ba Merge branch 'develop' into joon/paramstore-refactor-base 2018-10-10 21:20:59 +09:00
ValarDragon
9e334afad0 Lock binary dependencies to a specific commits / versions
This is basically copying over @anton's great script!

Also had to run `make format` to make this pass `test_lint`.
This PR also makes the make commands for tools further align
with the tendermint implementation.
2018-10-09 23:52:36 -07:00
rigelrozanski
22de85651f fix distr initialization 2018-10-09 21:59:07 -04:00
rigelrozanski
52316d9ef6 fix initialization of the test 2018-10-09 21:43:23 -04:00
rigelrozanski
ace19d9264 Merge branch 'rigel/fee-distribution' of https://github.com/cosmos/cosmos-sdk into rigel/fee-distribution 2018-10-09 20:37:47 -04:00
rigelrozanski
151a81eddb staking changes test_cover fixes 2018-10-09 20:37:22 -04:00
rigelrozanski
fc9bafb8d3 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-09 20:19:22 -04:00
Christopher Goes
6d4975e2c2 R4R: Fix simulation proposer (#2460)
* Correctly set proposer in randomized simulation

* Return nil if no validators are present
2018-10-09 19:14:46 -04:00
rigelrozanski
c9730329bf ... 2018-10-09 13:58:59 -04:00
rigelrozanski
46fe52bbac create test initialization for distr 2018-10-09 11:27:26 -04:00
Christopher Goes
9c53f5aadf Merge branch 'develop' into cwgoes/nextvalset 2018-10-09 06:33:19 +02:00
HaoyangLiu
1aebe103ba Merge branch 'develop' of https://github.com/cosmos/cosmos-sdk into bianjie/lcd-lite-swagger-ui 2018-10-09 09:21:45 +08:00
rigelrozanski
600532575b Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-08 20:15:17 -04:00
rigelrozanski
142f42ecc7 ... 2018-10-08 20:14:03 -04:00
Christopher Goes
4814ae4df5
Merge branch 'develop' into cwgoes/nextvalset 2018-10-08 06:44:29 +02:00
Sunny Aggarwal
cd21427a7b Merge PR #2405: Unbonding and Redelegations Queue 2018-10-08 06:43:47 +02:00
Dev Ojha
d661ccb30e Merge PR #2450: Add ValidateGenesis to staking, add more tests 2018-10-08 06:12:37 +02:00
Jae Kwon
a1bc7185a4
s/bonding/unbonding/ in a comment 2018-10-07 18:48:08 -07:00
mossid
9fc7e80d48 finalize rebase 2018-10-07 01:16:11 +09:00
mossid
4bf14c5650 apply request finalize, fix lint 2018-10-07 01:12:01 +09:00
mossid
7a68b376bd apply requests in progress 2018-10-07 01:12:01 +09:00
mossid
7d49675600 apply requests in progress 2018-10-07 01:12:01 +09:00
mossid
e7de48e375 address comments 2018-10-07 01:12:01 +09:00
mossid
a43a97bf10 address comments 2018-10-07 01:12:00 +09:00
mossid
2b3630eb6b finalize rebase 2018-10-07 01:12:00 +09:00
mossid
a766e0f2d9 address comments 2018-10-07 01:12:00 +09:00
Aleksandr Bezobchuk
67ac8c55b9 More minor cleanup 2018-10-07 01:12:00 +09:00
Aleksandr Bezobchuk
2aad1bd1b0 Minor doc and formatting updates 2018-10-07 01:12:00 +09:00
Aleksandr Bezobchuk
c3d94266a1 Fix gov keeper unit tests 2018-10-07 01:12:00 +09:00
mossid
c8746eccea fix lint 2018-10-07 01:12:00 +09:00
mossid
cc75924182 last rereview 2018-10-07 01:12:00 +09:00
mossid
d6105c5855 SetFromParamStruct -> SetStruct 2018-10-07 01:12:00 +09:00
mossid
9a35b7e949 space -> store, add doc 2018-10-07 01:12:00 +09:00
mossid
73b34353bf fix lint 2018-10-07 01:12:00 +09:00
mossid
39b5b388f1 finalize rebase 2018-10-07 01:12:00 +09:00
mossid
fd8713ef9c rm key & doc.go in progress 2018-10-07 01:12:00 +09:00
mossid
78a89df393 fix lint 2018-10-07 01:12:00 +09:00
mossid
74bf6c6bb6 string -> []byte in keeper_test.go 2018-10-07 01:12:00 +09:00
mossid
6d80faface string -> []byte 2018-10-07 01:12:00 +09:00
mossid
f33e856950 fix lint 2018-10-07 01:12:00 +09:00
mossid
37ce8d51c6 apply requests 2018-10-07 01:12:00 +09:00
mossid
bd6ee42c5a finalize rebase 2018-10-07 01:12:00 +09:00
mossid
61bc1a98c4 Key.s string -> []byte 2018-10-07 01:12:00 +09:00
mossid
cc0e2c9523 paramstore refactor base
rm debug code

fix lint

fix hack.go
2018-10-07 01:11:59 +09:00
rigelrozanski
e304b9c600 debugging simulation 2018-10-05 20:32:06 -04:00
Christopher Goes
1ed338fc5f Fixup comments 2018-10-05 20:00:01 +02:00
Christopher Goes
317be2bc16 Clarify ValidatorUpdateDelay 2018-10-05 19:56:17 +02:00
Christopher Goes
b625cf85a1 Cleanup testcase 2018-10-05 19:45:45 +02:00
Christopher Goes
482537e6c1
Merge PR #2430: Aggressive slashing simulation & fixes 2018-10-05 19:42:52 +02:00
rigelrozanski
83c2781c1c Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-05 13:23:01 -04:00
Christopher Goes
034163c021 Minor fixes 2018-10-05 14:58:19 +02:00
Christopher Goes
1909d8f269 Update slashing period key appropriately 2018-10-05 14:24:02 +02:00
Christopher Goes
1f12f204ce Testcase fixes, 'make format', negative pre-genesis block 2018-10-05 14:11:36 +02:00
Christopher Goes
91b755d220 Add testcase for failing to sign "extra block" 2018-10-05 13:52:30 +02:00
Christopher Goes
018aaeb443 Add testcase for slash at negative height 2018-10-05 13:40:00 +02:00
Christopher Goes
a2113b24dc Address TODOs in slashing tests 2018-10-05 13:31:26 +02:00
Christopher Goes
8befc3c41f Merge branch 'develop' into cwgoes/nextvalset 2018-10-05 13:07:45 +02:00
Dev Ojha
c4b243142d Merge PR #2438: Add tests for more staking key operations as requested 2018-10-05 12:42:52 +02:00
Rigel
9c9113fa3b Merge PR #2437: Distr-PR-4 Distribution Types 2018-10-05 12:41:38 +02:00
rigelrozanski
81d0f5f4a7 add wanted final test case functions 2018-10-04 21:37:40 -04:00
rigelrozanski
17dc812749 fix distribution endblocker issues 2018-10-04 20:20:43 -04:00
rigelrozanski
20a51e587c fix compile errors 2018-10-04 18:37:46 -04:00
rigelrozanski
45f0dd0e3b Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-04 18:33:12 -04:00
rigelrozanski
eb01cb4a35 checkout distr types PR updates 2018-10-04 18:29:03 -04:00
Christopher Goes
48672c4c0b More comments, update sim for NextValSet 2018-10-04 18:22:51 +02:00
Christopher Goes
8f4d3a6cd7 Merge branch 'develop' into cwgoes/nextvalset 2018-10-04 18:11:14 +02:00
Alexander Bezobchuk
2e040dd971 Merge PR #2442: Support removal of accounts in account mapper 2018-10-04 16:20:31 +02:00
HaoyangLiu
8e1bfee6ca Add swagger-ui for key management 2018-10-04 20:36:24 +08:00
HaoyangLiu
9f67e8af20 Merge PR #2215: Add swagger-ui for gaiacli lite-server 2018-10-04 13:00:24 +02:00
rigelrozanski
3a9102e2af fix 2018-10-04 03:34:10 -04:00
rigelrozanski
4d4de3aa09 delegator_dist_info tests 2018-10-04 03:26:02 -04:00
rigelrozanski
1e74da1abe validator_info tests 2018-10-04 03:00:24 -04:00
Dev Ojha
b4e8fe5e94 Merge PR #2435: Staking store keys bug fix + memory improvement
Improve memory efficiency of getting store keys

This is done by removing repeated appends, which will create a new
slice if theres insufficient capacity, and instead creating a key
of the correct size, and then copying the data into it.
2018-10-04 08:42:03 +02:00
Rigel
324bdaf55d Merge PR #2394: Split up UpdateValidator into distinct state transitions applied only in EndBlock 2018-10-03 18:37:06 +02:00
Christopher Goes
4fee7913b5 Fix issue from earlier merge 2018-10-03 17:59:01 +02:00
Christopher Goes
26d43ff94a Merge branch 'develop' into cwgoes/nextvalset 2018-10-03 17:58:14 +02:00
Christopher Goes
17983460b8
Merge PR #2219: Update to Tendermint 0.24 (except NextValSet offsets) 2018-10-03 17:48:23 +02:00
Christopher Goes
08fcd9967d Merge branch 'cwgoes/update-tendermint-upstream' into cwgoes/nextvalset 2018-10-02 14:05:35 +02:00