EIP-8383 · Draft · Networking · 2026-08-17
EIP-8383: Reduce CL Block Retention Window
Cuts how far back consensus clients must serve beacon blocks to peers, from 33,024 epochs (about five months) to 8,192 epochs (about 36 days), making checkpoint sync and storage much lighter.
What problem does it solve?
Consensus-layer (CL) clients are required to keep recent signed beacon blocks and serve them to peers through the BeaconBlocksByRange and BeaconBlocksByRoot requests. The required window, MIN_EPOCHS_FOR_BLOCK_REQUESTS, is currently 33,024 epochs, which is roughly five months.
That number comes from a worst-case weak-subjectivity calculation that uses a maximal safety decay (MAX_SAFETY_DECAY = 100). In practice, checkpoint sync is configured with SAFETY_DECAY = 10, and under current mainnet churn parameters that gives a weak-subjectivity bound of only about 3,532 epochs.
The mismatch has a real cost. A node that checkpoint-syncs from a state only hours old still has to backfill months of blocks before it meets the serving requirement. That costs download bandwidth, disk space, disk writes and time for the new node, and upload bandwidth for the peers serving it. Some CL clients also rebuild old execution payloads from the execution layer, so the CL window effectively sets a floor on how much history an execution client must keep.
How it works
The mainnet configuration changes to:
MIN_EPOCHS_FOR_BLOCK_REQUESTS = 8192
and compute_min_epochs_for_block_requests() simply returns that constant instead of deriving the value from the weak-subjectivity formula. Every existing serving and backfill rule that uses the function picks up the new value.
Why 8,192? The smallest power of two above the current 3,532-epoch bound is 4,096; the EIP picks the next one up as a conservative first step. At 32 slots per epoch and 12 seconds per slot, 8,192 epochs is about 36.4 days.
A fixed configured value (rather than one computed from live state) gives clients predictable pruning and backfill boundaries.
Sample code
The replacement function from the spec, plus the serving boundary it implies:
MIN_EPOCHS_FOR_BLOCK_REQUESTS = 8192
def compute_min_epochs_for_block_requests() -> Uint64:
return Uint64(MIN_EPOCHS_FOR_BLOCK_REQUESTS)
def oldest_epoch_to_serve(current_epoch: int) -> int:
return max(0, current_epoch - compute_min_epochs_for_block_requests())
# Spec test case: at epoch 500_000 a client MUST serve epochs 491_808..500_000.
assert oldest_epoch_to_serve(500_000) == 491_808
A request for epoch 491,807 in that example may be answered with ResourceUnavailable, and the requesting peer must not penalize the server for it.
Things to know
- Status: Draft. The value and rollout are still under discussion.
- No hard fork is needed. It changes peer-serving expectations only, and clients may keep more history if they want. Execution-layer history expiry is covered separately by EIP-4444.
- During a mixed rollout, older clients may ask for blocks between 8,192 and 33,024 epochs old and get refused; since some nodes already do not serve history, this is expected to have no effect.
- Security relies on an invariant: 8,192 epochs must stay above the maximum weak-subjectivity period. Spec tests must check this, and any future change to that bound must re-verify it.
- For long periods of non-finality, the EIP recommends that clients keep all unfinalized blocks rather than relying on the retention window.