-
Notifications
You must be signed in to change notification settings - Fork 934
Closed
Labels
Description
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:
terencechain and michaelsproul