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

Suggested Fee Recipient : bug fix #10555

Merged
merged 5 commits into from Apr 21, 2022

Conversation

james-prysm
Copy link
Contributor

@james-prysm james-prysm commented Apr 20, 2022

What type of PR is this?

Bug fix

related to #10489
related to #10292

What does this PR do? Why is it needed?

the default fee recipient from the suggested fee recipient and the fee recipient config flags ( the flags used for setting the fee recipient address for inclusion rewards) were not working correctly due to a missed condition while the parsing of the flag and config file. this resulted in validators mapping to the default system address ( burn address). This was caught in an E2E test and unit tests failed to catch this condition of setting as the burn address. These issues are addressed in this PR by providing a fix and improved unit tests to catch this condition in the future.

A further improvement included in this pr that users should be warned if there are any issues with this setting so a condition was added to log this as a warning to the user.

specific validator to fee address mappings was working prior to this fix, only default fee recipient settings are affected.

suggested fee recipient can still be set on the beacon node ( if you do not provide the configurations through the validator client)

the feature only runs on post bellatrix blocks

@james-prysm james-prysm added Bug Something isn't working Merge PRs related to the great milestone the merge labels Apr 20, 2022
@james-prysm james-prysm self-assigned this Apr 20, 2022
@james-prysm james-prysm marked this pull request as ready for review April 21, 2022 01:48
@james-prysm james-prysm requested a review from a team as a code owner April 21, 2022 01:48
james-prysm and others added 2 commits April 20, 2022 20:52
@prylabs-bulldozer prylabs-bulldozer bot merged commit c8a7f6f into develop Apr 21, 2022
@delete-merged-branch delete-merged-branch bot deleted the suggest-fee-recipient-bug-fix branch April 21, 2022 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Merge PRs related to the great milestone the merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants