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

Empty Committee Check in Submit Attestation #5672

Merged
merged 2 commits into from
Apr 29, 2020

Conversation

rauljordan
Copy link
Contributor

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

Sometimes due to a node disconnection or other timing-related issue, we get an empty duty with an empty committee when a validator attempts to attest. Instead of logging a scary error of [2020-04-17 20:00:05] ERROR validator: Validator ID 0 not found in committee of [] pubKey=0xb4cffec577dd slot=0, we emit a debug-level log that a received committee was empty in the duty value and exit the function early.

Which issues(s) does this PR fix?

Fixes #5481

@rauljordan rauljordan requested a review from a team as a code owner April 29, 2020 02:24
@rauljordan rauljordan self-assigned this Apr 29, 2020
@rauljordan rauljordan added Bug Something isn't working OK to merge Ready For Review A pull request ready for code review labels Apr 29, 2020
@prylabs-bulldozer prylabs-bulldozer bot merged commit 3b2c514 into master Apr 29, 2020
@delete-merged-branch delete-merged-branch bot deleted the validator-id-errs branch April 29, 2020 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'Could not locate validator index in DB slot=0' Error
2 participants