mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00

* Problem: We need to store the `election_id` as part of the `validator_update` so we can efficiently check which election was resposible for the change Solution: Added the parameter to `store_validator_set` and aligned the tests * Problem: Logic for `upsert-validator show` is convoluted Solution: Rewrote the function to be much simpler * Problem: Need a uniqueness constraint for election_id wrt validator changes Solution: Added a new key to the db schema