Until Oct 15th, get up to $50 of Bitcoin when purchasing a Ledger Wallet

See Offers

Up your Web3 game

Ledger Academy Quests

  • Test your knowledge
  • Earn POK NFTs
Play now See all quests

Shanghai Upgrade Meaning

Nov 9, 2023 | Updated Nov 9, 2023
The Shanghai Upgrade is an upgrade on the Ethereum network that allows stakers and validators to unstake and withdraw their staked Ether.

What is the Shanghai Upgrade?

The Shanghai Capella Upgrade, also known as Shapella Upgrade, is an improvement on the Ethereum network that grants users access to their staked Ether. The upgrade took place in April 2023. It was first triggered in a public testnet called the Zhejiang testnet in February 2023 to simulate staking withdrawals.

This update was a planned hard fork. It implemented the Ethereum Improvement Proposal-4895 (EIP-4895), which encoded the new unstaking policy on the protocol. 

Why was the Shanghai Upgrade Implemented?

The Ethereum network completed the shift to a proof-of-stake (PoS) algorithm from its previous energy-intensive proof-of-work (PoW) in September 2022, in an upgrade known as The Merge. The Shanghai Upgrade marked the final step towards the shift to a PoS consensus mechanism. Now, instead of competing to complete complex mathematical equations, validators can stake Ether to participate in validating transactions, which .

The upgrade is primarily intended to boost liquidity for validators who want to withdraw their digital assets from the Beacon Chain. In the Beacon Chain users could stake 32 ETH to perform operations on the protocol, become validators, and earn rewards, but they could not withdraw their staked funds or rewards. The Shanghai Upgrade (EIP-4895) fixes this issue by adding the ability to withdraw or unstake funds. 

Another incentive behind the upgrade is to lower gas fees for developers and Ethereum’s layer-2 protocol users. The Shanghai Upgrade has also been dubbed “Push 0” or EIP-3855. The upgrade includes the Ethereum Improvement Protocol 3860, which brings technical improvements to the protocol’s smart contract feature. EIP-3860 limits the maximum size of the initcode (the code used by smart contract developers) to 49152 to ensure the initcode is fairly charged.

HODL

"HODL" refers to the strategy of holding onto one's digital assets with a long-term perspective despite market fluctuations.

Full definition

Hashed TimeLock Contract (HTLC)

A Hashed TimeLock Contract (HTLC) is a smart contract that facilitates secure, time-bound asset transfers between two parties, ensuring the exchange only happens when specific conditions are met.

Full definition

Hard Cap

A hard cap is the maximum number of tokens that a cryptocurrency project can ever produce.

Full definition