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

Run on_tick before picking the head for proposal #2897

Merged
merged 1 commit into from
May 19, 2022
Merged

Conversation

mkalinin
Copy link
Collaborator

A follow up to #2878

It seems like running on_tick is intended by the original PR, otherwise, attestations of a previous slot couldn't be applied.

Currently, on_tick resets proposer boost in addition to advancing the current slot and may have some other logic in the future. Implicit reset of proposer boost became a source of confusion here #2895 (comment). Thus, I think it's important to have on_tick explicitly mentioned in the validator's spec.

cc @potuz @michaelsproul

@mkalinin mkalinin requested a review from djrtwo May 19, 2022 09:34
Copy link
Contributor

@michaelsproul michaelsproul left a comment

Choose a reason for hiding this comment

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

Agreed, that was the intention of the original PR but it's good to make it explicit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants