EIP-6953 · Final · Informational · 2023-04-28
EIP-6953: Network Upgrade Activation Triggers
A reference list of how Ethereum network upgrades have been switched on over time: block numbers under proof-of-work, epochs on the Beacon Chain, total difficulty for the Merge, and epoch-aligned timestamps since Shanghai/Capella.
What problem does it solve?
Every Ethereum upgrade needs a precise rule saying exactly when the new rules take effect, and that rule has changed several times. Node operators, client developers and tool builders sometimes need to know which trigger applies to which upgrade, for example when replaying history or writing chain configuration.
EIP-6953 is an Informational EIP that collects these activation mechanisms in one place, up to the first post-Merge upgrade.
How it works
It describes five trigger styles:
1. Block numbers (proof-of-work era). Each upgrade activated at a fixed block height, for example Homestead at block 1150000, Byzantium at 4370000, London at 12965000 and Gray Glacier at 15050000.
2. Genesis conditions (Beacon Chain launch). Per EIP-2982, the Beacon Chain started once the deposit contract held at least 524,288 ETH from 16,384 validators, the minimum genesis time (Dec 1, 2020) had passed, and a further genesis delay of 604,800 seconds (7 days) had elapsed.
3. Epochs (Beacon Chain upgrades). Altair activated at epoch 74240 and Bellatrix at epoch 144896.
4. Terminal total difficulty (the Merge). The execution-layer Paris upgrade triggered when proof-of-work total difficulty reached 58750000000000000000000, as specified in EIP-3675. Bellatrix had to be active first.
5. Epoch + timestamp (post-Merge). The consensus layer upgrades at an epoch, ideally a multiple of 8192 slots; the execution layer uses that epoch's timestamp. Capella activated at epoch 194048 and Shanghai at timestamp 1681338455, which is the same moment.
Why timestamps on the EL? Slots can be missed, so block numbers no longer map predictably to epochs, but timestamps do. Unix timestamps are also always larger than any block number used before, so ordering is preserved. This changed how the FORK_HASH/FORK_NEXT peer checks are computed (EIP-6122).
Sample code
How the two styles appear in an execution-client genesis config (geth-style JSON, mainnet values from the EIP):
{
"config": {
"chainId": 1,
"homesteadBlock": 1150000,
"byzantiumBlock": 4370000,
"londonBlock": 12965000,
"grayGlacierBlock": 15050000,
"terminalTotalDifficulty": 58750000000000000000000,
"shanghaiTime": 1681338455
}
}
And a quick check of whether a post-Merge fork is active for a given block:
const SHANGHAI_TIME = 1681338455n;
const isShanghai = (block: { timestamp: bigint }) => block.timestamp >= SHANGHAI_TIME;
Things to know
- Status: Final (Informational). It does not change the protocol.
- It deliberately stops at Shanghai/Capella. Later upgrades are expected to use the same epoch + timestamp pattern unless a future EIP says otherwise.
- Constantinople and Petersburg share block
7280000: Petersburg removed one Constantinople change, and both activated together on mainnet. - Testnets and other EVM chains use their own block numbers, epochs and timestamps; only the mechanism carries over.