EIP-4345: Difficulty Bomb Delay to June 2022

Delays the difficulty bomb to be noticeable in June 2022.


Metadata
Status: FinalStandards Track: CoreCreated: 2021-10-05
Authors
Tim Beiko (@timbeiko), James Hancock (@MadeOfTin), Thomas Jay Rush (@tjayrush)

Abstract


Starting with FORK_BLOCK_NUMBER the client will calculate the difficulty based on a fake block number suggesting to the client that the difficulty bomb is adjusting 10,700,000 blocks later than the actual block number.

Motivation


Targeting for The Merge to occur before June 2022. If it is not ready by then, the bomb can be delayed further.

Specification


Relax Difficulty with Fake Block Number

For the purposes of calc_difficulty, simply replace the use of block.number, as used in the exponential ice age component, with the formula:


Rationale


The following script predicts a ~0.1 second delay to block time by June 2022 and a ~0.5 second delay by July 2022. This gives reason to address because the effect will be seen, but not so much urgency we don't have space to work around if needed.


Backwards Compatibility


No known backward compatibility issues.

Security Considerations


Misjudging the effects of the difficulty can mean longer blocktimes than anticipated until a hardfork is released. Wild shifts in difficulty can affect this number severely. Also, gradual changes in blocktimes due to longer-term adjustments in difficulty can affect the timing of difficulty bomb epochs. This affects the usability of the network but unlikely to have security ramifications.

In this specific instance, it is possible that the network hashrate drops considerably before The Merge, which could accelerate the timeline by which the bomb is felt in block times. The offset value chosen aimed to take this into account.

Copyright


Copyright and related rights waived via CC0.