Fun

Solana outage raises questions about client diversity and beta status

News Feed - 2024-02-27 11:02:26

Prashant Jha9 hours agoSolana outage raises questions about client diversity and beta statusSolana’s latest outage was its first in nearly a year and around half a dozen in the past two years, but despite that, the blockchain is thriving with network activity and a token price surge.2401 Total views1 Total sharesListen to article 0:00Follow upOwn this piece of crypto historyCollect this article as NFTJoin us on social networksThe Solana network experienced a significant outage on Feb. 6 at 10:22 am UTC, with block production halted for over five hours before validators restarted the network. 


This is not the first time Solana has gone down. Since January 2022, Solana has seen around half a dozen significant outages and 15 partial or major outage days.Engineers from across the ecosystem are investigating an outage on mainnet-beta. This thread will be updated as more information becomes available https://t.co/rfeioQ6BG9— Solana Status (@SolanaStatus) February 6, 2024


The incidents varied in severity, ranging from partial to total network outages, and their causes included software vulnerabilities in the network and denial-of-service and resource exhaustion attacks.


The most recent outage was blamed on a bug that resulted in an infinite loop error, which caused the validators to stall on a particular block. An infinite loop error causes a program to get stuck in an endless cycle, which, in the case of Solana, prevented validators from verifying transactions on the network as they were stuck trying to process the same block.Post-mortem


Anza, a Solana-focused software development firm, released a postmortem report of the recent outage on Feb. 9 detailing its cause and how validators restarted the network. The report revealed that Solana’s Just-in-Time (JIT) compilation cache, which compiles all programs before executing a transaction, encountered the bug.


Earlier, the JIT cache was implemented using “ExecutorsCache,” however, with the v1.16 release, ExecutorsCache was replaced by a new implementation called “LoadedPrograms.” The new loader program used accounting information stored in a program’s on-chain account to look up its most recent deployment slot and use this to calculate the effective slot height.


However, this loader program encountered a legacy loader issue resulting in the JIT cache encountering a loop with older programs, causing it to recompile them repeatedly instead of efficiently accessing and executing their instructions. This glitch resulted in a network stall, as the system became bogged down in an infinite loop, unable to process transactions or move forward.


Austin Federa, head of strategy at the Solana Foundation, told Cointelegraph that there was a process to replace the old loader system with a new motor system, but it was scheduled to be disabled with an updated version.“It looks like someone intentionally called that old instruction set, which hadn’t been used in quite a long time but was still around in the codebase. The JIT compiler ran into issues where it couldn’t find what it was looking for. And that’s what created the infinite loop,”


Solana engineers quickly discovered and fixed the problem, updated the system’s processes, and identified these older programs to prevent future recompilation cycles. This solution entailed reducing the deployment of troublesome legacy loaders to ensure that all program instructions could be accessed accurately and effectively without falling into the recompilation trap.


Recent: ZK-proofs introduce security challenges for developers


Some critics have said that a significant factor contributing to Solana’s outages is the lack of client diversity, leading to potential central points of failure. Kadan Stadelmann, chief technology officer of open source decentralized exchange platform Komodo, told Cointelegraph that Solana’s developers and validators prioritize shipping code fast over maintaining perfect network uptime, adding:“The key reason is centralization and lack of validator client options. Solana’s ambition for high throughput and low transaction times puts immense pressure on its infrastructure, making it susceptible to performance degradation and outages.”


However, Federa suggests Solana possesses much more accurate architecture and explains that only two smart contract networks worldwide have independent validator clients: Ethereum and Solana. Currently, Solana has one major validator client built on one functional codebase.


“Solana has never had an outage due to a fault in consensus or something along those lines. The problems have always been implementation details. It’s always been that there’s been a bug somewhere in the implementation layer, which is not better or worse. It’s just an important kind of accuracy,” Austin explained.The Solana mainnet “beta” saga


The Solana blockchain was launched in March 2020, and over the next four years, the network has made significant strides in the decentralized finance (DeFi) ecosystem. Solana ranks as the fifth-largest DeFi chain in total value locked, with over $1.7 billion in capital allocated to different on-chain protocols. Its native Solana (SOL) token has a market valuation of around $49 billion, making it the fifth-largest cryptocurrency.


Despite a magnificent track record, Solana has never officially come out of its beta phase. The blockchain is still referred to as being in mainnet beta. Beta is a term that refers to nearly finished software that a select group of users is testing before an official launch.


However, the Solana blockchain is open to everyone, with hundreds of decentralized applications utilized to launch various products. The blockchain ecosystem also boasts a vibrant nonfungible token (NFT) ecosystem.


Solana underwent brief private and public beta testing before releasing v1.0 four years ago, and today, the network processes more transactions than most other chains.


Even though the code is still changing, Solana is much beyond what can be considered beta software. The persistent misperception results from a mix-up between pre-launch testing and post-launch software maturity and misconceptions around Solana’s messaging.


Recent: How can crypto firms bridge the gap with traditional finance?


The beta status has attracted much criticism of the blockchain, especially in light of its outages over the past two years. Crypto users on social media have often mocked that Solana’s status as a mainstream blockchain often changes to mainnet beta and back, depending on whether the chain is down.Solana is a joke. Period.

How many halts have there been in lasts months? The “it’s a beta” is not an excuse anymore. $SOL #Solana pic.twitter.com/IjvRaM58dZ— David Miller ⬡ (@CryptoDavid_) May 1, 2022


Federa claimed that most blockchain systems are in beta today and that only Bitcoin and Ethereum are probably complete mainnets and explained:“It takes a long time for software systems to stabilize and be feature-complete as important new features are still being shipped on the Solana network. I think we’re probably nearing the end of that beta phase. From a technology standpoint, one of the significant milestones for that will be the launch of a second independent validator client.”


Many DeFi proponents believe that Solana’s downtime is a definite roadblock to its aim of becoming an Ethereum competitor. Still, the developers have worked to ensure the bugs leading to past downtimes don’t impact the network in the future. Despite its tainted history of downtime, its high speed and low cost play a key role in attracting new projects to the platform.# Blockchain# Technology# Investments# Tokens# DeFi# SolanaAdd reactionAdd reaction

News Feed

Ukraine, Russia, South Africa, Nigeria Among Top Countries by Cryptocurrency Adoption
Ukraine, Russia, South Africa, Nigeria Among Top Countries by Cryptocurrency AdoptionUkraine, Russia, China, South Africa, Nigeria, Kenya, and the U.S. are among the top-ranking cou
Nigerian Experts Insist Africa’s First CBDC Is Presently Not for the Unbanked
Nigerian Experts Insist Africa"s First CBDC Is Presently Not for the Unbanked While the Central Bank of Nigeria (CBN) continues to tout the e-naira’s credentials as a tool f
ParaSwap evades hack targeting Augustus v6 contract vulnerability
Arijit Sarkar34 minutes agoParaSwap evades hack targeting Augustus v6 contract vulnerabilityParaSwap paused the V6 API soon after discovering the vulnerability and secured the potential victims’ funds through a white h
CorionX and Syscoin Join Hands to Drive Stablecoin Adoption, CorionX IEO Enters Third Round
CorionX and Syscoin Join Hands to Drive Stablecoin Adoption, CorionX IEO Enters Third Round9th October 2020, Zug, Switzerland – The non-profit Corion Foundation is pleased to
Tom Mitchelhill5 hours agoOptimism OP token slips 10% in week ahead of $30M token unlockOptimism slid as much as 10% in the week leading up to a scheduled token unlock that will see 24 million OP tokens released onto the
rhoToken Successfully Launched on Flurry Finance DApp
rhoToken Successfully Launched on Flurry Finance DApp sponsored Flurry Finance is announcing an exciting development in the world of DeFi, as the successful launch of the rhoToken m
President Zelenskyy Signs Ukraine’s Law ‘On Virtual Assets’
President Zelenskyy Signs Ukraine’s Law ‘On Virtual Assets’ President Volodymyr Zelenskyy has signed the law “On Virtual Assets” which aims to regulate the cryp
Coinbase Launches Cryptocurrency Visa Card in the US
Coinbase Launches Cryptocurrency Visa Card in the US U.S. customers can now apply for the Coinbase Visa, a card that allows users to spend digital assets anywher
Major Exchanges Experience Technical Issues as Bitcoin Price Drives in Massive Traffic
Major Exchanges Experience Technical Issues as Bitcoin Price Drives in Massive Traffic Bitcoin has finally broken the $20k resistance level. The record-breaking
David Attlee1 hour agoBank of China: Platforms must provide digital yuan retail payment optionIn the short term, e-commerce platforms can integrate the CBDC through QR codes.1746 Total views36 Total sharesListen to artic
Bhutan Partners With Ripple to Pilot Digital Ngultrum on a Private Ledger
Bhutan Partners With Ripple to Pilot Digital Ngultrum on a Private Ledger The Central Bank of Bhutan, the Royal Monetary Authority (RMA), has partnered with Ripple to start testing
Bitcoin Creator Satoshi Nakamoto Turns 48 Today, Coinciding With the Anniversary of FDR’s US Gold Ban
Bitcoin Creator Satoshi Nakamoto Turns 48 Today, Coinciding With the Anniversary of FDR’s US Gold Ban According to the P2P Foundation forum, the mysterious creator of Bitcoin, Sa