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

Simplify Push Proposer settings #11005

Merged
merged 3 commits into from
Jul 7, 2022

Conversation

james-prysm
Copy link
Contributor

What type of PR is this?
Other

related to #10593
What does this PR do? Why is it needed?

This PR simplifies the calls we make to updating proposer settings such as fee recipient through APIs.

previously we call the prepare beacon proposer API and validator registration API when:

  • Validator Client Starts
  • Validator Key status changes
  • Start of Epoch

This PR removes the calls when Validator Key status changes as it is consistently updated at the start of each epoch anyways. It is unlikely that the validator key will be chosen as a block proposer at the same time the proposer settings are updated, as it's rare for these settings to be updated after validator restart.

@james-prysm james-prysm added Cleanup Code health! Builder PR or issue that supports builder related work labels Jul 7, 2022
@james-prysm james-prysm self-assigned this Jul 7, 2022
@james-prysm james-prysm marked this pull request as ready for review July 7, 2022 21:13
@james-prysm james-prysm requested a review from a team as a code owner July 7, 2022 21:13
@prylabs-bulldozer prylabs-bulldozer bot merged commit 5e8b9dd into develop Jul 7, 2022
@delete-merged-branch delete-merged-branch bot deleted the simplify-push-proposer-settings branch July 7, 2022 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Builder PR or issue that supports builder related work Cleanup Code health!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants