Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

close #409: sort validators by address on deserialization #410

Merged
merged 4 commits into from
Jul 6, 2020

Conversation

andrey-kuprianov
Copy link
Contributor

As discussed in #409, in order to maintain the type invariant of validator::Set, the validators are now sorted correctly also on deserializing the structure.

NB! when migrating from v. 0.33 to 0.34, the sorting order in sort_validators function needs to be changed.

  • Referenced an issue explaining the need for the change
  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Updated CHANGES.md

tendermint/src/validator.rs Outdated Show resolved Hide resolved
@brapse brapse merged commit 582e6ee into master Jul 6, 2020
@brapse brapse deleted the andrey/sort_valset_on_deserialize branch July 6, 2020 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants