Skip to content

Commit 6772f9f

Browse files
authored
Merge pull request #9955 from ethereum/post-shapella
Post-Shanghai/Capella clean up
2 parents c900a3c + 5e6a116 commit 6772f9f

File tree

16 files changed

+109
-238
lines changed

16 files changed

+109
-238
lines changed

src/components/Banners/BugBountyBanner.tsx

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/components/Staking/ShanghaiCapella.tsx

Lines changed: 0 additions & 98 deletions
This file was deleted.

src/content/developers/docs/consensus-mechanisms/pos/keys/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Validators with `0x00` BLS keys must update these credentials to point to an exe
4343

4444
### The withdrawal key {#withdrawal-key}
4545

46-
The withdrawal key will be required to update withdrawal credentials to point to an execution address, if not set during initial deposit. This will enable excess balance payments to begin being processed (beginning with the Shanghai/Capella upgrade), and will also allow users to fully withdraw their staked ETH.
46+
The withdrawal key will be required to update withdrawal credentials to point to an execution address, if not set during initial deposit. This will enable excess balance payments to begin being processed, and will also allow users to fully withdraw their staked ETH.
4747

4848
Just like the validator keys, the withdrawal keys also consist of two components:
4949

src/content/history/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ Looking for future protocol upgrades? [Learn about upcoming upgrades on the Ethe
2626

2727
## 2023 {#2023}
2828

29-
### Shanghai (_planned_) {#shanghai}
29+
### Shanghai {#shanghai}
3030

3131
<NetworkUpgradeSummary name="shanghai" />
3232

3333
#### Summary {#shanghai-summary}
3434

35-
The Shanghai upgrade brings staking withdrawals to the execution layer. In tandem with the Capella upgrade, this enables blocks to accept withdrawal operations, which allow stakers to withdraw their ETH from the Beacon Chain to the execution layer.
35+
The Shanghai upgrade brought staking withdrawals to the execution layer. In tandem with the Capella upgrade, this enabled blocks to accept withdrawal operations, which allows stakers to withdraw their ETH from the Beacon Chain to the execution layer.
3636

3737
<ExpandableCard title="Shanghai EIPs" contentPreview="Official improvements included in this upgrade.">
3838

@@ -48,17 +48,17 @@ The Shanghai upgrade brings staking withdrawals to the execution layer. In tande
4848

4949
---
5050

51-
### Capella (_planned_) {#capella}
51+
### Capella {#capella}
5252

5353
<NetworkUpgradeSummary name="capella" />
5454

5555
#### Summary {#capella-summary}
5656

57-
The Capella upgrade is the third major upgrade to the consensus layer (Beacon Chain), which enables staking withdrawals. Capella is to occur simultaneous to the Shanghai upgrade occurring on the execution layer to enable withdrawal functionality in sync with one another.
57+
The Capella upgrade was the third major upgrade to the consensus layer (Beacon Chain) and enabled staking withdrawals. Capella occurred synchronously with the execution layer upgrade, Shanghai, and enabled staking withdrawal functionality.
5858

59-
This consensus layer upgrade brings the ability for stakers who did not provide withdrawal credentials with their initial deposit to do so, thereby enabling withdrawals.
59+
This consensus layer upgrade brought the ability for stakers who did not provide withdrawal credentials with their initial deposit to do so, thereby enabling withdrawals.
6060

61-
The upgrade also provides automatic account sweeping functionality, which continuously processes validator accounts for any available rewards payments or full withdrawals.
61+
The upgrade also provided automatic account sweeping functionality, which continuously processes validator accounts for any available rewards payments or full withdrawals.
6262

6363
- [More on staking withdrawals](/staking/withdrawals/).
6464
- [Read the Capella upgrade specifications](https://github.com/ethereum/consensus-specs/blob/dev/specs/capella/)

src/content/roadmap/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Sharding is splitting up the Ethereum blockchain so that subsets of validators a
108108
## Looking for specific technical upgrades? {#looking-for-specific-technical-upgrades}
109109

110110
- [Danksharding](/roadmap/danksharding) - Danksharding makes layer 2 rollups much cheaper for users by adding “blobs” of data to Ethereum blocks.
111-
- [Staking withdrawals](/staking/withdrawals) -The “Shapella” upgrade enables staking withdrawals on Ethereum, allowing people to unlock their staked ETH.
111+
- [Staking withdrawals](/staking/withdrawals) - The Shanghai/Capella upgrade enabled staking withdrawals on Ethereum, allowing people to unlock their staked ETH.
112112
- [Single slot finality](/roadmap/single-slot-finality) - Instead of waiting for fifteen minutes, blocks could get proposed and finalized in the same slot. This is more convenient for apps and much more difficult to attack.
113113
- [Proposer-builder separation](/roadmap/pbs) - Splitting the block building and block proposal tasks across separate validators creates a fairer, more censorship resistant and efficient way for Ethereum to come to consensus.
114114
- [Secret leader election](/roadmap/secret-leader-election) - Clever cryptography can be used to ensure that the identity of the current block proposer is not made public, protecting them from certain types of attack.

src/content/roadmap/merge/index.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -150,28 +150,24 @@ Proof-of-stake introduced the transaction finality concept that did not previous
150150

151151
<ExpandableCard
152152
title="Misconception: &quot;The Merge enabled staking withdrawals.&quot;"
153-
contentPreview="False. Staking withdrawals are not yet enabled with The Merge. The following Shanghai upgrade will enable staking withdrawals.">
154-
Staked ETH and staking rewards continue to be locked without the ability to withdraw. Withdrawals are planned for the upcoming Shanghai upgrade.
155-
</ExpandableCard>
156-
157-
<ExpandableCard
158-
title="Misconception: &quot;Validators will not receive any liquid ETH rewards til the Shanghai upgrade when withdrawals are enabled.&quot;"
159-
contentPreview="False. Fee tips/MEV are credited to a non-staking account controlled by the validator, available immediately.">
160-
This may seem counterintuitive to the above note that withdrawals are not enabled til the Shanghai upgrade, but validators DO have immediate access to the fee rewards/MEV earned during block proposals.
153+
contentPreview="False, but staking withdrawals have since been enabled via the Shanghai/Capella upgrade.">
154+
Initially after The Merge, stakers could only access fee tips and MEV that were earned as a result of block proposals. These rewards are credited to a non-staking account controlled by the validator (known as the <em>fee recipient</em>), and are available immediately. These rewards are separate from protocol rewards for performing validator duties.
161155

162-
The protocol issues ETH as a reward to validators for contributing to consensus. The consensus layer accounts for the newly issued ETH, where a validator has a unique address that holds its staked ETH and protocol rewards. This ETH is locked until Shanghai.
156+
Since the Shanghai/Capella network upgrade, stakers can now designate a _withdrawal address_ to start receiving automatic payouts of any excess staking balance (ETH over 32 from protocol rewards). This upgrade also enabled the ability for a validator to unlock and reclaim its entire balance upon exiting from the network.
163157

164-
ETH on the execution layer is accounted for separately from the consensus layer. When users execute transactions on Ethereum Mainnet, ETH must be paid to cover the gas, including a tip to the validator. This ETH is already on the execution layer, is NOT being newly issued by the protocol, and is available to the validator immediately (given a proper `fee recipient` address is provided to the client software).
158+
[More on staking withdrawals](/staking/withdrawals/)
165159
</ExpandableCard>
166160

167161
<ExpandableCard
168-
title="Misconception: &quot;When withdrawals are enabled, stakers will all exit at once.&quot;"
162+
title="Misconception: &quot;Now that The Merge is complete, and withdrawals are enabled, stakers could all exit at once.&quot;"
169163
contentPreview="False. Validator exits are rate limited for security reasons.">
170-
After the Shanghai upgrade enables withdrawals, all validators will be incentivized to withdraw their staking balance above 32 ETH, as these funds do not add to yield and are otherwise locked. Depending on the APR (determined by total ETH staked), they may be incentivized to exit their validator(s) to reclaim their entire balance or potentially stake even more using their rewards to earn more yield.
164+
Since the Shanghai/Capella upgrade enabled withdrawals, validators are incentivized to withdraw their staking balance above 32 ETH, as these funds do not add to yield and are otherwise locked. Depending on the APR (determined by total ETH staked), they may be incentivized to exit their validator(s) to reclaim their entire balance or potentially stake even more using their rewards to earn more yield.
165+
166+
An important caveat here, full validator exits are rate limited by the protocol, and only so many validators may exit per epoch (every 6.4 minutes). This limit fluctuates depending on the number of active validators, but comes out to approximately 0.33% of total ETH staked can be exited from the network in a single day.
171167

172-
An important caveat here, full validator exits are rate limited by the protocol, so only six validators may exit per epoch (every 6.4 minutes, so 1350 per day, or only ~43,200 ETH per day out of over 10 million ETH staked). This rate limit adjusts depending on the total ETH staked and prevents a mass exodus of funds. Furthermore, it prevents a potential attacker from using their stake to commit a slashable offense and exiting their entire staking balance in the same epoch before the protocol can enforce the slashing penalty.
168+
This prevents a mass exodus of staked funds. Furthermore, it prevents a potential attacker with access to a large portion of the total ETH staked from committing a slashable offense and exiting/withdrawing all of the offending validator balances in the same epoch before the protocol can enforce the slashing penalty.
173169

174-
The APR is intentionally dynamic, allowing a market of stakers to balance how much they're willing to be paid to help secure the network. When withdrawals are enabled, if the rate is too low, then validators will exit at a rate limited by the protocol. Gradually this will raise the APR for everyone who remains, attracting new or returning stakers yet again.
170+
The APR is also intentionally dynamic, allowing a market of stakers to balance how much they're willing to be paid to help secure the network. If the rate is too low, then validators will exit at a rate limited by the protocol. Gradually this will raise the APR for everyone who remains, attracting new or returning stakers yet again.
175171
</ExpandableCard>
176172

177173
## What happened to 'Eth2'? {#eth2}
@@ -204,9 +200,9 @@ Blocks are instead proposed by validating nodes that have staked ETH in return f
204200

205201
### The Merge and the Shanghai upgrade {#merge-and-shanghai}
206202

207-
In order to simplify and maximize focus on a successful transition to proof-of-stake, The Merge upgrade did not include certain anticipated features such as the ability to withdraw staked ETH. The Shanghai upgrade is planned to follow The Merge, which will enable the ability for stakers to withdraw.
203+
In order to simplify and maximize focus on a successful transition to proof-of-stake, The Merge upgrade did not include certain anticipated features such as the ability to withdraw staked ETH. This functionality was enabled separately with the Shanghai/Capella upgrade.
208204

209-
Stay up-to-date with the [Shanghai upgrade planning issue on GitHub](https://github.com/ethereum/pm/issues/450), or the [EF Research and Development Blog](https://blog.ethereum.org/category/research-and-development/). For those curious, learn more about [What Happens After The Merge](https://youtu.be/7ggwLccuN5s?t=101), presented by Vitalik at the April 2021 ETHGlobal event.
205+
For those curious, learn more about [What Happens After The Merge](https://youtu.be/7ggwLccuN5s?t=101), presented by Vitalik at the April 2021 ETHGlobal event.
210206

211207
### The Merge and sharding {#merge-and-data-sharding}
212208

src/content/roadmap/merge/issuance/index.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,15 @@ Execution layer issuance since The Merge is zero. Proof-of-work is no longer a v
6868

6969
### Consensus layer issuance {#cl-issuance-post-merge}
7070

71-
Consensus layer issuance continues today as before The Merge, with small rewards for validators who attest to and propose blocks. Validator rewards continue to accrue to _validator balances_ that are managed within the consensus layer. Unlike the current accounts, which can transact on Mainnet, these are separate Ethereum accounts where validator funds will not be withdrawable/transferrable until the upcoming Shanghai upgrade. This means that although new ETH is still being issued, 100% of consensus layer funds remain locked and unavailable to the market until this upgrade occurs.
71+
Consensus layer issuance continues today as before The Merge, with small rewards for validators who attest to and propose blocks. Validator rewards continue to accrue to _validator balances_ that are managed within the consensus layer. Unlike the current accounts ("execution" accounts), which can transact on Mainnet, these are separate Ethereum accounts cannot transact freely with other Ethereum accounts. Funds in these accounts can only be withdrawn to a single specified execution address.
7272

73-
When validator withdrawals are enabled, stakers will be incentivized to remove their _earnings/rewards (balance over 32 ETH)_ as these funds are otherwise not contributing to their stake weight (which maxes at 32).
73+
Since the Shanghai/Capella upgrade that took place in April 2023, these withdraws have been enabled for stakers. Stakers are incentivized to remove their _earnings/rewards (balance over 32 ETH)_ as these funds are otherwise not contributing to their stake weight (which maxes at 32).
7474

75-
After withdraw functionality is enabled, stakers may also choose to exit and withdraw their entire validator balance. To ensure Ethereum is stable, the number of validators leaving simultaneously is capped. Only six validators may exit in a given epoch (6.4 minute period) depending on the total ETH staked at the time. As more validators withdraw, the maximum number of exiting validators will gradually be reduced to four to intentionally prevent large destabilizing amounts of staked ETH from being withdrawn concurrently.
75+
Stakers may also choose to exit and withdraw their entire validator balance. To ensure Ethereum is stable, the number of validators leaving simultaneously is capped.
76+
77+
Approximately 0.33% of the total validator count may exit in a given day. By default, four (4) validators may exit per epoch (every 6.4 minutes, or 900 per day). An additional one (1) validator is permitted to exit for every 65,536 (2<sup>16</sup>) additional validators over 262,144 (2<sup>18</sup>). For example, with over 327,680 validators, five (5) may leave per epoch (1,125 per day). Six (6) will be permitted with a total active validator count over 393,216, and so forth.
78+
79+
As more validators withdraw, the maximum number of exiting validators will gradually be reduced to a minimum of four to intentionally prevent large destabilizing amounts of staked ETH from being withdrawn concurrently.
7680

7781
### Post-merge inflation breakdown {#post-merge-inflation-breakdown}
7882

src/content/roadmap/security/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ It is possible that a sophisticated attacker could identify upcoming validators
4343

4444
## Current progress {#current-progress}
4545

46-
Staking withdrawals are the next major upgrade coming to Ethereum. They are planned for inclusion with the Shanghai/Capella upgrade scheduled for April 12, 2023. They have already been rolled out on public testnets and the next step in launching on Ethereum Mainnet. The other security upgrades on the roadmap are in advanced stages of research, but they are not expected to be implemented for some time. The next steps for view-merge, PBS, SSF and SLE is to finalize a specification and start building prototypes.
46+
Security upgrades on the roadmap are in advanced stages of research, but they are not expected to be implemented for some time. The next steps for view-merge, PBS, SSF and SLE is to finalize a specification and start building prototypes.

src/content/staking/pools/index.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,7 @@ Typically ERC-20 liquidity tokens are issued to stakers that represents the valu
6464
</ExpandableCard>
6565

6666
<ExpandableCard title="When can I withdraw my stake?">
67-
Currently, withdrawing funds from an Ethereum validator is not possible, which limits the ability to actually <i>redeem</i> your liquidity token for the ETH rewards locked in the consensus layer.
68-
69-
The Shanghai network upgrade will introduce withdrawal functionality which is scheduled for April 12, 2023. All staked ETH will remain locked until then.
70-
71-
After this upgrade, the validator accounts that back staking pools will have the ability to exit and withdraw ETH to their designated withdrawal address. This will enable the ability to redeem your portion of stake for the underlying ETH. Check with your provider to see how they support this functionality.
67+
Right now! The Shanghai/Capella network upgrade occurred in April 2023, and introduced staking withdrawals. Validator accounts that back staking pools now have the ability to exit and withdraw ETH to their designated withdrawal address. This enables the ability to redeem your portion of stake for the underlying ETH. Check with your provider to see how they support this functionality.
7268

7369
Alternatively, pools that utilize an ERC-20 liquidity token allow users to trade this token in the open market, allowing you to sell your staking position, effectively "withdrawing" without actually removing ETH from the staking contract.
7470

0 commit comments

Comments
 (0)