Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Problem: validator crash after re-joined with different validator key #2203

Closed
yihuang opened this issue Sep 4, 2020 · 0 comments
Closed
Assignees

Comments

@yihuang
Copy link
Collaborator

yihuang commented Sep 4, 2020

No description provided.

yihuang added a commit to yihuang/chain that referenced this issue Sep 4, 2020
…ifferent validator key

Solution:
- deduplicate staking address when doing cleanup
- index used_validator_addresses when initialize after load from storage
@yihuang yihuang self-assigned this Sep 4, 2020
bors bot added a commit that referenced this issue Sep 4, 2020
2204: Problem (Fix #2203): validator crash after re-joined with different validator key r=tomtau a=yihuang

Solution:
- deduplicate staking address when doing cleanup
- index used_validator_addresses when initialize after load from storage
- changed integration test to covert the use case

Co-authored-by: yihuang <yi.codeplayer@gmail.com>
@bors bors bot closed this as completed in 06f717f Sep 4, 2020
tomtau added a commit that referenced this issue Sep 4, 2020
(+ small modification on chain-abci/src/staking/table.rs due to changes on master
and not including integration test modifications, as drone CI only operates
on master)

Problem (Fix #2203): validator crash after re-joined with different validator key

Solution:
- deduplicate staking address when doing cleanup
- index used_validator_addresses when initialize after load from storage
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant