Describe the bug
There is a test from https://github.com/dtr-org/unit-e/pull/937 PR which demonstrates that ValidatorState can be out-of-sync with Validator after reorgs. The mentioned PR resolves the issue with voting. We need to review every phase and resolve issues which can occur.
It seems that ValidatorState will have incorrect phase if we created a deposit but then during re-orgs it disappears. We should also write tests and check all other finalizer commits during re-orgs.
Describe the bug There is a test from https://github.com/dtr-org/unit-e/pull/937 PR which demonstrates that
ValidatorState
can be out-of-sync with Validator after reorgs. The mentioned PR resolves the issue with voting. We need to review every phase and resolve issues which can occur.It seems that ValidatorState will have incorrect phase if we created a deposit but then during re-orgs it disappears. We should also write tests and check all other finalizer commits during re-orgs.
Review