EIP-8062 · Draft · Core · 2025-10-28
EIP-8062: Add sweep withdrawal fee for 0x01 validators
Charges a 0.05 % fee, burned on the consensus layer, on the automatic partial "sweep" withdrawals of `0x01` validators, to pay for the resources they use and nudge large stakers toward consolidated `0x02` validators.
What problem does it solve?
Validators with 0x01 withdrawal credentials are capped at a 32 ETH effective balance. Everything above 32 ETH is automatically skimmed to the withdrawal address by the withdrawal "sweep" (EIP-4895) for free. These validators are also very capital-efficient, because almost no ETH sits idle above the effective balance.
Ethereum's fast-finality plans depend on stake consolidation: large staking providers moving from many 32 ETH 0x01 validators to fewer, bigger 0x02 compounding validators (up to 2048 ETH, from EIP-7251). Today the incentives point the other way: the free sweep and better capital efficiency, plus switching costs, give little reason to migrate. Meanwhile each sweep withdrawal consumes consensus- and execution-layer resources that nobody pays for.
How it works
A one-line change in process_withdrawals(): when a validator without compounding credentials receives a partial withdrawal (not a full exit), its balance is reduced by an extra amount // WITHDRAWAL_FEE_FRACTION. The fee is not paid to anyone; it is simply removed from the balance on the consensus layer.
| Constant | Value | Meaning |
|---|---|---|
WITHDRAWAL_FEE_FRACTION |
2000 | fee = 1/2000 = 0.05 % of the skimmed amount |
0x02compounding validators and full exits pay nothing.- The withdrawal amount sent to the execution layer is unchanged, so after skimming the validator's balance dips slightly below 32 ETH.
- A percentage, rather than a fixed fee, keeps the yearly cost stable even if sweeps become more frequent once fewer
0x01validators remain.
The authors size the fee to roughly match the execution-layer cost of a withdrawal (about 2,204 gas by their accounting) and estimate about 0.00048 ETH per validator per year, assuming a 3 % consensus-layer yield.
Sample code
The modified loop (consensus-spec Python):
WITHDRAWAL_FEE_FRACTION = 2000
def process_withdrawals(state: BeaconState, payload: ExecutionPayload) -> None:
...
for w in expected_withdrawals:
vi = w.validator_index
fee = 0
is_partial = w.amount != state.balances[vi]
if not has_compounding_withdrawal_credential(state.validators[vi]) and is_partial:
fee = w.amount // WITHDRAWAL_FEE_FRACTION # 0.05 %
decrease_balance(state, vi, w.amount + fee)
Expected fee for one skim, in Gwei:
skim_gwei = 23_500_000 # ~0.0235 ETH, the average skim cited in the spec
fee_gwei = skim_gwei // 2000 # 11_750 Gwei
Things to know
- Status: Draft. It would need a consensus-layer hard fork.
- The spec discusses higher alternative fees (
WITHDRAWAL_FEE_FRACTION= 400, 200 or 100, i.e. 0.25 %, 0.5 % or 1 %) in case EIP-8068, which addresses the capital-efficiency gap of0x02validators, is not shipped together. - Converting to
0x02credentials removes the fee; partial withdrawals for0x02validators remain available through execution-layer requests (EIP-7002), which are charged on the EL instead. - Some staking setups whose withdrawal contracts depend on
0x01credentials may find switching costly; the authors acknowledge this but argue the migration must happen eventually.