EIP-8045 · Last Call · Core · 2025-10-16
EIP-8045: Exclude slashed validators from proposing
Stops slashed validators from being picked as block proposers, so a mass-slashing event no longer causes a long stretch of missed slots.
What problem does it solve?
A slashed validator stays in the active set until its forced exit completes, and during that time it can still be chosen to propose a block. But the beacon chain's state transition already rejects any block from a slashed proposer. So every time one is selected, the slot is simply missed.
For an occasional slashing that is a minor nuisance. After a mass slashing (for example a bug in a popular client or staking setup) many validators can be slashed at once, and the chain may suffer a long period of degraded performance with many empty slots, possibly while the network is already in trouble and trying to recover.
How it works
The change is one line in the consensus spec: get_beacon_proposer_indices filters out slashed validators from the candidate list before the shuffle. Selection among the remaining active, unslashed validators is unchanged, still weighted by effective balance.
Historically this was not done because excluding slashed validators would reshuffle future proposers every time a slashing was processed, destabilising the lookahead. EIP-7917 fixed that by storing the proposer lookahead in the beacon state. With the schedule fixed in advance, slashings processed later no longer change it, so filtering becomes safe.
The authors considered an alternative (shuffle everyone, then skip slashed picks). It gives a slightly different exact selection but the same goal; they chose upfront filtering for simplicity.
Sample code
The modified function, from the spec:
def get_beacon_proposer_indices(
state: BeaconState, epoch: Epoch
) -> Vector[ValidatorIndex, SLOTS_PER_EPOCH]:
"""Return the proposer indices for the given ``epoch``."""
# Modified to exclude slashed validators
indices = [
i for i in get_active_validator_indices(state, epoch)
if not state.validators[i].slashed
]
seed = get_seed(state, epoch, DOMAIN_BEACON_PROPOSER)
return compute_proposer_indices(state, epoch, seed, indices)
Things to know
- Status: Last Call (deadline 2026-11-01 in the spec). It is close to final but can still change.
- It is a consensus-rule change and must ship in a scheduled network upgrade; it requires EIP-7917.
- Proposer slots already in the stored lookahead are not affected by new slashings; the filter applies when future epochs are computed.
- Fairness among honest validators is unchanged; they simply receive the slots slashed validators would have wasted.
- Slashing penalties and exit timing are not changed by this EIP.