Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shapella upgrade (capella+shanghai) #482

Merged
merged 2,261 commits into from
May 5, 2023
Merged

Shapella upgrade (capella+shanghai) #482

merged 2,261 commits into from
May 5, 2023

Conversation

arwer13
Copy link
Contributor

@arwer13 arwer13 commented Jan 10, 2023

The Lido protocol upgrade targeting the Ethereum Shanghai hardfork

image

The Shanghai/Capella upgrade for Ethereum, scheduled for March-April 2023, will introduce support for the unstaking of Ether. The ability to exit a validator and unstake associated Ether is required for the Lido protocol to build the withdrawals feature.

Context: Withdrawals for Lido on Ethereum.

Overview

Major features

  • Withdrawals support
    • In-protocol withdrawals FIFO request queue wrapped up into NFT
    • Revised protocol accounting
    • Facilitating validator exits
    • Rewards skimming
  • Staking router
    • Solid architecture and interfaces for upcoming modules
    • Upgrade NodeOperatorRegistry resembling the curated operators set
    • Levers for the NOM/DAO ops
  • Two-phase oracle with data lists
    • Polished consensus rules
    • Better gas efficiency of running oracles
    • Multistep oracle data delivery (’unlimited’ data size)

Minor features

  • Decrease the Lido and NodeOperatorRegistry contracts’ bytecode size
  • Revised/new sanity checks & single rebasing limit
  • ERC2612 (permit) support for stETH (aka ‘ERC20 signed approvals’)
  • transferSharesFrom for stETH
  • Reference initialization library following the LIP-10 scheme
  • Oracle reports 'fast lane' (soft ordering enforcement)

Resolved issues

Excluded from the scope

contracts/0.4.24/Lido.sol Outdated Show resolved Hide resolved
contracts/0.4.24/Lido.sol Outdated Show resolved Hide resolved
contracts/0.4.24/Lido.sol Outdated Show resolved Hide resolved
contracts/0.8.9/WithdrawalQueue.sol Outdated Show resolved Hide resolved
contracts/0.4.24/Lido.sol Outdated Show resolved Hide resolved
contracts/0.4.24/Lido.sol Outdated Show resolved Hide resolved
contracts/0.4.24/Lido.sol Outdated Show resolved Hide resolved
contracts/0.4.24/Lido.sol Outdated Show resolved Hide resolved
contracts/0.4.24/Lido.sol Outdated Show resolved Hide resolved
contracts/0.4.24/Lido.sol Outdated Show resolved Hide resolved
contracts/0.4.24/Lido.sol Outdated Show resolved Hide resolved
contracts/0.4.24/Lido.sol Outdated Show resolved Hide resolved
contracts/0.4.24/Lido.sol Outdated Show resolved Hide resolved
arwer13 and others added 27 commits May 2, 2023 08:57
Diffyscan config for shapella upgrade
Copy link
Contributor

@TheDZhon TheDZhon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going forward 🚗

@TheDZhon TheDZhon merged commit a480561 into develop May 5, 2023
@TheDZhon TheDZhon deleted the feature/shapella-upgrade branch February 6, 2024 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment