Solana Halted by Bug Linked to Certain Cold Storage Transactions

Validators restarted the network after four hours of downtime by disabling the so-called “durable nonce transactions” that have found favor among some exchanges.

AccessTimeIconJun 2, 2022 at 12:47 a.m. UTC
Updated Jun 2, 2022 at 2:07 p.m. UTC

Danny is CoinDesk's deputy business editor. He owns BTC, ETH and SOL.

The Solana network suffered its latest outage Wednesday, felled for over four hours by a bug in how the blockchain processes a niche type of transaction that’s designed for offline use cases.

Validators began restarting the network only after disabling these “durable nonce transactions,” Solana Labs communications chief Austin Federa told CoinDesk. Those transactions will remain nixed until developers identify and patch the exact culprit that threw Solana’s consensus mechanism off-kilter.

That may have ramifications for offline custodians whose transactions fall under this category, perhaps even freezing their ability to move funds until the patch is in, validators said. CoinDesk has begun reaching out to exchanges to ask about their Solana transaction setup.

Even so, at press time Wednesday a number of exchanges were reporting problems with Solana deposits and withdrawals. Among them: Binance, Coinbase and Crypto.com.

The chain’s native SOL token was already trading lower Wednesday when the outage began around noon Eastern time; it continued its 24-hour slide and was down nearly 13% around 8:30 p.m. ET, trading at $39.98, according to CoinMarketCap.

Durable nonces

Federa said durable nonces represented “an incredibly small percentage” of transactions on Solana until recently. The technology has been growing in popularity among exchanges. In cryptography, a nonce is a random number used for a specific purpose.

“This was probably a bug that existed for a while but never really became an issue because it isn't something that most people use,” Federa said.

Durable nonces on Solana are designed for token holders with complex offline signing setups that can’t always prep their transactions fast enough for the speedy network.

For example, a custodian that signs Solana transactions with two air-gapped computers might not be able to finish the job within a single block. Normal transactions on Solana would fail in this scenario. Durable nonces give the token holder time to work.

What happened on Wednesday was a failure in Solana’s ability to handle durable nonces. Instead of treating these niche inbounds as a single transaction, the network’s validators double-counted them as a single transaction at two different block heights, Federa said. This impossible situation effectively broke Solana’s consensus mechanism.

In a tweet, Laine from Stakewiz, a Solana validator operator, said the bug was “known” and was being fixed prior to Wednesday’s events. It “hadn’t been triggered in this form previously,” Laine said.

The network was slowly coming back to life on Wednesday evening as key infrastructure pieces such as RPC nodes resumed work.


Read more about

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.

CoinDesk - Unknown

Danny is CoinDesk's deputy business editor. He owns BTC, ETH and SOL.

CoinDesk - Unknown

Danny is CoinDesk's deputy business editor. He owns BTC, ETH and SOL.

Trending

1
CoinDesk - Unknown
El Salvador Purchases 80 Additional Bitcoin at $19K, President Bukele Says

The last purchase by the Central American country had been in May.

CoinDesk - Unknown
2
CoinDesk - Unknown
VanEck Files New Application for Spot Bitcoin ETF

The application comes about eight months after the SEC rejected the investment firm’s last application.

CoinDesk - Unknown
3
CoinDesk - Unknown
First Mover Asia: Speculating on Tokenized Carbon Offsets Won't Help Climate Crisis, Says Consultant; BTC Falls Under $19K Amid Wider Crypto Woes

A significant number of carbon credits are from projects 8-10 years old; Ether and other major altcoins plummet.

CoinDesk - Unknown
4
CoinDesk - Unknown
Crypto Lender Celsius Network Exploring Options to ‘Preserve and Protect’ Assets

Celsius Network is consulting with experts to try to reduce the fallout from its mid-June swoon.

CoinDesk - Unknown