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

Fork choice changes for confirmation rule #4566

Closed
paulhauner opened this issue Aug 2, 2023 · 3 comments
Closed

Fork choice changes for confirmation rule #4566

paulhauner opened this issue Aug 2, 2023 · 3 comments
Assignees
Labels
consensus An issue/PR that touches consensus code, such as state_processing or block verification. deneb

Comments

@paulhauner
Copy link
Member

paulhauner commented Aug 2, 2023

Description

There is a likely-to-be-merged proposal which makes a minor modification to fork choice:

ethereum/consensus-specs#3431

The change itself should be rather simple to implement. It's a small, isolated change which doesn't affect any persisted data (i.e., no database migration required).

There is some more complication in how we activate the changes (discussed in ethereum/consensus-specs#3466). There are two options:

  1. "Loosely coordinated": We simply replace the old logic with the new logic and then try and release around the same time as other clients. The network will be inconsistent for some weeks, however it's unlikely to be an issue.
  2. "Tightly coordinated": We keep the old and new logic around and switch from the old logic to the new logic at some epoch.

As of writing, there's no decision as to which route the clients will take.

If we take the (2) route we'll need to do some thinking to ensure that we don't end up with a mix of logic and an inconsistent state.

Update

It seems that the consensus is to go ahead with option (1): #4566 (comment)

@paulhauner paulhauner added consensus An issue/PR that touches consensus code, such as state_processing or block verification. deneb labels Aug 2, 2023
@jimmygchen
Copy link
Member

Hey Paul, thanks for the write up! I'm interested in working on this one.

@jimmygchen jimmygchen self-assigned this Aug 3, 2023
@realbigsean
Copy link
Member

On ACDC, it sounded like there was a preference for 1, and to include this in the deneb release

@michaelsproul
Copy link
Member

Implemented in #5094

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consensus An issue/PR that touches consensus code, such as state_processing or block verification. deneb
Projects
None yet
Development

No branches or pull requests

5 participants
@jimmygchen @michaelsproul @realbigsean @paulhauner and others