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

Use correct attribute if there's a payload ID cache miss #11918

Merged
merged 6 commits into from
Jan 27, 2023

Conversation

terencechain
Copy link
Member

Before a validator proposes a block, the validator would update the head. If the head diffs from the previous head, the validator loses "the bet" and can no longer use the prev cached payload ID cache and will have to call fcu with payload attribute right before proposing. In this case, prysm has a bug that does not include the correct attribute with withdrawals

@terencechain terencechain requested a review from a team as a code owner January 25, 2023 21:31
@terencechain terencechain self-assigned this Jan 25, 2023
if err != nil {
return nil, err
}
case version.Bellatrix:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a default case where we return an error for an unknown version.

nisdas
nisdas previously approved these changes Jan 26, 2023
@terencechain terencechain added Ready For Review A pull request ready for code review Bug Something isn't working Withdrawals Blocked Blocked by research or external factors labels Jan 26, 2023
@terencechain
Copy link
Member Author

Blocking for @potuz

potuz
potuz previously approved these changes Jan 27, 2023
Copy link
Contributor

@potuz potuz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@potuz potuz dismissed stale reviews from nisdas and themself via efa4522 January 27, 2023 08:23
@potuz potuz added OK to merge and removed Blocked Blocked by research or external factors labels Jan 27, 2023
@prylabs-bulldozer prylabs-bulldozer bot merged commit 53a4939 into develop Jan 27, 2023
@delete-merged-branch delete-merged-branch bot deleted the use-correct-attribute branch January 27, 2023 11:13
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.

3 participants