CoinDesk Winds Down Ethereum Validator ‘Zelda,’ and We Now Wait to Get Money Back

Following last week's milestone Shanghai upgrade, we moved to wind down CoinDesk's Ethereum validator project, but it could be a week before the 32 ETH we staked (about $67,000 worth) hits our wallet. C. Spencer Beggs, our director of engineering, breaks down the technical steps he's taken.

AccessTimeIconApr 19, 2023 at 11:00 a.m. UTC
Updated Apr 25, 2023 at 7:27 p.m. UTC
10 Years of Decentralizing the Future
May 29-31, 2024 - Austin, TexasThe biggest and most established global hub for everything crypto, blockchain and Web3.Register Now

As loyal Valid Points readers recall, CoinDesk set up its own Ethereum validator, fondly nicknamed “Zelda,” in 2020 to witness firsthand the blockchain’s landmark shift to an energy-efficient proof-of-stake consensus mechanism from its original proof-of-work – the same one used by Bitcoin. The goal was to learn, and to report.

That transition was effectively completed last week, when Ethereum’s Shanghai upgrade (aka Shapella) went live, enabling the first-ever withdrawals from the blockchain’s staking mechanism.

In keeping with the original plan, we took the steps needed to wind down our validator and redeem our initial deposit of 32 ether (ETH) – worth about $15,000 back in 2020 – along with the extra ETH that Zelda was awarded over time for helping to keep the blockchain secure and running smoothly.

This article originally appeared in Valid Points, CoinDesk’s weekly newsletter breaking down Ethereum’s evolution and its impact on crypto markets. Subscribe to get it in your inbox every Wednesday.

It’s been a learning experience, and one of the key lessons was discovering how long it can take for validators to withdraw their ETH when the exit queue gets backed up. According to CoinDesk Director of Engineering C. Spencer Beggs, we could be looking at roughly a week before our withdrawal request is successfully processed and the 32 ETH hits our wallet.

Another thing we’ve learned, along with investors and traders in digital-asset markets, is that the Shanghai upgrade proved to be quite bullish for the price of ether; it wasn’t the vicious sell-off that some analysts had warned would come. It was never our intent to speculate on the price of ETH, but after a rally in the second-largest cryptocurrency to an 11-month high above $2,100, our original principal is now worth nearly $70,000.

CoinDesk's validator rewards during the roughly 30-month experiment add up to 3.65618 ETH (about $7,600), and as promised we are planning to donate these profits to charity.

Now that our validator project is concluding, it is also time to say goodbye to Valid Points, which was launched a few years ago to focus exclusively on Ethereum and the wider array of projects connected to it. But don’t worry – the newsletter isn’t going away. Next week, Valid Points officially becomes The Protocol, which will focus on blockchain and crypto tech more broadly. You, reader, don’t have to do a thing; your existing subscription will carry over.

We wish to thank former CoinDesk reporters Christine Kim and Will Foxley for having the foresight (and fortitude) to undertake this project and launch Valid Points back in 2020, along with all the other journalists who have contributed to the newsletter over the years. And a heroic shout-out goes to Beggs, who figured out how to do all of this and oversaw the technical aspects so competently.

The following is a detailed walk-through of the steps that Beggs took to wind down our Ethereum validator and redeem our staked ether from the blockchain.

The validator-tracking app Beaconcha.in provided the snapshot below of our validator’s status at the start of the process. (The yellow triangle with the exclamation mark shows that the validator had not yet updated its withdrawal keys.)

CoinDesk validator lifetime statistics (Beaconcha.in)
CoinDesk validator lifetime statistics (Beaconcha.in)

Beggs took the steps to exit on Friday, April 14, two days after the Shanghai upgrade successfully went through. (Yes, we admit we attended the watch parties.)

He used the Ethereum “staking deposit CLI” – the official management service for generating the cryptographic keys used on the proof-of-stake blockchain – to generate a signed message known as, “BLSToExecutionChange.” This message is a command that informs the blockchain that we wanted to update our validator’s withdrawal address, which hadn’t been possible prior to the Shanghai upgrade.

We then broadcast that message to our beacon node.

“I signed the message and sent it to our beacon, and the beacon sent it to the blockchain,” Beggs said.

Based on the guidance in this Ethereum Foundation FAQ on staking withdrawals, Beggs expected this step to take two to three days:

(Ethereum Foundation)

But after just an hour, there was the status update below from Beaconcha.in; it had already gone through:

(Beaconcha.in)
(Beaconcha.in)

With the withdrawal credential successfully updated, Beggs logged in to our server, using the program Lighthouse, which runs both our validator and beacon clients, and issued the request to exit.

“You just type a command,” he said.

We received the following response from the server:

(CoinDesk/Lighthouse)
(CoinDesk/Lighthouse)

There’s a lot of info in that screen, but a crucial bit is in those last few visible lines – estimating that our exit would be processed on Ethereum blockchain epoch 196,690, and that we would be able to withdraw at epoch 196,946. (At the time, we were at epoch 194,506.)

The script read: “Exit epoch in approximately 838,656 secs.”

“I did the math to convert that to days,” Beggs said. It worked out to about 9.7 days.

Currently the Ethereum blockchain is at epoch 195,372, and Beaconcha.in now estimates that the exit will be processed on April 24, 4:16 p.m. UTC, and the withdrawal on April 25, 7:34 p.m. UTC.

In the meantime, according to Beggs, “Zelda’s still validating and attesting.” Working till the very end.

Epilogue

Asked for any lessons learned in the winding down, Beggs says he’s glad (or lucky) that he took detailed notes on the project from the very beginning.

“I was sweating bullets there for a second because I thought I did something very wrong, because when I tried to generate the ‘BLSToExecutionChange’ message, my keys and my previous withdraw credentials didn’t match,” Beggs recalled.

He took a look back at his own documentation on the project to remind himself how to verify the keys – by regenerating them using our original seed phrase and validator index. With the clue (from his two-years-earlier self), he was able to figure it out.

“Finally it came out and generated the right way,” Beggs said in a Zoom interview. “I’m glad I wrote everything down.”

Sage D. Young contributed to this report.

Edited by Christie Harkin.

Disclosure

Please note that our privacy policy, terms of use, cookies, and do not sell my personal information has been updated.

CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. In November 2023, CoinDesk was acquired by the Bullish group, owner of Bullish, a regulated, digital assets exchange. The Bullish group is majority-owned by Block.one; both companies have interests in a variety of blockchain and digital asset businesses and significant holdings of digital assets, including bitcoin. CoinDesk operates as an independent subsidiary with an editorial committee to protect journalistic independence. CoinDesk employees, including journalists, may receive options in the Bullish group as part of their compensation.

Bradley Keoun

Bradley Keoun is the managing editor of CoinDesk's Tech & Protocols team. He owns less than $1,000 each of several cryptocurrencies.


Learn more about Consensus 2024, CoinDesk's longest-running and most influential event that brings together all sides of crypto, blockchain and Web3. Head to consensus.coindesk.com to register and buy your pass now.