types: validator set update tests (#3284)

* types: validator set update tests

* docs: abci val updates must not include duplicates
This commit is contained in:
Ethan Buchman
2019-02-12 09:04:23 +04:00
committed by Anton Kaliaev
parent 8a9eecce7f
commit 08dabab024
2 changed files with 163 additions and 58 deletions
+4
View File
@@ -171,6 +171,10 @@ Note that the maximum total power of the validator set is bounded by
they do not make changes to the validator set that cause it to exceed this
limit.
Additionally, applications must ensure that a single set of updates does not contain any duplicates -
a given public key can only appear in an update once. If an update includes
duplicates, the block execution will fail irrecoverably.
### InitChain
ResponseInitChain can return a list of validators.