EIP-3238 Delaying the Difficulty Bomb to Q2 2022 (Difficulty Bomb Delay to Q2/2022)
No call decision · Consensus & staking · EIP status Stagnant · created 2021-01-25
A proposal to use a fake block number in the mining difficulty calculation to delay the onset of the difficulty bomb (ice age) by about 10 months, keeping block production at its current rate until Q2 2022.
Why it is needed
Ethereum's proof-of-work chain has a difficulty bomb mechanism that exponentially raises mining difficulty as blocks accumulate, lengthening block production time. Once block time approaches 30 seconds, mining becomes effectively impossible, but at the time, the merge into Ethereum 2.0 was not yet complete, so mining needed to remain possible on the existing chain. If the bomb went off too soon, there was a risk the network would halt before the merge finished, so this proposal delays the bomb's onset by feeding the difficulty calculation a block number lower than the actual one.
What changes
Today
- As the block number keeps increasing, the difficulty bomb calculation applies unchanged, causing block time to keep growing
- Risk that PoW mining effectively halts once block time approaches 30 seconds
- The chain could stop before the merge work is finished
After EIP-3238
- After FORK_BLOCK_NUMBER, use block.number - 11,000,000 in the difficulty calculation
- This computes as if roughly 11 million blocks (about 9.89 months) earlier than actual, keeping block time at 13 to 15 seconds
- The bomb's onset is delayed until around Q2 2022
Who is affected
- Miners: Block time stays at 13 to 15 seconds, allowing mining to continue until the bomb goes off later.
- Eth1/Eth2 developers: They gain extra time to finish the merge work.
- Users monitoring the network: They can avoid a situation where block production suddenly slows down.
In depth
Changing the Difficulty Calculation with a Fake Block Number
In the calc_difficulty function, the block.number previously used to compute the exponential ice age component is replaced with fake_block_number. After FORK_BLOCK_NUMBER, fake_block_number is calculated as max(0, block.number - 11,000,000), while blocks before that still use block.number as is. This makes the difficulty calculator behave as though it is 11 million blocks earlier than it actually is, delaying the difficulty bomb's onset by that same amount.
The delay period is about 9.89 months
Converting 11 million blocks using the average block production time at the time comes to about 26 million seconds, or roughly 9.89 months. The author explains that this delay means the chain will again reach a block time of about 30 seconds around Q2 2022.
Background: Keeping Mining Alive Until the Merge
The goal is to ensure Ethash proof-of-work mining can keep running on the existing chain even after the Ethereum 2.0 mainnet launches. It keeps the average block time at 13 to 15 seconds for about the next 10 months, buying Eth1.x and Eth2 developers time to finish the merge work.
Proposed Timing for Activation
Since this changes how difficulty is calculated, it is not backwards compatible and must be included in a hard fork scheduled at a specific block number. The author proposes including it together with, or immediately after, the Berlin hard fork, no later than July 2021. As an alternative, the text also mentions bundling it with the EIP-1559 fee market change, the idea being to delay the difficulty bomb without further increasing inflation, while encouraging users to move toward participating in proof-of-stake consensus.
Security considerations
The original text states that this proposal has no known security issues.
Current status
According to its metadata, this EIP is in Stagnant status and was not adopted in the form proposed.