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

PrepareBeaconProposer: bug fix #11912

Merged
merged 4 commits into from
Jan 24, 2023

Conversation

james-prysm
Copy link
Contributor

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?
This PR fixes a bug in the PrepareBeaconProposer API which is duplicating validator indexes when not persisted in DB, it does not disrupt the feature for users and is only done at startup and dynamic changes to fee recipient. It however can double the size of the request as well as printing duplicates in log. A unit test was added to catch similar errors in the future.

@james-prysm james-prysm requested a review from a team as a code owner January 24, 2023 16:22
@james-prysm james-prysm self-assigned this Jan 24, 2023
@james-prysm james-prysm requested review from kasey, potuz and nisdas January 24, 2023 16:22
@james-prysm james-prysm added Bug Something isn't working API Api related tasks labels Jan 24, 2023
@james-prysm james-prysm requested a review from rkapka January 24, 2023 16:22
@prylabs-bulldozer prylabs-bulldozer bot merged commit f9dd462 into develop Jan 24, 2023
@delete-merged-branch delete-merged-branch bot deleted the duplicate-validator-index-bugfix branch January 24, 2023 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Api related tasks Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants