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

Remove justified block from optimistic candidate conditions #2881

Merged
merged 1 commit into from
Apr 29, 2022

Conversation

mkalinin
Copy link
Collaborator

Simplifies the spec by removing "The justified checkpoint has execution enabled" condition from optimistic candidate evaluation.

Removal of this conditions implies a tiny change in client behaviour. Before the change, justification of a merge block immediately allowed to safely import blocks from any other chains. After the change, it becomes allowed only when SAFE_SLOTS_TO_IMPORT_OPTIMISTICALLY runs out. This negligible change doesn't affect security of merge transition process.

cc @paulhauner @ajsutton @potuz

@mkalinin mkalinin requested a review from djrtwo April 28, 2022 09:26
Copy link
Contributor

@ajsutton ajsutton left a comment

Choose a reason for hiding this comment

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

LGTM. Teku has already implemented this change.

@potuz
Copy link
Contributor

potuz commented Apr 28, 2022

Same with prysm

@mkalinin mkalinin merged commit 83bf20c into dev Apr 29, 2022
@hwwhww hwwhww deleted the mkalinin-patch-2 branch May 10, 2022 15:16
bors bot pushed a commit to sigp/lighthouse that referenced this pull request Aug 17, 2022
## Issue Addressed

Implements spec change ethereum/consensus-specs#2881

## Proposed Changes

Remove the justified block check from `is_optimistic_candidate_block`.
Woodpile37 pushed a commit to Woodpile37/lighthouse that referenced this pull request Jan 6, 2024
## Issue Addressed

Implements spec change ethereum/consensus-specs#2881

## Proposed Changes

Remove the justified block check from `is_optimistic_candidate_block`.
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