{"eip":606,"title":"Hardfork Meta: Homestead","description":"This specifies the changes included in the hard fork named Homestead.","authors":["Alex Beregszaszi (@axic)"],"status":"Final","type":"Meta","created":"2017-04-23","requires":[2,7,8],"repo":"EIPs","label":"EIP-606","officialUrl":"https://eips.ethereum.org/EIPS/eip-606","sourceUrl":"https://github.com/ethereum/EIPs/blob/master/EIPS/eip-606.md","url":"https://eips.huatuo.xyz/eip-606/","tldr":{"en":"Meta EIP that records what went into Homestead, Ethereum's first planned hard fork (block 1,150,000, March 2016): EIP-2, DELEGATECALL (EIP-7) and the devp2p changes in EIP-8.","ja":"Ethereum 最初の計画的ハードフォークである Homestead（ブロック 1,150,000、2016 年 3 月）に何が含まれたかを記録するメタ EIP。EIP-2、DELEGATECALL（EIP-7）、EIP-8 の devp2p 変更を含む。","ko":"이더리움 최초의 계획된 하드포크인 Homestead(블록 1,150,000, 2016년 3월)에 무엇이 포함됐는지 기록한 메타 EIP. EIP-2, DELEGATECALL(EIP-7), EIP-8의 devp2p 변경을 담고 있다.","zh":"元 EIP，记录了以太坊首次计划的硬分叉 Homestead（区块 1,150,000，2016 年 3 月）包含的内容：EIP-2、DELEGATECALL（EIP-7）以及 EIP-8 中的 devp2p 变更。"},"tags":["hardfork","meta","homestead","history"],"explainers":{"en":{"lang":"en","tldr":"Meta EIP that records what went into Homestead, Ethereum's first planned hard fork (block 1,150,000, March 2016): EIP-2, DELEGATECALL (EIP-7) and the devp2p changes in EIP-8.","tags":["hardfork","meta","homestead","history"],"related":[2,7,8,779,608],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-606/","markdown":"## What problem does it solve?\n\nA hard fork bundles several protocol changes and switches them on at one block. Client teams, exchanges and node operators need one authoritative list of what changes and when. Hardfork Meta EIPs provide that list. EIP-606 is the record for **Homestead**, the upgrade that moved Ethereum out of its initial \"Frontier\" phase.\n\nThe document was written in April 2017, about a year after the fork, so it is a record made after the event rather than a plan.\n\n## How it works\n\nThe spec lists:\n\n| Item | Value |\n| --- | --- |\n| Codename | Homestead |\n| Mainnet activation | block 1,150,000 |\n| Morden testnet activation | block 494,000 |\n| Future testnets | block 0 |\n\nIncluded proposals:\n\n- **[EIP-2](/eip-2/), Homestead hard-fork changes.**\n  - Contract-creation transactions cost 53,000 base gas instead of 21,000.\n  - Transaction signatures with `s \u003e secp256k1n/2` are invalid, which removes a malleability issue. The `ecrecover` precompile is unchanged.\n  - A contract creation that runs out of gas now fails, instead of leaving an empty contract.\n  - The difficulty adjustment formula changes.\n- **[EIP-7](/eip-7/), `DELEGATECALL`.** A new opcode that runs another contract's code in the caller's context, keeping `msg.sender` and `msg.value`. It is the basis of libraries and, later, proxy contracts.\n- **[EIP-8](/eip-8/), devp2p forward compatibility.** Networking nodes must accept handshake and discovery packets with newer version numbers and extra fields, so the peer-to-peer protocol can evolve without breaking older nodes.\n\n## Sample code\n\nClients describe forks as chain configuration. A Geth-style genesis `config` that enables Homestead from the start, as many private and test networks do:\n\n```json\n{\n  \"config\": {\n    \"chainId\": 1337,\n    \"homesteadBlock\": 0,\n    \"eip150Block\": 0,\n    \"eip155Block\": 0,\n    \"eip158Block\": 0,\n    \"byzantiumBlock\": 0\n  }\n}\n```\n\nOn mainnet, the equivalent entry is `\"homesteadBlock\": 1150000`.\n\nUsing the opcode Homestead introduced (Solidity):\n\n```solidity\n(bool ok, bytes memory ret) = impl.delegatecall(abi.encodeWithSignature(\"setValue(uint256)\", 42));\nrequire(ok);\n```\n\n## Things to know\n\n- Homestead itself is Final and has been active for years. Every EVM chain today includes its rules by default.\n- Homestead was followed by the DAO fork ([EIP-779](/eip-779/)) and Tangerine Whistle ([EIP-608](/eip-608/)) in 2016.\n- Morden, the testnet named here, has since been retired.\n- Meta EIPs list changes. They do not specify them. Read the included EIPs for the exact rules.\n"},"ja":{"lang":"ja","tldr":"Ethereum 最初の計画的ハードフォークである Homestead（ブロック 1,150,000、2016 年 3 月）に何が含まれたかを記録するメタ EIP。EIP-2、DELEGATECALL（EIP-7）、EIP-8 の devp2p 変更を含む。","tags":["hardfork","meta","homestead","history"],"related":[2,7,8,779,608],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-606/","markdown":"## 何を解決するのか\n\nハードフォークは複数のプロトコル変更をまとめ、1 つのブロックで一斉に有効化します。クライアントチーム、取引所、ノード運用者には、何がいつ変わるのかを示す信頼できる一覧が必要です。ハードフォークのメタ EIP はその一覧を提供します。EIP-606 は、Ethereum を最初の「Frontier」段階から前進させたアップグレード **Homestead** の記録です。\n\nこの文書は、フォークからおよそ 1 年後の 2017 年 4 月に書かれました。計画ではなく、事後に作られた記録です。\n\n## 仕組み\n\n仕様には次の内容が記載されています。\n\n| 項目 | 値 |\n| --- | --- |\n| コードネーム | Homestead |\n| メインネットの有効化 | ブロック 1,150,000 |\n| Morden テストネットの有効化 | ブロック 494,000 |\n| 将来のテストネット | ブロック 0 |\n\n含まれる提案:\n\n- **[EIP-2](/eip-2/)、Homestead のハードフォーク変更。**\n  - コントラクト作成トランザクションの基本ガスが 21,000 ではなく 53,000 になる。\n  - `s \u003e secp256k1n/2` のトランザクション署名は無効になり、マリアビリティの問題がなくなる。`ecrecover` プリコンパイルは変わらない。\n  - コントラクト作成でガスが尽きると、空のコントラクトが残らず失敗するようになる。\n  - 難易度調整の式が変わる。\n- **[EIP-7](/eip-7/)、`DELEGATECALL`。** 別のコントラクトのコードを、`msg.sender` と `msg.value` を保ったまま呼び出し元のコンテキストで実行する新しいオペコードです。ライブラリの基盤であり、のちにプロキシコントラクトの基盤にもなりました。\n- **[EIP-8](/eip-8/)、devp2p の前方互換性。** ネットワークノードは、新しいバージョン番号や追加フィールドを持つハンドシェイクおよびディスカバリのパケットを受け入れなければなりません。これにより、P2P プロトコルは古いノードを壊さずに進化できます。\n\n## サンプルコード\n\nクライアントはフォークをチェーン設定として記述します。多くのプライベートネットワークやテストネットワークと同様に、最初から Homestead を有効にする Geth 形式の genesis `config`:\n\n```json\n{\n  \"config\": {\n    \"chainId\": 1337,\n    \"homesteadBlock\": 0,\n    \"eip150Block\": 0,\n    \"eip155Block\": 0,\n    \"eip158Block\": 0,\n    \"byzantiumBlock\": 0\n  }\n}\n```\n\nメインネットでは、これに相当する項目は `\"homesteadBlock\": 1150000` です。\n\nHomestead が導入したオペコードの使用例（Solidity）:\n\n```solidity\n(bool ok, bytes memory ret) = impl.delegatecall(abi.encodeWithSignature(\"setValue(uint256)\", 42));\nrequire(ok);\n```\n\n## 知っておくべきこと\n\n- Homestead 自体は Final で、何年も前から有効です。今日のすべての EVM チェーンは、そのルールをデフォルトで含んでいます。\n- Homestead の後、2016 年に DAO フォーク（[EIP-779](/eip-779/)）と Tangerine Whistle（[EIP-608](/eip-608/)）が続きました。\n- ここで名前が挙がっているテストネット Morden は、すでに廃止されています。\n- メタ EIP は変更を列挙するだけで、仕様を定めるものではありません。正確なルールは、含まれている各 EIP を読んでください。\n"},"ko":{"lang":"ko","tldr":"이더리움 최초의 계획된 하드포크인 Homestead(블록 1,150,000, 2016년 3월)에 무엇이 포함됐는지 기록한 메타 EIP. EIP-2, DELEGATECALL(EIP-7), EIP-8의 devp2p 변경을 담고 있다.","tags":["hardfork","meta","homestead","history"],"related":[2,7,8,779,608],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-606/","markdown":"## 어떤 문제를 해결하나요?\n\n하드포크는 여러 프로토콜 변경을 묶어 한 블록에서 한꺼번에 활성화합니다. 클라이언트 팀, 거래소, 노드 운영자에게는 무엇이 언제 바뀌는지 알려주는 신뢰할 수 있는 단일 목록이 필요합니다. 하드포크 메타 EIP가 그 목록을 제공합니다. EIP-606은 이더리움을 초기 \"Frontier\" 단계에서 벗어나게 한 업그레이드 **Homestead**의 기록입니다.\n\n이 문서는 포크로부터 약 1년 뒤인 2017년 4월에 작성되었으므로, 계획이 아니라 사후에 남긴 기록입니다.\n\n## 어떻게 동작하나요?\n\n명세에는 다음이 나열되어 있습니다.\n\n| 항목 | 값 |\n| --- | --- |\n| 코드명 | Homestead |\n| 메인넷 활성화 | 블록 1,150,000 |\n| Morden 테스트넷 활성화 | 블록 494,000 |\n| 향후 테스트넷 | 블록 0 |\n\n포함된 제안:\n\n- **[EIP-2](/eip-2/), Homestead 하드포크 변경.**\n  - 컨트랙트 생성 트랜잭션의 기본 가스가 21,000 대신 53,000이 됩니다.\n  - `s \u003e secp256k1n/2`인 트랜잭션 서명은 유효하지 않게 되어 가변성(malleability) 문제가 사라집니다. `ecrecover` 프리컴파일은 그대로입니다.\n  - 컨트랙트 생성 중 가스가 부족하면 이제 빈 컨트랙트를 남기지 않고 실패합니다.\n  - 난이도 조정 공식이 바뀝니다.\n- **[EIP-7](/eip-7/), `DELEGATECALL`.** 다른 컨트랙트의 코드를 `msg.sender`와 `msg.value`를 유지한 채 호출자의 컨텍스트에서 실행하는 새 오피코드입니다. 라이브러리의 기반이며, 나중에는 프록시 컨트랙트의 기반이 되었습니다.\n- **[EIP-8](/eip-8/), devp2p 전방 호환성.** 네트워크 노드는 더 새로운 버전 번호와 추가 필드가 있는 핸드셰이크 및 디스커버리 패킷을 받아들여야 합니다. 그래서 P2P 프로토콜이 오래된 노드를 깨뜨리지 않고 발전할 수 있습니다.\n\n## 샘플 코드\n\n클라이언트는 포크를 체인 설정으로 기술합니다. 많은 프라이빗 및 테스트 네트워크처럼 처음부터 Homestead를 활성화하는 Geth 스타일 제네시스 `config`:\n\n```json\n{\n  \"config\": {\n    \"chainId\": 1337,\n    \"homesteadBlock\": 0,\n    \"eip150Block\": 0,\n    \"eip155Block\": 0,\n    \"eip158Block\": 0,\n    \"byzantiumBlock\": 0\n  }\n}\n```\n\n메인넷에서 이에 해당하는 항목은 `\"homesteadBlock\": 1150000`입니다.\n\nHomestead가 도입한 오피코드 사용 예(Solidity):\n\n```solidity\n(bool ok, bytes memory ret) = impl.delegatecall(abi.encodeWithSignature(\"setValue(uint256)\", 42));\nrequire(ok);\n```\n\n## 알아둘 점\n\n- Homestead 자체는 Final이며 수년째 활성화되어 있습니다. 오늘날 모든 EVM 체인은 기본적으로 그 규칙을 포함합니다.\n- Homestead 다음으로 2016년에 DAO 포크([EIP-779](/eip-779/))와 Tangerine Whistle([EIP-608](/eip-608/))이 이어졌습니다.\n- 여기서 언급된 테스트넷 Morden은 이후 폐기되었습니다.\n- 메타 EIP는 변경 사항을 나열할 뿐 규정하지는 않습니다. 정확한 규칙은 포함된 EIP들을 읽어보세요.\n"},"zh":{"lang":"zh","tldr":"元 EIP，记录了以太坊首次计划的硬分叉 Homestead（区块 1,150,000，2016 年 3 月）包含的内容：EIP-2、DELEGATECALL（EIP-7）以及 EIP-8 中的 devp2p 变更。","tags":["hardfork","meta","homestead","history"],"related":[2,7,8,779,608],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-606/","markdown":"## 它解决什么问题？\n\n硬分叉会把若干协议变更打包，并在某个区块一并启用。客户端团队、交易所和节点运营者需要一份权威清单，说明改了什么、何时生效。硬分叉元 EIP 就提供这样的清单。EIP-606 是 **Homestead** 的记录，这次升级让以太坊走出了最初的\"Frontier\"阶段。\n\n这份文档写于 2017 年 4 月，距分叉约一年，因此它是事后的记录，而不是一份计划。\n\n## 它如何运作\n\n规范列出了：\n\n| 项目 | 值 |\n| --- | --- |\n| 代号 | Homestead |\n| 主网激活 | 区块 1,150,000 |\n| Morden 测试网激活 | 区块 494,000 |\n| 未来的测试网 | 区块 0 |\n\n包含的提案：\n\n- **[EIP-2](/eip-2/)，Homestead 硬分叉变更。**\n  - 创建合约的交易基础 gas 由 21,000 变为 53,000。\n  - `s \u003e secp256k1n/2` 的交易签名无效，从而消除了可塑性问题。`ecrecover` 预编译保持不变。\n  - 创建合约时耗尽 gas 现在会失败，而不是留下一个空合约。\n  - 难度调整公式发生变化。\n- **[EIP-7](/eip-7/)，`DELEGATECALL`。** 一个新的操作码，在调用者的上下文中运行另一个合约的代码，并保留 `msg.sender` 和 `msg.value`。它是库合约的基础，后来也成为代理合约的基础。\n- **[EIP-8](/eip-8/)，devp2p 前向兼容。** 网络节点必须接受带有更新版本号和额外字段的握手与发现数据包，这样点对点协议就能在不破坏旧节点的情况下演进。\n\n## 示例代码\n\n客户端用链配置来描述分叉。下面是 Geth 风格的创世 `config`，从一开始就启用 Homestead，许多私有网络和测试网络都是这样做的：\n\n```json\n{\n  \"config\": {\n    \"chainId\": 1337,\n    \"homesteadBlock\": 0,\n    \"eip150Block\": 0,\n    \"eip155Block\": 0,\n    \"eip158Block\": 0,\n    \"byzantiumBlock\": 0\n  }\n}\n```\n\n在主网上，对应的条目是 `\"homesteadBlock\": 1150000`。\n\n使用 Homestead 引入的操作码（Solidity）：\n\n```solidity\n(bool ok, bytes memory ret) = impl.delegatecall(abi.encodeWithSignature(\"setValue(uint256)\", 42));\nrequire(ok);\n```\n\n## 需要注意\n\n- Homestead 本身是 Final，并且已经生效多年。如今所有 EVM 链默认都包含它的规则。\n- Homestead 之后，2016 年相继出现了 DAO 分叉（[EIP-779](/eip-779/)）和 Tangerine Whistle（[EIP-608](/eip-608/)）。\n- 这里提到的测试网 Morden 已经退役。\n- 元 EIP 只列出变更，并不规定具体内容。确切规则请阅读其中包含的各个 EIP。\n"}},"requiredBy":[779,8133]}
