Skip to content

Disallow genesis sync by default #4377

@realbigsean

Description

@realbigsean

Description

Since withdrawals are now enabled, genesis sync is less secure than checkpoint sync.

Additionally, in deneb there's more reason to disallow it, since finalization has no bearing on the availability of data, and we're required to check if data is available for all deneb blocks. So once we start pruning blobs, we can't validate blocks with blobs outside the prune window.

Proposal

Can be done generally and in it's own PR to unstable:

  • Require an override flag to sync from genesis

Specific to deneb:

  • When povided the gensis sync flag, consider blocks that are from outside the prune window available if they are finalized
  • During checkpoint sync backfill, always consider blobs from prior to the provided checkpoint available regardless of whether the flag is provided

Relevant discussions:

ethereum/consensus-specs#3141
ethereum/consensus-specs#3169

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions