Sui Reveals What Caused Three Mainnet Halts After Major Network Upgrade

bitcoinistPublished on 2026-06-02Last updated on 2026-06-02

Abstract

The Sui mainnet experienced three outages on May 28 and 29 following its 1.72 network upgrade. The first two halts, on Thursday and Friday morning, were caused by a bug in the new hybrid gas charging logic for address balances. A transaction cancellation due to insufficient funds could later trigger an underflow during the gas settlement process. A temporary patch was applied, but a masked error caused a repeat halt Friday morning. The third outage Friday afternoon was a separate issue triggered by a scheduled epoch change. A bug prevented validators from properly persisting the failed status of a randomness generation protocol, stalling the transition. All issues have been resolved with no risk to user funds, and network activity has resumed. The Sui Foundation cited lessons around improving epoch resilience and the critical nature of gas charging logic.

Sui’s mainnet suffered three separate outages across May 28 and May 29 after the network’s 1.72 release exposed edge cases in gas charging and validator restart logic, according to a postmortem from the Sui Foundation. The foundation said the issues have since been resolved, network activity has resumed, and “no user funds were at risk.”

The incidents began on Thursday, May 28, when Sui’s mainnet halted at around 7 a.m. PT and remained down until roughly 1:30 p.m. PT. A second outage followed on Friday morning, starting at about 5 a.m. PT and ending around 8:30 a.m. PT. The third halt began Friday afternoon at approximately 1:30 p.m. PT and was resolved around 7:20 p.m. PT.

According to the foundation, the first two outages stemmed from crash bugs involving the interaction between gas charging logic and Sui’s 1.72 upgrade, which introduced address balances. The third outage was separate, triggered during a scheduled epoch change after validator restarts exposed a latent bug in how randomness state was preserved.

“During the outages, no user funds were at risk, and the network did not revert any committed transactions when it resumed,” the Sui Foundation said. “As of now, validators have fully addressed the known issues caused by both the original gas-charging bug and the randomness-state bug, and network activity has resumed.”

Sui Gas Charging Bug Triggered Initial Halts

The first problem centered on Sui’s new address balance feature, which allows users to store funds and pay for gas without relying solely on coin objects. Transactions on Sui can pay gas through address balances, coin objects, or a hybrid structure combining both.

The edge case emerged in that hybrid gas path. When a transaction attempted to spend from an address balance that could not cover competing transactions, the scheduler correctly cancelled it with an InsufficientFundsForWithdraw error. But later, during gas smashing — the process of combining input coins into a single gas-paying coin — the same reservation could still attempt to debit funds again.

In the foundation’s explanation, the crash did not occur directly during gas smashing but during settlement, when balance deltas were reconciled by a system transaction. A negative delta applied to a zero balance caused an underflow.

The immediate fix was conceptually straightforward: avoid gas smashing when a transaction is cancelled with InsufficientFundsForWithdraw. Validators adopted that fix on Thursday, bringing the network back online. But the foundation acknowledged that the patch was an interim measure, chosen to restore the network while engineers developed a more complete solution.

“Changing gas logic is a delicate operation,” the foundation wrote. “As explained above, there are complicated interactions between address balances and coins. Other than fixing bugs, gas logic changes must preserve all previous behavior or use appropriate version gating.”

That interim patch contained a known weakness. If a transaction had multiple cancellation reasons, another error could mask the InsufficientFundsForWithdraw condition. When that happened Friday morning, the original underflow path could still be reached, causing a second halt.

Epoch Change Exposed Randomness-State Bug

The third outage came after the network had resumed normal operation Friday morning. At the next scheduled epoch change, validators failed to complete the transition because of a bug tied to Sui’s distributed key generation protocol, or DKG, which bootstraps randomness for transactions that depend on on-chain randomness.

During the earlier restart cycle, participation was not high enough for the next epoch’s DKG process, so randomness was disabled as designed. The problem was that the failure verdict was not written to disk. As validators restarted again, they came back up without remembering that DKG had failed.

“With validators no longer remembering DKG had failed, neither could happen, the paused queue grew, and end-of-epoch logic — which must drain that queue before closing — was left waiting on DKG that would never come,” the foundation said.

The fix had two parts: persisting DKG status across restarts and adding a mechanism that allowed validators to close the stuck epoch at a coordinated point. That mechanism was used once to close the affected epoch, after which the network moved into the next epoch and randomness was restored.

The postmortem framed the outages as a broader engineering lesson for Sui. The foundation said end-of-epoch resilience needs further investment, particularly around graceful degradation and operational force-close mechanisms. It also said gas charging deserves the same level of rigor as the Move VM or Mysticeti consensus, given its interaction with settlement, conservation checks, and scheduling.

At press time, SUI traded at $0.8798.

Sui remains below the 20-week EMA, 1-week chart | Source: SUIUSDT on TradingView.com

Related Questions

QWhat were the root causes of the three mainnet halts experienced by Sui?

AThe first two outages were caused by crash bugs involving the interaction between the new address balance feature in the 1.72 upgrade and gas charging logic. The third outage was caused by a latent bug related to how randomness state was preserved during validator restarts, which was exposed during a scheduled epoch change.

QAccording to the postmortem, were any user funds at risk during the network outages?

ANo. The Sui Foundation stated that during the outages, no user funds were at risk, and the network did not revert any committed transactions when it resumed.

QWhat specific condition triggered the gas-charging bug that led to the first two halts?

AThe bug was triggered in a hybrid gas payment scenario. When a transaction attempted to spend from an address balance that could not cover competing transactions, it was cancelled. Later, during the 'gas smashing' process, the system incorrectly tried to debit funds from the same cancelled reservation again, leading to an underflow error during settlement.

QWhat was the key issue with the Distributed Key Generation (DKG) protocol that caused the third outage?

ADuring validator restarts, the failure verdict of a DKG process (which was disabled due to low participation) was not written to disk. When validators restarted again, they had no memory of the DKG failure. This caused the end-of-epoch logic to wait indefinitely for a DKG process that would never complete, stalling the epoch transition.

QWhat broader engineering lessons did the Sui Foundation highlight from these incidents?

AThe foundation highlighted two main areas for improvement: 1) Enhancing end-of-epoch resilience with better graceful degradation and operational force-close mechanisms. 2) Applying the same level of engineering rigor to gas charging logic as is applied to the Move VM or consensus, due to its complex interactions with settlement, conservation checks, and scheduling.

Related Reads

Bloomberg Uncovered: How Do China's Wealthy Circumvent the Annual $50,000 Limit to Transfer Assets?

**Summary: How Wealthy Chinese Circumvent $50,000 Annual Foreign Exchange Limits** Despite China's strict capital controls, including an annual $50,000 per person foreign exchange quota, an estimated $150 billion in funds still leaves the country annually via various gray and underground channels. This report outlines the evolution of China's "capital wall" and the methods used to bypass it. **The Evolving Capital Controls:** * **Foundation (1994):** The system of "current account convertibility with strict capital account controls" was established. * **Quota Set (2007):** The $50,000 individual annual forex purchase limit was formalized. * **Crackdown Begins (2015-2017):** Following market volatility, enforcement tightened. Banks were required to scrutinize transactions, and channels like using UnionPay cards for Hong Kong insurance premiums or buying overseas property were blocked. * **Digital & Legal Upgrades (2024-2026):** Enhanced algorithms now flag suspicious patterns (e.g., "smurfing"). The Common Reporting Standard (CRS) provides Chinese tax authorities with data on citizens' offshore accounts. Unlicensed cross-border brokers have been targeted. **Five Primary Methods for Moving Capital:** 1. **Underground Banking / "Hawala" (Duiqiao):** The largest-scale method. No money crosses borders. Clients pay RMB to a domestic account; an overseas associate deposits equivalent foreign currency into the client's offshore account. Risks include high fees, account freezes, and legal penalties. 2. **"Smurfing" or "Ant Moving":** Using multiple individuals' $50,000 quotas to pool funds for one offshore recipient. Increasingly detected by anti-money laundering algorithms. 3. **Trade Invoice Manipulation:** Businesses over-invoice imports or under-invoice exports via offshore shell companies, creating a pretext to transfer excess funds abroad under the guise of trade. 4. **Channel Migration:** After a crackdown on internet brokers, funds flow toward more compliant but costly channels like major banks' cross-border wealth management services or Qualified Domestic Institutional Investor (QDII) quotas. 5. **Structural Arrangements:** High-net-worth individuals use complex, high-cost legal structures involving offshore trusts, insurance, and investment migration programs to transfer asset ownership. **Regulatory Response: Focusing on People, Not Just Money** The current strategy extends oversight from enterprises to **individual residents**. Tools like CRS allow retroactive visibility into offshore assets. Cryptocurrencies, once seen as a potential loophole, are now actively monitored and prosecuted as an illegal channel. The underlying driver remains: with significant wealth concentrated among millions of affluent households seeking diversification amid domestic economic shifts, the incentive to move assets offshore persists despite regulatory barriers.

marsbit13m ago

Bloomberg Uncovered: How Do China's Wealthy Circumvent the Annual $50,000 Limit to Transfer Assets?

marsbit13m ago

Ethereum's Ballmer Moment: As Everyone Is Bearish, the Circulating Supply Is Disappearing

"Ethereum's Ballmer Moment: Circulation Shrinks Amid Bearish Sentiment" Amid widespread bearish sentiment, with prominent figures like Bankless founder David Hoffman selling ETH and young developers flocking to Solana, some argue Ethereum is entering its "Ballmer era"—akin to Microsoft's perceived stagnation under Steve Ballmer. While surface-level criticisms about slow protocol development, cautious leadership, and competitive pressure are valid, underlying fundamentals tell a different story. Approximately 30% of ETH is staked, major holders like BitMine are accumulating, and spot ETFs continue to absorb supply. Regulatory clarity, including the SEC/CFTC's March ruling on staking rewards and the potential passage of the CLARITY Act, is transforming crypto from a regulatory threat into a legitimized framework. This institutionalization, alongside a shrinking circulating supply (with net issuance around 0.23% annually), creates significant buy-side pressure independent of fee-based value capture. The broader crypto total addressable market is expanding through regulated stablecoins, tokenized assets, and institutional adoption. While public chains face competition from permissioned alternatives, the winning model appears to be permissioned assets settling on public chains like Ethereum and Solana. The author advocates a non-maximalist, barbell strategy: holding ETH for its institutional role and supply squeeze, SOL for consumer/throughput trends, BTC as a macro hedge, and a basket of next-gen L1s. Key bullish drivers for ETH include rapid circulation shrinkage, potential Q2 staked ETF approvals, regulatory tailwinds solidifying its role as a default settlement layer, and the optionality of an eventual "Satya moment" leadership shift. Despite bearish consensus, the current setup—where crypto is "not hot" and regulatory groundwork is being laid—presents a compelling investment opportunity. The crypto cycle's focus may have shifted to AI, but blockchain infrastructure is gaining a legal and institutional foothold precisely while attention is elsewhere.

marsbit13m ago

Ethereum's Ballmer Moment: As Everyone Is Bearish, the Circulating Supply Is Disappearing

marsbit13m ago

Claude Code Introduces Dynamic Workflows: Enabling AI to Form Teams and Collaborate

Claude Code introduces dynamic workflows, enabling AI to coordinate teams of specialized agents for complex tasks. This transforms Claude from a code assistant into a programmable workbench. Workflows address key limitations of single-agent systems: agentic laziness (premature task completion), self-preferential bias (favoring own outputs), and goal drift (losing sight of original objectives). The system allows Claude to dynamically create execution frameworks using JavaScript. It can split tasks, dispatch parallel agents for isolated work (e.g., in separate worktrees), implement adversarial validation, run tournaments, and synthesize results. This multi-agent approach is valuable for tasks requiring deep research, factual verification, code migration, root cause analysis, large-scale triage, and qualitative sorting. Key patterns include: classify-and-route, fan-out-and-synthesize, adversarial verification, generate-and-filter, tournaments, and loop-until-done. While token usage is higher, workflows excel where tasks resemble programming—needing problem decomposition, isolated context, hypothesis testing, and handling many details. They extend Claude Code's utility beyond technical work to areas like business plan review, resume screening, and naming brainstorm. The feature is not a universal solution but points to a future where AI tool competitiveness depends on organizing reliable, reusable, and auditable execution flows for complex goals.

marsbit54m ago

Claude Code Introduces Dynamic Workflows: Enabling AI to Form Teams and Collaborate

marsbit54m ago

Hyperliquid, Wall Street's 24/7 Trading Convenience Store

Hyperliquid: The 24/7 Trading "Convenience Store" for Wall Street Hyperliquid, a decentralized cryptocurrency exchange, has become a go-to platform for Wall Street traders seeking to trade around the clock, especially during traditional market closures. Founded by Jeff Yan, a former quantitative trader, after the FTX collapse, the platform emphasizes user self-custody of assets. It offers a wide range of perpetual contracts—leveraged derivatives with no expiry—on assets from Bitcoin and crude oil to the S&P 500 and even pre-IPO companies like SpaceX. A notable example involves a hedge fund trader who capitalized on geopolitical news over a weekend, securing a 243% return on oil derivatives before markets reopened. The platform, run by just 11 employees, generated approximately $800 million in revenue last year, and its native token HYPE has seen significant growth. Its rise highlights the merging of traditional finance and crypto. While U.S. users are currently restricted, recent CFTC rule changes could open access. The platform is known for its transparency, having processed $10 billion in liquidations during a market crash while competitors faltered. Regulators warn of the high risks and complexity of perpetual contracts for retail investors. Key to its appeal is a strong community culture, direct engagement with founders, and a simple interface. Despite rules against VPN use, it attracts global users with its permissionless approach. Hyperliquid plans to expand into prediction markets and options, aiming to eventually host all financial activity.

marsbit54m ago

Hyperliquid, Wall Street's 24/7 Trading Convenience Store

marsbit54m ago

Trading

Spot
Futures

Hot Articles

How to Buy SUI

Welcome to HTX.com! We've made purchasing SUI Network (SUI) simple and convenient. Follow our step-by-step guide to embark on your crypto journey.Step 1: Create Your HTX AccountUse your email or phone number to sign up for a free account on HTX. Experience a hassle-free registration journey and unlock all features.Get My AccountStep 2: Go to Buy Crypto and Choose Your Payment MethodCredit/Debit Card: Use your Visa or Mastercard to buy SUI Network (SUI) instantly.Balance: Use funds from your HTX account balance to trade seamlessly.Third Parties: We've added popular payment methods such as Google Pay and Apple Pay to enhance convenience.P2P: Trade directly with other users on HTX.Over-the-Counter (OTC): We offer tailor-made services and competitive exchange rates for traders.Step 3: Store Your SUI Network (SUI)After purchasing your SUI Network (SUI), store it in your HTX account. Alternatively, you can send it elsewhere via blockchain transfer or use it to trade other cryptocurrencies.Step 4: Trade SUI Network (SUI)Easily trade SUI Network (SUI) on HTX's spot market. Simply access your account, select your trading pair, execute your trades, and monitor in real-time. We offer a user-friendly experience for both beginners and seasoned traders.

8.1k Total ViewsPublished 2024.03.29Updated 2026.06.02

How to Buy SUI

Discussions

Welcome to the HTX Community. Here, you can stay informed about the latest platform developments and gain access to professional market insights. Users' opinions on the price of SUI (SUI) are presented below.

活动图片