The Ethereum beacon chain, which will be crucial to the EthereumEthereum Merge scheduled for later this year, today experienced a potentially high-level security risk known as a blockchain “reorganization.”
A reorganization, or reorg, can happen either through a network failure, such as a bug, or a malicious attack, temporarily resulting in a duplicate version of a blockchainblockchain. The longer a reorg lasts, the more serious the consequences.
Today’s reorg on the Ethereum Beacon Chain lasted seven blocks—the longest such reorg in years, according to Martin Köppelmann, CEO and co-founder of DeFiDeFi service provider Gnosis.
The Beacon Chain, which launched on December 1, 2020, introduced native staking to the Ethereum blockchain. Staking, which involves pledging assets to a network, is how validators will become eligible to add blocks to the chain, a main tenet of the proof-of-stakeproof-of-stake consensus model.
The Ethereum Merge, previously referred to as “Ethereum 2.0,” is a significant and long-awaited upgrade to the current network and will mark its transition from proof of workproof of work to proof of stake. The merge, scheduled for August, will combine the Beacon Chain with the Ethereum mainnet. That means problems with the Beacon Chain could potentially further delay the merge.
Köppelmann noted today’s Ethereum reorg in a Twitter thread, saying that it’s evidence there’s more work to be done ahead of the merge.
“This shows that the current attestation strategy of nodes should be reconsidered to hopefully result in a more stable chain,” he wrote.
The Ethereum beacon chain experienced a 7-block deep reorg ~2.5h ago. This shows that the current attestation strategy of nodes should be reconsidered to hopefully result in a more stable chain! (proposals already exist) pic.twitter.com/BkQrKuUlw1
— Martin Köppelmann 🇺🇦 (@koeppelmann) May 25, 2022
A reorg occurs when two different miners start working on adding blocks of transactions with similar difficulty to the chain at the same time. That creates a forkfork, or a duplicate version of the blockchain.
A miner adding the next block has to choose which side of the fork is the correct, or canonical, chain. Once they’ve done that, the other one is lost.
Miners are the oft-unacknowledged heroes of the Ethereum blockchain. They process user transactions, add blocks to the chain, and help keep the whole enterprise running by competing to solve cryptographic puzzles.
While they're rewarded with 2 ETH (about $4,000 at current prices) plus transaction fees for any block they're able to mine, they can often bag more.
The catch: To do so, they have to tinker with your transactions.
What Will Happen to Ethereum Miners After ETH 2.0?
Welcome to the world...
A seven-block reorg means that the fork that was eventually dropped had seven blocks worth of transactions added to it before the network decided it wasn’t the canonical chain. Every block on the Ethereum chain contains roughly anywhere between 200 to 300 transactions and has a value of about 2 ETH, or roughly $4,000, according to Etherscan.io.
When there are two competing versions of a blockchain, even if only for a little while, there’s risk that someone will be able to spend the same assets twice.
When this is done maliciously, like with the ZenGo wallet attack in 2020, it's known as a double-spend attack. In such an attack, fraudsters send a transaction with a minimum fee and then immediately override it by increasing the fee (so miners will be incentivized to verify the more profitable new transaction first) and redirecting funds to a different address.
But in this case, the cause of the reorg and potential for double-spend seems to have been benign.
The software that miners use has a method for determining which side of the fork to choose—that’s the attestation strategy Köppelmann was referring to.
The Twitter thread eventually drew the attention of some of Ethereum’s core developers. Ethereum founder Vitalik Buterin himself chimed in to add some weight to a theory that the problem was caused by miners running outdated versions of mining software.
In this case, client teams have been scrambling to understand the situation so they can figure out what to fix for the last couple of hours! Already some good hypotheses:https://t.co/VbgjWloK8c
Last year, Buterin and Georgios Konstantopoulos, the chief technology officer at Paradigm, tackled the issue of reorgs in a blog post. In it, they said that a reorg of more than five blocks could be a sign of a malicious attack.
They explained that short one- and two-block reorgs happen all the time because of network latency.
“Occasionally, bad luck can lead to 2-5 block reorgs,” Buterin and Konstantopoulos wrote in the post. “Reorgs longer than that are almost always due to extreme network failure, client bugs, or malicious attacks.”
But as Prysm developer Terrence Tsao explained in a Twitter thread, today's reorg, even though it lasted long enough to raise serious concerns, may have just been another case of bad luck.
Daily Debrief Newsletter
Start every day with the top news stories right now, plus original features, a podcast, videos and more.
A high-ranking official in Brazilian President Luiz Inácio Lula da Silva's administration declared Tuesday that a potential strategic Bitcoin reserve would be "determinant for our prosperity" and "in the (country’s) public interest."
Pedro Giocondo Guerra, chief of staff to Vice President Geraldo Alckmin, made the remarks while officially representing the federal government at a congressional ceremony.
Debating the establishment of a sovereign bitcoin reserve rigorously is a matter of public int...
A poorly rendered fake video of Donald Trump revealing the Bitcoin whitepaper in the Oval Office, replacing the Declaration of Independence with Satoshi Nakamoto’s manifesto, has gone viral across social media platforms this week.
In the doctored clip, Trump theatrically pulls back drapes to unveil a framed copy of Bitcoin: A Peer-to-Peer Electronic Cash System as Fox News host Laura Ingraham looks on.
“You think Joe Biden would do this? I don’t think so,” Trump says, grinning. “...Do you think...
As Bitcoin mining grows more competitive and challenging, industry leaders are looking to cash in on AI data centers—but it’s no easy feat.
At the Mining Disrupt conference in Fort Lauderdale, Florida this week, leading miners said navigating the shift to AI requires skill and care.
“In the long-term, [AI] is a big trend,” Paul Li, CEO of mining technology provider Fog Hashing, said during a talk. “We cannot miss that. You [miners] need to go far this year, as the demand for compute power AI c...