The Ethereum blockchain suffered two brief episodes last week where blocks weren’t finalizing – an unwanted bout of instability that presents risks to the blockchain’s security but isn’t considered dire.
There was a lot of confusion in terms of what the delay in “finality” meant for the functionality of the blockchain, prompting discussions about security concerns. So, it bears unpacking a bit.
You’re reading The Protocol, our weekly newsletter exploring the tech behind crypto, one block at a time. Sign up here to get it in your inbox every Wednesday.
The cause of the temporary loss of block finality remains under investigation, though Prysm, a provider of client software used to run a node on the blockchain, just released a new version, describing it as “the first full release following the recent mainnet issues,” with “critical fixes.”
When data blocks don’t finalize, there isn’t supposed to be any downtime or difference in end-user experience. That said, a loss in finality can lead to some security issues like reorgs.
Reorgs occur when a blockchain produces more than one block at the same time, usually because of a bug or an attack. This means that a validator node temporarily creates a new version of a blockchain, which makes it difficult to properly verify if a transaction has been successful, while the old version of the blockchain continues to exist.
However, snowball effects from this incident led to some end-user jolts. DYdX, a leading crypto exchange platform, had to temporarily pause deposits because of one of last week’s incidents, and Polygon’s zkEVM also experienced some delays with deposits.
The chart shows a spike in missed validator slots last week as the Ethereum blockchain temporarily stopped finalizing transactions. (Glassnode)
So how does finalization work?
In a proof-of-stake blockchain like Ethereum’s, validators first have to propose a block that contains transactions. Once those are proposed, other validators have to sign off on the block to permanently add it to the blockchain, which takes about 15 minutes. Once it is approved, or “attested,” by two-thirds of validators, the block eventually becomes finalized.
Thus, finality is the point where transactions on a blockchain are considered immutable. Finality is supposed to guarantee that transactions within a block cannot be altered.
If finality cannot be guaranteed, the blockchain enters an emergency state called the “inactivity leak,” where validators receive penalties for not reaching finalization. When the state is triggered, it acts as a way to incentive the blockchain to start finalizing again. The incident last week triggered Ethereum’s first-ever inactivity leak.
The Ethereum community has acknowledged that the current timeframe for blocks to be finalized is too long.
“Having a delay between a block’s proposal and finalization also creates an opportunity for short reorgs that an attacker could use to censor certain blocks or extract MEV,” the Ethereum website shared in a blog.
Ethereum co-founder Vitalik Buterin was writing about finality seven years ago, an indication of just how important an issue it is.
When the first loss of finality occurred on May 11, developers immediately shared it over Twitter, saying they were going to deploy extra help to figure out what was going on. After 25 minutes, the issue seemed to have been resolved and the chain resumed finalizing.
Roughly 24 hours later, the chain stopped finalizing again for about an hour, which caused outages for some infrastructure providers.
In the past, finalization has temporarily stopped because of bugs in client software used to run the blockchain. Ethereum has multiple clients in the event that there is a flaw or glitch in the software, so there are other options, and the activity on the blockchain can keep running.
How did this affect the applications?
Tim Beiko, protocol support lead at the Ethereum Foundation, told CoinDesk the incident is “definitely significant, but it’s not something where Ethereum’s security or soundness is at risk or compromised.”
“Within minutes, things were corrected and within like a day or two clients had software patches to make sure that this specific case did not come up again,” he said.
The developers are still looking to understand what caused the blockchain to stop finalizing, and are expected to discuss a post-mortem report in their upcoming Consensus Layer call.
Beiko told CoinDesk that the incident did not get to a point “where we began to test the very extreme fallbacks in the protocol to deal with this stuff.”
The incidents did affect several applications that run on top of the Ethereum blockchain.
Jordi Baylina, technical lead at Polygon, said that the finality stoppage meant that deposits onto the Polygon zkEVM chain were delayed, and since the chain relied on Infura, an infrastructure provider which also temporarily had an outage as a result of the loss in finality, issues for individuals using the zkEVM compounded.
“You need to wait for the finality in layer 1 deposit to be available in layer 2,” Balyina said. “So until you don’t have finality, you cannot use [the chain] or you have the risk of double spending in layer 2.”
DYdX paused its deposits temporarily today due to the lack of Ethereum finality and said it was “continuing to monitor and investigate this issue.”
Despite this, Ethereum developers emphasize that the network did not go down.
“Today’s incident has been a great fire drill. It looks like two or three issues came together (as is often the case). The chain recovered gracefully and we discovered a few other issues that could be improved to make Ethereum more resilient,” tweeted Marius van der Wijden, a developer at the Ethereum Foundation.
Edited by Bradley Keoun.
DISCLOSURE
Please note that our
privacy policy,
terms of use,
cookies,
and
do not sell my personal information
has been updated
.
The leader in news and information on cryptocurrency, digital assets and the future of money, CoinDesk is a media outlet that strives for the highest journalistic standards and abides by a
strict set of editorial policies.
CoinDesk is an independent operating subsidiary of
Digital Currency Group,
which invests in
cryptocurrencies
and blockchain
startups.
As part of their compensation, certain CoinDesk employees, including editorial employees, may receive exposure to DCG equity in the form of
stock appreciation rights,
which vest over a multi-year period. CoinDesk journalists are not allowed to purchase stock outright in DCG
.
Margaux Nijkerk reports on blockchain protocols with a focus on the Ethereum ecosystem. A graduate of Johns Hopkins and Emory universities, she has a masters in International Affairs & Economics. She holds a very small amount of ETH and other altcoins.
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.
Margaux Nijkerk reports on blockchain protocols with a focus on the Ethereum ecosystem. A graduate of Johns Hopkins and Emory universities, she has a masters in International Affairs & Economics. She holds a very small amount of ETH and other altcoins.
Mar 12, 2020 at 16:13 UTCUpdated Mar 12, 2020 at 16:24 UTCGregory Magarshak is founder and CEO of Intercoin. Since 2011 he has built a decentralized social networking platform that has reached 7 million users to date, and is working on tools to help bring power back into the hands of people and local communities.For…
“We’re seeing the XRP price jump by double digits and rally above its long-held resistance levels, as rumors filter through that Ripple and the SEC have possibly agreed to a settlement,” said Henry Liu, CEO of BTSE, in a Telegram message to CoinDesk.
Binance CEO Changpeng "CZ" Zhao dispelled rumors that the world’s largest crypto exchange has been selling bitcoin (BTC) to keep the prices of bnb coin (BNB) from falling below certain levels.“Binance have not sold BTC or BNB. We even still have a bag of FTT,” Zhao tweeted early on Wednesday, using his infamous “4” moniker.…
news Blockstack CEO Muneeb Ali criticized “most” decentralized apps in the industry during a panel appearance Monday, drawing issue with how they are typically organized today. At CoinDesk’s Consensus 2019 conference, he took aim at the “architecture” most decentralized apps use these days, arguing that apps across the space are putting too much reliance (and…
The journalist who exposed Claudine Gay's plagiarism bet was set to win $1400 in crypto via a Polymarket contract if she resigned by year's end.Chris Brunet lost money because she didn't quit fast enough but he still hopes to monetize his work by trading on prediction markets.The ethics of this aren't entirely clear, but it's
Cryptocurrency exchange Crypto.com has completed its licensing process in Singapore after having obtained in-principle approval in the city state last June.Crypto.com has now received its Major Payment Institution (MPI) licence for Digital Payment Token (DPT) services from the Monetary Authority of Singapore (MAS), the exchange announced on Thursday.The Singapore-based exchange's CEO Kris Marszalek said: “The…
The U.S. Department of Justice thinks FTX founder Sam Bankman-Fried’s proposed jury questions are “unnecessarily intrusive” and may be intended to support his defense.Bankman-Fried and the DOJ both proposed voir dire questions earlier this week, ranging from standard queries about whether potential jurors were familiar with the case to more specific questions about whether they
Aug 10, 2020 at 20:38 UTCUpdated Aug 10, 2020 at 20:39 UTCCoinDesk 20 Bitcoin Price IndexMarket Wrap: Bitcoin Tests $12K; DeFi Debt Outstanding Hits RecordBitcoin hit $12,000 but then fell as long derivatives traders were wiped out. Meanwhile, DeFi lending continues to grow. Bitcoin (BTC) trading around $11,884 as of 20:00 UTC (4 p.m. ET).…
The U.S. Department of Justice doesn't want Changpeng 'CZ' Zhao locked up until sentencing, but it doesn't want him to leave the United States either, arguing in a new filing that he's a "flight risk that could be managed."Late last week, CZ's counsel argued that the very fact he – a non-U.S. citizen holding UAE and Canadian