(Translated and adapted from Ethereum Foundation's original article)
Ethereum's transition to Proof-of-Stake (PoS) โ known as The Merge โ is imminent. With Devnet established and specifications finalized, we're eager to share key insights with the community. The Merge is designed to minimize impact on end-users, smart contracts, and dApps, though some secondary changes merit attention.
Key Background Resources
๐ Stay updated on Ethereum upgrades
Block Structure Post-Merge
After The Merge, Proof-of-Work blocks will vanish from the network. Instead:
- Beacon Chain becomes Ethereum's new PoS consensus layer
- Beacon Blocks contain ExecutionPayloads (equivalent to current PoW blocks)
- Execution layer clients (Besu, Geth, etc.) continue processing transactions
This stability ensures minimal breaking changes for developers.
Deprecated Mining Fields
These PoW-related block header fields will be zeroed out:
difficultyandnonce: Set to 0ommers: Empty lists with RLP-encoded hashmixHash: Replaced with Beacon Chain's RANDAO value
See EIP-3676 for full specifications.
Opcode Changes
Key EVM updates:
- BLOCKHASH: Maintained but weakened randomness
DIFFICULTY (0x44) โ RANDOM:
- Returns Beacon Chain's random beacon output
- Stores values in renamed
randomfield (formerlymixHash) - Provides stronger randomness for dApps (EIP-4399)
Developers can detect The Merge when DIFFICULTY returns values >2**64.
Block Time Adjustments
- Current PoW average: ~13 seconds (variable)
- Post-Merge PoS: Fixed 12-second slots
- Smart contracts using block timestamps should account for this ~1-second reduction
Finalized Blocks vs. Safe Head
PoS introduces new chain concepts:
Finalized Blocks:
- Require >2/3 validator approval
- Equivalent to ~$10B attack cost (250M+ ETH)
Safe Head Blocks:
- Expected to remain canonical under normal conditions
- JSON-RPC defaults to Safe Head (add
unsafeflag for latest state)
๐ Understand PoS security implications
FAQs
What's the main difference between PoW and PoS for dApps?
While execution remains similar, PoS eliminates mining randomness and provides stronger finality guarantees through validator staking.
How should developers handle the RANDOM opcode?
Treat it as an upgrade to DIFFICULTY - ideal for applications needing verifiable randomness, though with different security assumptions than oracle solutions.
Will transaction speeds change post-Merge?
Throughput remains similar initially, but the consistent 12-second block time improves predictability for time-sensitive contracts.
Are PoW chain reorganizations still possible?
Finalized blocks make deep reorganizations economically impractical, while Safe Heads provide near-instant confirmation.
Next Steps
- Testnets will open for broader community testing
- Regular technical updates for infrastructure/tooling teams
- Developer calls to address migration questions
Risk Disclosure: Cryptocurrency investments carry high risk due to price volatility. Investors may lose their entire capital. Assess risks carefully.