EIP-3238 · Stagnant · Core · 2021-01-25
EIP-3238: Difficulty Bomb Delay to Q2/2022
A stagnant proposal to delay proof-of-work Ethereum's difficulty bomb by 11 million blocks so 30-second blocks would not arrive until around Q2 2022; a different delay (EIP-3554) shipped instead.
What problem does it solve?
Under proof of work, Ethereum's difficulty formula included the "difficulty bomb" (Ice Age): an extra term that doubles every 100,000 blocks. Its purpose was to force regular upgrades and eventually push the network toward proof of stake. Left alone, it makes blocks progressively slower until the chain becomes unusable.
In early 2021 the Beacon Chain had launched but the Merge was still far off. This EIP argued that proof-of-work mining should stay viable, with normal 13–15 second blocks, for roughly ten more months while Ethereum 1.x and 2.0 developers finished the Merge.
How it works
Like earlier delays (EIP-2384 in Muir Glacier, see EIP-2387), it doesn't change the bomb formula. It just feeds the bomb a "fake" block number that lags the real one:
fake_block_number = (
max(0, block.number - 11_000_000)
if block.number >= FORK_BLOCK_NUMBER
else block.number
)
Only the exponential ice-age term uses fake_block_number; the rest of the difficulty adjustment uses the real block number. The spec estimates this pushes the bomb back by about 26 million seconds (~9.9 months), returning to ~30-second blocks around Q2 2022.
It suggested shipping with or soon after Berlin, and no later than July 2021. It also floated bundling it with EIP-1559 so the delay would not come with any increase in issuance.
Sample code
The ice-age component of the PoW difficulty calculation with this delay applied (pseudocode):
BOMB_DELAY = 11_000_000
def ice_age_term(block_number: int, fork_block: int) -> int:
n = max(0, block_number - BOMB_DELAY) if block_number >= fork_block else block_number
period = n // 100_000
return 2 ** (period - 2) if period >= 2 else 0
# difficulty = parent_diff + adjustment(parent, timestamp) + ice_age_term(block.number, FORK)
Things to know
- Status: Stagnant. It never activated. The London upgrade instead shipped EIP-3554, which used a 9,700,000-block offset and pushed the bomb only to around December 2021.
- Arrow Glacier (EIP-4345) and later Gray Glacier delayed the bomb again until the Merge in September 2022 replaced proof of work, after which the bomb no longer matters.
- Because the bomb grows exponentially, the actual block-time impact of any offset depends on hashrate; dates in these EIPs are estimates, not guarantees.