Ethereum fixes Glamsterdam bug that could have sent staking deposits to builders

3 min read
Ethereum fixes Glamsterdam bug that could have sent staking deposits to builders
PrimeXBT Editorial Team
Reviewed by PrimeXBT

Topics in article

Ethereum developers merged a fix for a flaw in the upcoming Glamsterdam upgrade that could have let an operator withdraw ETH meant for new validators. The change came a week after developers first turned it down. Client teams still have to build it in, and Glamsterdam needs a new Hoodi test network date.

Ethereum developers have patched a flaw in the upcoming Glamsterdam upgrade that could have let someone walk off with ETH that staking services meant for new validators. The fix, which changed the rules for handling validator deposits, was merged Monday, a week after developers turned it down.

Glamsterdam splits up two jobs that are bundled together today. Builders put blocks of transactions together, while validators, who stake ETH to help secure the network, pick and confirm them. Both can deposit ETH, and the protocol is supposed to track their money separately.

How the money could go missing

The problem appeared when Ethereum would process deposits that were still waiting to be credited. Researcher avsetsin identified a scenario in which an operator first registers as a builder with a particular public key. If a staking service then deposits ETH to start a validator under that key, the draft rules would credit both deposits to the builder.

No validator gets created in that case, so the staking service cannot produce the proof it would need to recover its money. Avsetsin looked at how Lido, Origin and Rocket Pool could be affected.

The findings depended on how each protocol handles deposits, and existing checks that reject an earlier builder deposit could stop the attack. No losses have been reported.

Turned down, then merged

Developers closed the proposed fix on Oct. 19. According to Justin Traglia, who maintains Ethereum's consensus specifications: "There was not enough support from clients to make this change at this time."

The fix was reopened after further review, avsetsin added tests on Oct. 23, and Traglia merged it Monday. Under the new rules, pending deposits are sorted by their withdrawal credentials, and validator deposits stay with validators even if a builder uses the same key.

Client teams still have to build the change into their software. Glamsterdam has already run on the Sepolia test network, but its Oct. 26 launch on Hoodi, a second test network, was postponed, and it needs a new Hoodi date before a mainnet launch can be scheduled.

Source: CoinDesk

Trading involves risk.

Most traded markets

XAU / USD
-0.49% 3,997.37
CRUDE
+0.5% 103.200
BTC / USD
-0.53% 79,793.2
EUR / USD
-0.19% 1.11519
USTEC
+0.02% 29,293.35
NFLX
-0.17% 63.54
View all markets

Author

PrimeXBT
Our Editorial Team consists of leading experts with a proven record in the fields of trading, cryptocurrencies, blockchain and finance. We thoroughly research the sources of information in order to provide readers with quality content that serves edu...
Read author’s articles
Alert Triangle Risk Disclaimer
Disclaimer: Some past publications may be outdated. We recommend following our news to stay up to date with the latest information. For any questions, feel free to contact our support team via the chat below.
The content provided here is for informational purposes only. It is not intended as personal investment advice and does not constitute a solicitation or invitation to engage in any financial transactions, investments, or related activities. Past performance is not a reliable indicator of future results.
The financial products offered by the Company are complex and come with a high risk of losing money rapidly due to leverage. These products may not be suitable for all investors. Before engaging, you should consider whether you understand how these leveraged products work and whether you can afford the high risk of losing your money.
The Company does not accept clients from the Restricted Jurisdictions as indicated in our website/ T&C. Some services or products may not be available in your jurisdiction.
The applicable legal entity and its respective products and services depend on the client’s country of residence and the entity with which the client has established a contractual relationship during registration.

Today in markets

Browse Crypto News

Register Now

Trading involves risk

Get started in minutes

Our clients love how fast and simple our sign-up is. It takes just a few minutes to get started!

Get Started Get Started
Get started in minutes

Need Help?

Risk Warning:
Trading in leveraged products carries a high level of risk and may not be suitable for all investors.