From 96a7604ec813ce0063b7b0ff80af6adc955ef75a Mon Sep 17 00:00:00 2001 From: Tim Beiko Date: Thu, 21 Jul 2022 08:56:38 -0700 Subject: [PATCH 1/2] Add FORK NEXT forks and Sepolia Suggestion --- network-upgrades/mainnet-upgrades/paris.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/network-upgrades/mainnet-upgrades/paris.md b/network-upgrades/mainnet-upgrades/paris.md index dedf17ae2e..e53c16c041 100644 --- a/network-upgrades/mainnet-upgrades/paris.md +++ b/network-upgrades/mainnet-upgrades/paris.md @@ -8,6 +8,9 @@ Specifies changes included in the network upgrade. - [x] [EIP-3675: Upgrade consensus to Proof-of-Stake](https://eips.ethereum.org/EIPS/eip-3675) - [x] [EIP-4399: Supplant DIFFICULTY opcode with PREVRANDAO](https://eips.ethereum.org/EIPS/eip-4399) +In addition to the EIPs listed above, an [EIP-2124](https://eips.ethereum.org/EIPS/eip-2124) `FORK_NEXT` value must be set for the Paris upgrade to allow nodes to disconnect stale peers. In typical upgrades, this happens on the fork block. Because Paris uses a [Terminal Total Difficulty](https://eips.ethereum.org/EIPS/eip-3675#total-difficulty-triggering-the-upgrade) instead of a block number to trigger the proof-of-work to proof-of-stake transition, this value must be set after the transition has completed. See the [FORK NEXT Upgrade](#fork-next-upgrade) section for more details. + + ### Engine API A new set of APIs is introduced as part of The Merge for the execution layer clients to communicate with the consensus layer. The specification for it is available [here](https://github.com/ethereum/execution-apis/tree/main/src/engine). @@ -18,13 +21,28 @@ This network upgrade requires changes to both Ethereum's execution and consensus ### Upgrade Schedule +#### Proof-of-Work to Proof-of-Stake Transition + | Network | Terminal Total Difficulty | Expected Date | Fork Hash | |---------|------------|---------------|--------------| | Ropsten | 50000000000000000 | June 8, 2022 | `0x7119B6B3` (unchanged from [London](https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/london.md)) | | Sepolia | 17000000000000000 | July 6, 2022 | `0xfe3366e7` (unchanged from [Genesis](https://github.com/ethereum/go-ethereum/pull/23730)) | -| Goerli | 10790000 | August 10, 2022 | TBD | +| Goerli | 10790000 | August 10, 2022 | `0xB8C6299D` (unchanged from [London](https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/london.md)) | | Mainnet | TBD | TBD | TBD | +#### FORK NEXT Upgrade + +Once the proof-of-work to proof-of-stake transition has completed, an additional upgrade is required to add an [EIP-2124](https://eips.ethereum.org/EIPS/eip-2124) `FORK_NEXT` value to clients on the network in order to disconnect stale peers. + +| Network | Block Number / `FORK_NEXT` | Expected Date | Fork Hash | +|---------|------------|---------------|--------------| +| Ropsten | N/A | N/A | N/A | N/A | +| Sepolia | 1735371 | August 17, 2022 | TBD | TBD | +| Goerli | TBD | TBD | TBD | TBD | +| Mainnet | TBD | TBD | TBD | TBD | + +Note that [Ropsten has been deprecated](https://blog.ethereum.org/2022/06/21/testnet-deprecation/) and will not be upgraded with a `FORK_NEXT` value. + ### Readiness Checklist See https://github.com/ethereum/pm/blob/master/Merge/mainnet-readiness.md From 1e45685e062229fb539b694f0b1aca4d1f87cad5 Mon Sep 17 00:00:00 2001 From: Tim Beiko Date: Fri, 22 Jul 2022 07:41:16 -0700 Subject: [PATCH 2/2] Add Sepolia fork hash --- network-upgrades/mainnet-upgrades/paris.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/network-upgrades/mainnet-upgrades/paris.md b/network-upgrades/mainnet-upgrades/paris.md index e53c16c041..74717f7ffd 100644 --- a/network-upgrades/mainnet-upgrades/paris.md +++ b/network-upgrades/mainnet-upgrades/paris.md @@ -36,10 +36,10 @@ Once the proof-of-work to proof-of-stake transition has completed, an additional | Network | Block Number / `FORK_NEXT` | Expected Date | Fork Hash | |---------|------------|---------------|--------------| -| Ropsten | N/A | N/A | N/A | N/A | -| Sepolia | 1735371 | August 17, 2022 | TBD | TBD | -| Goerli | TBD | TBD | TBD | TBD | -| Mainnet | TBD | TBD | TBD | TBD | +| Ropsten | N/A | N/A | N/A | +| Sepolia | 1735371 | August 17, 2022 | `0xb96cbd13` | +| Goerli | TBD | TBD | TBD | +| Mainnet | TBD | TBD | TBD | Note that [Ropsten has been deprecated](https://blog.ethereum.org/2022/06/21/testnet-deprecation/) and will not be upgraded with a `FORK_NEXT` value.