Ethereum’s Pectra upgrade on Sepolia faces disruptions, unknown attacker mines empty blocks

Source Cryptopolitan

Ethereum’s highly anticipated Pectra upgrade encountered disruptions on the Sepolia testnet following an exploit that led to empty block mining. The upgrade, which was deployed on March 5, ran into issues a few hours later when developers noticed error messages on their geth node.

According to a detailed report from Ethereum developer Marius van der Wijden, the team discovered an unexpected behavior in the deposit contract that occurred on the testnet at around 7:30 UTC last Wednesday. Instead of triggering the expected deposit event, the contract emitted an incorrect transfer event.

Shortly after the hard fork was activated, we told Jim McDonald to send a deposit to test the execution-triggered withdrawal functionality added in Pectra. We then saw error messages on our geth node and started seeing a lot of empty blocks being mined,” van der Wijden explained.

The error message reportedly read, “unable to parse deposit data: deposit wrong length: want 576, have 32.” This meant an unexpected deposit contract token-gated ERC-20 transfer was executed, disrupting the chain’s expected behavior. 

Unknown attacker exploits a missed edge case

Wijden said that developers moved quickly to deploy a fix, but an overlooked edge case allowed an unknown attacker to take advantage of the system. The exploiter sent a zero-token transfer to the deposit address and managed to trigger the same error again, leading to continued empty block mining.

We checked the deposit contract and verified that no one could trigger the deposit functionality (because it is token gated and we only gave out tokens to trusted parties for Sepolia). We missed one edge case in the ERC20 spec, though,” the developer remarked.

Initially, developers had suspected the mistake came from a trusted validator, but later realized the transaction originated from a new account funded through a faucet. Ethereum’s team then moved to coordinate the fix rollout without splitting the chain. 

Wijden said that a hasty release could have caused network fragmentation because nodes that weren’t updated would not have been able to connect to the fixed chain. After averting the crisis, they planned a joint rollout for 14:00 UTC, which gave the teams time to get ready.

Developers found the flaw after additional investigation: the ERC-20 standard does not ban transfers of zero tokens. It means that anyone, no matter how many tokens they had, could send a move of zero tokens. This is what caused the deposit event.

Three and a half hours before the coordinated fix, as the developer described, Sepolia had supposedly produced “a lot of” empty blocks. To restore normal operations in the meantime, developers removed the transactions triggering the exploit by replacing them with higher-paying ones. 

Developers deployed a private fix to contain the attack

Ethereum’s team implemented a private fix that filtered out transactions interacting with the deposit contract. Given suspicions that the attacker was monitoring developer chats, they decided against publicizing the fix immediately. 

The fix is only filtering out transactions that directly call the deposit contract. If we publicized the fix, the attacker would’ve been able to circumvent our mitigation by calling the contract from another contract. These internal calls would still trigger the event, but they wouldn’t be easy to filter out during block creation,” Wijden reported.

Once roughly 10% of the network’s nodes were updated, full blocks began appearing again. This allowed the chain to function while the full patch was prepared for deployment.

At 14:00 UTC, all nodes updated to the new release containing the final fix. A few blocks later, the attacker’s transaction was successfully mined, confirming that all node operators had implemented the patch. The incident did not affect Ethereum’s mainnet, as the issue was specific to Sepolia’s token-gated deposit contract.

When asked by an X social media user if the “attacker had anything to win” by exploiting the testnet issue, Wijden answered, “No, they didn’t have anything to gain from it.”

Ethereum price struggles continue: Market activity is weaker

Ethereum is still showing signs of weakness, shedding over 10% of its value in the last week. The second-largest coin by market cap has been hovering around the $2,000 mark, a three-month low support level that market watchers predict will drop even lower.

According to market technical indicators, ETH is in a continued downtrend, with lower highs and lows forming alongside bearish moving averages. If Ethereum fails to hold $2,000, analysts warn that the next major support levels lie between $1,800 and $1,700. 

Although the Relative Strength Index (RSI) at 30.45 suggests a potential short-term bounce, resistance at $2,200 is a level the coin has failed to breach for over 24 hours.

Cryptopolitan Academy: Want to grow your money in 2025? Learn how to do it with DeFi in our upcoming webclass. Save Your Spot

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Bitcoin Outlook 2025As the Bitcoin market continues to mature, its 2025 outlook appears highly favourable, driven by institutional adoption and regulatory developments.
Author  TradingKey
Jan 23, Thu
As the Bitcoin market continues to mature, its 2025 outlook appears highly favourable, driven by institutional adoption and regulatory developments.
placeholder
Dogecoin Price Breaks Resistance Trendline That Could Trigger Breakout Above $1The Dogecoin price looks set to witness a breakout above the psychological $1 level, having broken a resistance trendline. Crypto analyst Trader Tardigrade provided a timeline for when this massive surge could happen as DOGE rallies to a new all-time high (ATH). 
Author  Bitcoinist
Apr 27, Sun
The Dogecoin price looks set to witness a breakout above the psychological $1 level, having broken a resistance trendline. Crypto analyst Trader Tardigrade provided a timeline for when this massive surge could happen as DOGE rallies to a new all-time high (ATH). 
placeholder
Gold Price Forecast: XAU/USD edges lower to near $3,300 as US-China trade tensions easeThe Gold price (XAU/USD) drifts lower to around $3,310 during the early Asian session on Monday. The precious metal retreats after hitting its record high last week amid signs that global trade tensions may be easing.
Author  FXStreet
Yesterday 01: 26
The Gold price (XAU/USD) drifts lower to around $3,310 during the early Asian session on Monday. The precious metal retreats after hitting its record high last week amid signs that global trade tensions may be easing.
placeholder
XRP Price Shows Strength — Breakout Above Key Levels Possible?XRP price started a fresh increase above the $2.20 zone. The price is now consolidating near the $2.280 zone and might aim for a fresh increase. XRP price started a fresh increase above the $2.250
Author  NewsBTC
Yesterday 06: 36
XRP price started a fresh increase above the $2.20 zone. The price is now consolidating near the $2.280 zone and might aim for a fresh increase. XRP price started a fresh increase above the $2.250
placeholder
Gold Price Forecast: XAU/USD holds below $3,350 on firmer US Dollar, easing US-China trade tensionsThe Gold price (XAU/USD) loses ground to around $3,335 during the early Asian session on Tuesday. The yellow metal edges lower amid a modest rebound of the US Dollar (USD) and a softening in tensions between the United States and China. 
Author  FXStreet
7 hours ago
The Gold price (XAU/USD) loses ground to around $3,335 during the early Asian session on Tuesday. The yellow metal edges lower amid a modest rebound of the US Dollar (USD) and a softening in tensions between the United States and China. 
goTop
quote