EIP-1276 Difficulty bomb removal and reward adjustment (Eliminate Difficulty Bomb and Adjust Block Reward on Constantinople Shift)
No call decision · Consensus & staking · EIP status Stagnant · created 2018-07-31
A proposal to permanently remove the difficulty bomb calculation starting at the Constantinople fork, and to reduce the block reward from 3 ETH to 2 ETH.
Why it is needed
Ethereum's proof-of-work difficulty formula contains a factor that exponentially raises difficulty as the block number grows. This is commonly called the difficulty bomb, originally meant to naturally wind down mining before the transition to Casper (proof of stake). However, as Casper's implementation fell behind schedule, each time the difficulty bomb went off it lengthened block times and slowed down transaction processing, and the response so far had been to push back the bomb's timing through forks. This proposal argues for permanently removing the difficulty bomb factor itself instead of continuing to delay it. It also notes that at the time, Ethereum accounted for about 92% of the hashrate on ethash-based chains, and that excessive hashrate growth increases both energy consumption and the risk of miner-driven chain splits; it therefore proposes lowering the block reward from 3 ETH to 2 ETH to reduce mining's attractiveness as well.
What changes
Today
- The difficulty formula includes an exponential growth factor based on block number (the difficulty bomb)
- The block reward is 3 ETH, and uncle and nephew rewards are also calculated based on this 3 ETH
- Each time the difficulty bomb recurs, its trigger point must be pushed back via a fork
After EIP-1276
- Completely removes the exponential increment factor (epsilon) from the difficulty calculation starting at CNSTNTNPL_FORK_BLKNUM
- The block reward is reduced to 2 ETH, with the uncle reward recalculated as (8-k)*2ETH/8 and the nephew reward as 2ETH/32
- The difficulty bomb remains permanently removed, with no need to delay it again
Who is affected
- Miners: The block reward drops from 3 ETH to 2 ETH, reducing mining revenue
- Ordinary users: With the difficulty bomb gone, block production no longer slows down, keeping transaction processing stable
- Client developers: Both the difficulty calculation logic and the block, uncle, and nephew reward logic must be modified
- The Ethereum ecosystem: The proposer states that this reduces ETH issuance and restrains hashrate growth, lowering the risk of miner-driven chain splits
In depth
How the difficulty bomb is removed
Completely removes the exponential difficulty adjustment term epsilon, i.e. the int(2**((block.number // 100000) - 2)) term, from the calc_difficulty function. This term had been pushing difficulty up exponentially as the block number grew, lengthening block times. After its removal, the difficulty calculation is no longer affected by block number.
Block reward adjustment
Fixes new_block_reward at 2,000,000,000,000,000,000 wei (2 ETH) for blocks after CNSTNTNPL_FORK_BLKNUM. Blocks before that keep the existing block.reward value unchanged.
Uncle reward recalculation
For a post-fork block that includes an uncle block where block.number - uncle.number = k, the uncle reward is calculated as new_uncle_reward = (8 - k) * new_block_reward / 8. The formula's structure is the same as before the fork; only new_block_reward is substituted with the new 2 ETH value.
Nephew reward recalculation
The nephew reward is calculated as new_nephew_reward = new_block_reward / 32. This likewise keeps the existing formula structure, simply substituting new_block_reward with the 2 ETH value.
Conflict with EIP-1234
The text states explicitly that this proposal directly conflicts with the intent of EIP-1234. EIP-1234 also addresses the difficulty bomb and reward adjustment at Constantinople, but chooses to delay the bomb rather than remove it outright. The text leaves open for discussion which of the two proposals should be adopted.
Backward compatibility and application method
This change is not forward compatible and introduces backward incompatibilities in both the difficulty calculation and the block, uncle, and nephew reward structure. It must therefore be included in a hard fork scheduled for a specific block number, and the text proposes including it in Constantinople, the second Metropolis hard fork.
Incomplete state
At the time the text was written, test cases and an implementation had not yet been prepared, with a note that they would be written once the spec was adopted or implemented in clients. This EIP's status is currently Stagnant and it is no longer being actively discussed.