2 Commits

Author SHA1 Message Date
z-bowen
8a7cbc1ffb Problem: Need logic to allow for only one election that chages the validator set, multiple other elections, per block
Solution:
- created a boolean flag to track which elections update the validator set
- implemented a function to compute the updated validator set
- reworked `approved_electios` to use the new logic
- updated tests
2018-09-14 17:41:10 +02:00
z-bowen
cc0ce0e5e4 Problem: Need tests to verify that the unified conclusion for ValidatorElection and MigrationElection works when both election types conclude in the same block
Solution: Wrote some integration tests
2018-09-14 17:41:10 +02:00