---
eip: 8045
label: EIP-8045
title: Exclude slashed validators from proposing
status: Last Call
type: Standards Track
category: Core
created: 2025-10-16
requires: 7917
official: https://eips.ethereum.org/EIPS/eip-8045
source: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-8045.md
canonical: https://eips.huatuo.xyz/eip-8045/
lang: en
tldr: Stops slashed validators from being picked as block proposers, so a mass-slashing event no longer causes a long stretch of missed slots.
tags: [consensus, validators, slashing, proposers, resilience]
---

# EIP-8045: Exclude slashed validators from proposing

> Modify proposer selection to exclude slashed validators, improving network resilience and performance after mass slashings

**TL;DR:** 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](/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:

```python
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](/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.


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-8045
