Skip to main content

Shanghai Upgrade

The Shanghai Upgrade (officially EIP-4895) was a pivotal hard fork for the Ethereum network that occurred in April 2023. Its primary function was to enable the withdrawal of staked Ether (ETH) from the Beacon Chain back to the execution layer. This enabled liquidity for long-term stakers who had locked their capital during the transition to proof-of-stake, marking the final stage of Ethereum’s successful move from a proof-of-work consensus model.

Definition

The Shanghai Upgrade (officially EIP-4895) was a pivotal hard fork for the Ethereum network that occurred in April 2023. Its primary function was to enable the withdrawal of staked Ether (ETH) from the Beacon Chain back to the execution layer. This enabled liquidity for long-term stakers who had locked their capital during the transition to proof-of-stake, marking the final stage of Ethereum’s successful move from a proof-of-work consensus model.

Simple explanation

For a long time, stakers could deposit Ether to help run Ethereum, but they couldn’t get it back out. The Shanghai Upgrade was like opening the vault door so that everyone who locked up their tokens to support the network could finally withdraw them whenever they wanted.

Why it matters

This upgrade was essential to prove that Ethereum’s proof-of-stake system was not a one-way street. By allowing withdrawals, it increased the incentive for participation and solidified confidence in the longevity and flexibility of staked ETH.

How it works

The upgrade introduced a new system-level operation that allows validators to send a withdrawal request. Once the validator exits or reaches a certain balance, the protocol releases the staked funds from the consensus layer and moves them to the user’s execution layer address.

Real-world example

After the upgrade, major staking services like Lido Finance were able to offer withdrawal functionality to their users for the first time.

Advantages

  • Restores liquidity to staked assets
  • Increases validator participation confidence
  • Final step in PoS transition

Limitations

  • Requires queuing for large-scale withdrawals
  • Temporary increase in market sell pressure
  • Adds complexity to the protocol

Common misconceptions

  • People thought Shanghai would cause a mass exit, but the queue system prevents sudden, chaotic withdrawals.
  • Many assumed this was a total overhaul of the network, but it was specifically focused on enabling withdrawals.

Canonical knowledge ID: glossary:shanghai-upgrade