Jack Zampolin
97c0251bf7
Fix redelegation command
2018-11-12 13:01:00 -08:00
Jack Zampolin
b9b6f26c97
Merge pull request #2761 from WALL-E/patch-1
...
fix typo
2018-11-12 12:21:31 -08:00
Christopher Goes
0228d8f694
Merge branch 'develop' into dev/sim_msg_edit_val
2018-11-12 19:57:54 +01:00
Jack Zampolin
b7daf23366
R4R: Fix unbonding command flow ( #2727 )
2018-11-12 19:55:24 +01:00
Alessio Treglia
70826495b8
Merge PR #2752 : Don't hardcode bondable denom
2018-11-12 19:54:18 +01:00
zhangzheng
3bc245e198
fix typo
...
I think it might be a spelling mistake
2018-11-11 09:20:30 +08:00
Christopher Goes
94f45311a0
Fix state export/import, add to CI ( #2690 )
...
* Update slashing import/export
* More slashing.WriteGenesis
* Add test import/export to CI
* Store equality comparison.
* Fix validator bond intra-tx counter
* Set timeslices for unbonding validators
* WriteGenesis => ExportGenesis
* Delete validators from unbonding queue when re-bonded
* Hook for validator deletion, fix staking genesis tests
2018-11-08 16:28:28 -08:00
Dev Ojha
817f515956
Merge branch 'develop' into dev/sim_msg_edit_val
2018-11-07 13:26:00 -08:00
Alexander Bezobchuk
8f690b5b6c
Merge PR #2714 : Add commission data to MsgCreateValidator signature bytes
2018-11-07 13:55:59 +01:00
Christopher Goes
cb3cb27b81
Merge branch 'develop' into dev/sim_msg_edit_val
2018-11-05 11:45:53 +01:00
Jae Kwon
336415baea
Fix simulation bugs; Incorprates #2676 from Sunny ( #2677 )
...
* Fix simulation bugs; Incorprates #2676 from Sunny
* Address review feedback; Update PENDING
2018-11-04 22:11:03 -08:00
Christopher Goes
256ec0f07b
Simulation improvements (logging fix, random genesis parameters) ( #2617 )
...
* Print out initial update on every block
* Randomize simulation parameters
* Randomize initial liveness weightings
* Randomize genesis parameters
* fixed power store invariant
* IterateValidatorsBonded -> IterateBondedValidatorsByPower
* WriteValidators uses IterateLastValidators rather than IterateBondedValidatorsByPower
* fixed democoin interface
Closes #2556
Closes #2396
Via #2671 :
closes #2669
closes #2670
closes #2620
Offshoot issues:
#2618
#2619
#2620
#2661
2018-11-04 20:44:43 -08:00
Alessio Treglia
c20fcbfd8f
New genesis workflow ( #2602 )
...
New genesis workflow:
* `gaiad init` is now used to generate an empty `genesis.json`.
* Genesis accounts need to be populated manually before running
`gaiad collect-gentxs`.
* This should support starfish too, see #2615 for more info.
* Closes : #2596 #2615
* Validate validator address and address against respective account ex ante
* Fix local testnet failures
* New genesis tests
* Run make format
* Add --pubkey flag
* gaiad collect-gentxs takes no args
2018-11-04 20:26:46 -08:00
Alexander Bezobchuk
50926fffff
Update to TM v0.26.0 - Part I ( #2679 )
...
* Update to TM v0.26.0
2018-11-04 18:28:38 -08:00
ValarDragon
f0024e1a73
Make the simulator create the new comission rate sensibly
2018-11-04 15:55:07 -08:00
Dev Ojha
8e328c8706
Merge PR #2665 : simulation: Remove header from Invariant
...
This got introduced recently, but wasn't actually needed, hence the reversion
2018-11-02 13:35:21 +01:00
ValarDragon
3cffe29da7
simulation: Make validator choice use validator set
...
This also had to change the default seed, since with the previous one it
actually got into a state where there were no validators left bonded, lol.
This also changes Unbond msgs from failing with almost 100% probability to now
only failing with 33% probability.
Thus more of the state machine is getting tested!
2018-11-01 12:45:22 -07:00
Jae Kwon
1538ab8de9
Merge branch 'develop' into release/v0.25.0
2018-10-30 17:54:54 -07:00
Christopher Goes
c93b116d23
Merge PR #2616 : Block redelegations to the same validator
2018-10-30 00:05:55 +01:00
Federico Kunze
855e0ac70a
Merge PR #2596 : Cmds for validator unbondings and redelegations
2018-10-28 22:28:12 +01:00
Christopher Goes
cce48dc68c
Docs fixes in progress while running through the release process
2018-10-26 15:47:07 +02:00
Rigel
d71f38bdac
Merge PR #2597 : Add distribution accum invariants
2018-10-26 13:42:53 +02:00
Jae Kwon
0f1fb179c4
Merge PR #2599 from cosmos/jae/dist_refactor
...
* Rename Pool -> DelRewards; PoolCommission -> ValCommision
* FeePool.Pool -> FeePool.ValPool
* WithdrawalHeight->DelPoolWithdrawalHeight
* OnValidatorBeginUnbonding
* Caught the bug's tail
* Update vi.FeePoolWithdrawalHeight upon bonding
* Fix staking slashUnbondingDelegation bug; fixes simulator failure #9
2018-10-26 13:27:55 +02:00
HaoyangLiu
9ee9e28439
Merge PR #2462 : Add swagger-ui for gov, stake and slashing
2018-10-24 15:19:48 +02:00
Jae Kwon
f756b40a01
LastValidatorPower is also an Int
2018-10-24 00:04:06 -07:00
Sunny Aggarwal
d666658ca9
Merge PR #2553 : Renamed msg.Name() and msg.Type() to msg.Type() and msg.Route()
2018-10-23 21:23:55 +02:00
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
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
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
278d23776b
call hook on slashing
2018-10-22 14:59:00 -04: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
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
Jae Kwon
3fa5778921
Update naming (BondedValidatorIndex->ValidatorsBondedIndex) and add some comments
2018-10-21 12:02:45 -07:00