{"eip":5133,"title":"Delaying Difficulty Bomb to mid-September 2022","description":"Delays the difficulty bomb by a further 700000 blocks, to the middle of September 2022.","authors":["Tomasz Kajetan Stanczak (@tkstanczak)","Eric Marti Haynes (@ericmartihaynes)","Josh Klopfenstein (@joshklop)","Abhimanyu Nag (@AbhiMan1601)"],"status":"Final","type":"Standards Track","category":"Core","created":"2022-06-01","discussionsTo":"https://ethereum-magicians.org/t/eip-5133-delaying-difficulty-bomb-to-mid-september-2022/9622","repo":"EIPs","label":"EIP-5133","officialUrl":"https://eips.ethereum.org/EIPS/eip-5133","sourceUrl":"https://github.com/ethereum/EIPs/blob/master/EIPS/eip-5133.md","url":"https://eips.huatuo.xyz/eip-5133/","tldr":{"en":"Pushed back the proof-of-work difficulty bomb by 700,000 blocks (to a total offset of 11.4M blocks), buying time for the Merge; activated in the Gray Glacier upgrade.","ja":"プルーフ・オブ・ワークの難易度爆弾を 70 万ブロック（合計オフセット 1,140 万ブロック）先送りし、The Merge までの時間を確保した。Gray Glacier アップグレードで有効化された。","ko":"작업 증명 난이도 폭탄을 70만 블록(총 오프셋 1,140만 블록) 늦춰 The Merge를 위한 시간을 벌었다. Gray Glacier 업그레이드에서 활성화되었다.","zh":"将工作量证明难度炸弹推迟 70 万个区块（总偏移量达到 1140 万个区块），为 The Merge 争取时间；在 Gray Glacier 升级中激活。"},"tags":["difficulty-bomb","pow","core","hardfork","gray-glacier"],"explainers":{"en":{"lang":"en","tldr":"Pushed back the proof-of-work difficulty bomb by 700,000 blocks (to a total offset of 11.4M blocks), buying time for the Merge; activated in the Gray Glacier upgrade.","tags":["difficulty-bomb","pow","core","hardfork","gray-glacier"],"related":[4345,3554,3675,649,1234],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-5133/","markdown":"## What problem does it solve?\n\nProof-of-work Ethereum had a \"difficulty bomb\" (ice age): an extra difficulty term that grows exponentially with block number. Its purpose was to force the community to keep upgrading and eventually leave proof-of-work. Each time it began to slow block times before the Merge was ready, a hard fork delayed it.\n\nBy mid-2022 the previous delay ([EIP-4345](/eip-4345/)) was running out and the Merge ([EIP-3675](/eip-3675/)) was not yet scheduled. Without action, block times would have kept rising and degrading the network. EIP-5133 delayed the bomb once more.\n\n## How it works\n\nFrom `FORK_BLOCK_NUMBER`, the difficulty calculation uses a fake block number for the ice-age term only:\n\n```python\nfake_block_number = (\n    max(0, block.number - 11_400_000)\n    if block.number \u003e= FORK_BLOCK_NUMBER\n    else block.number\n)\n```\n\nPrevious delays had used a 10.7M offset, so this adds 700,000 blocks. Nothing else in the difficulty formula changes.\n\nThe spec's prediction script estimated that the bomb would become noticeable around block 15,530,314, expected in mid-September 2022, with roughly 0.1 s slower blocks by mid-September and 0.6–1.2 s by early October. The authors note such estimates are imprecise, especially if hashrate dropped before the Merge.\n\n## Sample code\n\nThe prediction script from the spec's rationale:\n\n```python\nimport math\n\ndef predict_bomb_block(current_difficulty, diff_adjust_coeff, block_adjustment):\n    # Block at which the bomb is expected to become noticeable.\n    return round(block_adjustment + 100000 * (2 + math.log2(\n        diff_adjust_coeff * current_difficulty // 2048)))\n\n# difficulty on Jun 01 2022; bomb noticeable when coefficient \u003e= 0.1\nprint(predict_bomb_block(13891609586928851, 0.1, 11_400_000))  # 15530314\n```\n\n## Things to know\n\n- Status: **Final**. It was the only change in the Gray Glacier hard fork (mid-2022), the last delay before the Merge.\n- It was effectively the final bomb delay: the Merge happened in September 2022, after which blocks are produced by proof-of-stake and PoW difficulty no longer applies.\n- Earlier delays in the same family include [EIP-649](/eip-649/), [EIP-1234](/eip-1234/), [EIP-3554](/eip-3554/) and [EIP-4345](/eip-4345/).\n- No application or contract changes were needed; it only affected client consensus rules.\n"},"ja":{"lang":"ja","tldr":"プルーフ・オブ・ワークの難易度爆弾を 70 万ブロック（合計オフセット 1,140 万ブロック）先送りし、The Merge までの時間を確保した。Gray Glacier アップグレードで有効化された。","tags":["difficulty-bomb","pow","core","hardfork","gray-glacier"],"related":[4345,3554,3675,649,1234],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-5133/","markdown":"## 何を解決するのか\n\nプルーフ・オブ・ワーク時代の Ethereum には「難易度爆弾」（アイスエイジ）がありました。ブロック番号に対して指数関数的に増える追加の難易度項で、コミュニティにアップグレードを続けさせ、最終的にプルーフ・オブ・ワークから離れさせることが目的でした。The Merge の準備ができる前に爆弾がブロック時間を遅らせ始めるたびに、ハードフォークで先送りされました。\n\n2022 年半ばには、それまでの先送り（[EIP-4345](/eip-4345/)）が尽きかけており、The Merge（[EIP-3675](/eip-3675/)）はまだ日程が決まっていませんでした。何もしなければ、ブロック時間は上がり続けてネットワークを劣化させたでしょう。EIP-5133 は爆弾をもう一度先送りしました。\n\n## 仕組み\n\n`FORK_BLOCK_NUMBER` 以降、難易度の計算ではアイスエイジ項にのみ偽のブロック番号を使います。\n\n```python\nfake_block_number = (\n    max(0, block.number - 11_400_000)\n    if block.number \u003e= FORK_BLOCK_NUMBER\n    else block.number\n)\n```\n\nこれまでの先送りでは 1,070 万のオフセットが使われていたため、ここで 70 万ブロックが加わります。難易度の式のそれ以外は何も変わりません。\n\n仕様の予測スクリプトは、爆弾がブロック 15,530,314 付近（2022 年 9 月中旬の見込み）で目立ち始め、9 月中旬までにブロックが約 0.1 秒遅くなり、10 月初めには 0.6〜1.2 秒遅くなると見積もりました。著者は、特に The Merge の前にハッシュレートが低下した場合、こうした見積もりは正確ではないと述べています。\n\n## サンプルコード\n\n仕様の根拠（Rationale）にある予測スクリプト:\n\n```python\nimport math\n\ndef predict_bomb_block(current_difficulty, diff_adjust_coeff, block_adjustment):\n    # Block at which the bomb is expected to become noticeable.\n    return round(block_adjustment + 100000 * (2 + math.log2(\n        diff_adjust_coeff * current_difficulty // 2048)))\n\n# difficulty on Jun 01 2022; bomb noticeable when coefficient \u003e= 0.1\nprint(predict_bomb_block(13891609586928851, 0.1, 11_400_000))  # 15530314\n```\n\n## 知っておくべきこと\n\n- ステータス: **Final**。The Merge 前の最後の先送りとなった Gray Glacier ハードフォーク（2022 年半ば）における唯一の変更でした。\n- 事実上、最後の爆弾の先送りでした。The Merge は 2022 年 9 月に行われ、それ以降のブロックはプルーフ・オブ・ステークで生成され、PoW の難易度は適用されません。\n- 同じ系統のこれまでの先送りには、[EIP-649](/eip-649/)、[EIP-1234](/eip-1234/)、[EIP-3554](/eip-3554/)、[EIP-4345](/eip-4345/) があります。\n- アプリケーションやコントラクトの変更は不要で、影響を受けたのはクライアントのコンセンサスルールだけでした。\n"},"ko":{"lang":"ko","tldr":"작업 증명 난이도 폭탄을 70만 블록(총 오프셋 1,140만 블록) 늦춰 The Merge를 위한 시간을 벌었다. Gray Glacier 업그레이드에서 활성화되었다.","tags":["difficulty-bomb","pow","core","hardfork","gray-glacier"],"related":[4345,3554,3675,649,1234],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-5133/","markdown":"## 어떤 문제를 해결하나요?\n\n작업 증명 시절의 이더리움에는 \"난이도 폭탄\"(빙하기)이 있었습니다. 블록 번호에 따라 기하급수적으로 커지는 추가 난이도 항으로, 커뮤니티가 계속 업그레이드하도록 강제하고 결국 작업 증명을 떠나게 하는 것이 목적이었습니다. The Merge가 준비되기 전에 폭탄이 블록 시간을 늦추기 시작할 때마다 하드포크로 이를 미뤘습니다.\n\n2022년 중반에는 직전의 연기([EIP-4345](/eip-4345/))가 바닥나고 있었고 The Merge([EIP-3675](/eip-3675/))는 아직 일정이 잡히지 않았습니다. 아무 조치도 하지 않으면 블록 시간이 계속 늘어나 네트워크를 악화시켰을 것입니다. EIP-5133은 폭탄을 한 번 더 미뤘습니다.\n\n## 어떻게 동작하나요?\n\n`FORK_BLOCK_NUMBER`부터 난이도 계산은 빙하기 항에만 가짜 블록 번호를 사용합니다.\n\n```python\nfake_block_number = (\n    max(0, block.number - 11_400_000)\n    if block.number \u003e= FORK_BLOCK_NUMBER\n    else block.number\n)\n```\n\n이전의 연기들은 1,070만 오프셋을 사용했으므로 여기서 70만 블록이 더해집니다. 난이도 공식의 나머지는 바뀌지 않습니다.\n\n스펙의 예측 스크립트는 폭탄이 블록 15,530,314 즈음(2022년 9월 중순 예상)부터 눈에 띄기 시작하고, 9월 중순까지 블록이 약 0.1초, 10월 초에는 0.6~1.2초 느려질 것으로 추정했습니다. 저자들은 특히 The Merge 이전에 해시레이트가 떨어진 경우 이런 추정이 정확하지 않다고 밝힙니다.\n\n## 샘플 코드\n\n스펙의 Rationale에 있는 예측 스크립트:\n\n```python\nimport math\n\ndef predict_bomb_block(current_difficulty, diff_adjust_coeff, block_adjustment):\n    # Block at which the bomb is expected to become noticeable.\n    return round(block_adjustment + 100000 * (2 + math.log2(\n        diff_adjust_coeff * current_difficulty // 2048)))\n\n# difficulty on Jun 01 2022; bomb noticeable when coefficient \u003e= 0.1\nprint(predict_bomb_block(13891609586928851, 0.1, 11_400_000))  # 15530314\n```\n\n## 알아둘 점\n\n- 상태: **Final**. The Merge 이전 마지막 연기였던 Gray Glacier 하드포크(2022년 중반)의 유일한 변경이었습니다.\n- 사실상 마지막 폭탄 연기였습니다. The Merge는 2022년 9월에 이루어졌고, 이후 블록은 지분 증명으로 생성되어 PoW 난이도는 더 이상 적용되지 않습니다.\n- 같은 계열의 이전 연기로는 [EIP-649](/eip-649/), [EIP-1234](/eip-1234/), [EIP-3554](/eip-3554/), [EIP-4345](/eip-4345/)가 있습니다.\n- 애플리케이션이나 컨트랙트 변경은 필요 없었고, 클라이언트의 합의 규칙에만 영향을 주었습니다.\n"},"zh":{"lang":"zh","tldr":"将工作量证明难度炸弹推迟 70 万个区块（总偏移量达到 1140 万个区块），为 The Merge 争取时间；在 Gray Glacier 升级中激活。","tags":["difficulty-bomb","pow","core","hardfork","gray-glacier"],"related":[4345,3554,3675,649,1234],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-5133/","markdown":"## 它解决什么问题？\n\n工作量证明时代的以太坊有一个\"难度炸弹\"（冰河时代）：一个随区块号呈指数增长的额外难度项。它的目的是迫使社区不断升级，最终离开工作量证明。每当 The Merge 尚未就绪、炸弹就开始拖慢出块时间，就会用一次硬分叉把它推迟。\n\n到 2022 年年中，上一次推迟（[EIP-4345](/eip-4345/)）即将耗尽，而 The Merge（[EIP-3675](/eip-3675/)）还没有排期。如果不采取行动，出块时间会持续上升并损害网络。EIP-5133 把炸弹又推迟了一次。\n\n## 它如何运作\n\n从 `FORK_BLOCK_NUMBER` 开始，难度计算仅对冰河时代项使用一个虚假的区块号：\n\n```python\nfake_block_number = (\n    max(0, block.number - 11_400_000)\n    if block.number \u003e= FORK_BLOCK_NUMBER\n    else block.number\n)\n```\n\n之前的推迟使用的是 1070 万的偏移量，因此这里增加了 70 万个区块。难度公式中的其他部分均未改变。\n\n规范的预测脚本估计，炸弹大约在区块 15,530,314（预计 2022 年 9 月中旬）开始变得明显，到 9 月中旬出块大约慢 0.1 秒，到 10 月初慢 0.6–1.2 秒。作者指出这类估计并不精确，尤其是在 The Merge 之前算力下降的情况下。\n\n## 示例代码\n\n规范 Rationale 部分的预测脚本：\n\n```python\nimport math\n\ndef predict_bomb_block(current_difficulty, diff_adjust_coeff, block_adjustment):\n    # Block at which the bomb is expected to become noticeable.\n    return round(block_adjustment + 100000 * (2 + math.log2(\n        diff_adjust_coeff * current_difficulty // 2048)))\n\n# difficulty on Jun 01 2022; bomb noticeable when coefficient \u003e= 0.1\nprint(predict_bomb_block(13891609586928851, 0.1, 11_400_000))  # 15530314\n```\n\n## 需要注意\n\n- 状态：**Final**。它是 Gray Glacier 硬分叉（2022 年年中）中唯一的改动，也是 The Merge 之前的最后一次推迟。\n- 它实际上是最后一次炸弹推迟：The Merge 于 2022 年 9 月完成，此后区块由权益证明产生，PoW 难度不再适用。\n- 同一系列更早的推迟包括 [EIP-649](/eip-649/)、[EIP-1234](/eip-1234/)、[EIP-3554](/eip-3554/) 和 [EIP-4345](/eip-4345/)。\n- 无需修改任何应用或合约；它只影响客户端的共识规则。\n"}},"requiredBy":[8133]}
