Sui Reveals What Caused Three Mainnet Halts After Upgrade

Sui Reveals What Caused Three Mainnet Halts After Upgrade

Trusted Editorial content material, reviewed by main trade specialists and seasoned editors. Advert Disclosure

Sui’s mainnet suffered three separate outages throughout Could 28 and Could 29 after the community’s 1.72 launch uncovered edge circumstances in fuel charging and validator restart logic, based on a postmortem from the Sui Basis. The muse mentioned the problems have since been resolved, community exercise has resumed, and “no user funds were at risk.”

The incidents started on Thursday, Could 28, when Sui’s mainnet halted at round 7 a.m. PT and remained down till roughly 1:30 p.m. PT. A second outage adopted on Friday morning, beginning at about 5 a.m. PT and ending round 8:30 a.m. PT. The third halt started Friday afternoon at roughly 1:30 p.m. PT and was resolved round 7:20 p.m. PT.

In accordance with the inspiration, the primary two outages stemmed from crash bugs involving the interplay between fuel charging logic and Sui’s 1.72 improve, which launched handle balances. The third outage was separate, triggered throughout a scheduled epoch change after validator restarts uncovered 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 Basis mentioned. “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 Gasoline Charging Bug Triggered Preliminary Halts

The primary downside centered on Sui’s new handle stability function, which permits customers to retailer funds and pay for fuel with out relying solely on coin objects. Transactions on Sui will pay fuel via handle balances, coin objects, or a hybrid construction combining each.

The sting case emerged in that hybrid fuel path. When a transaction tried to spend from an handle stability that might not cowl competing transactions, the scheduler accurately cancelled it with an InsufficientFundsForWithdraw error. However later, throughout fuel smashing — the method of mixing enter cash right into a single gas-paying coin — the identical reservation might nonetheless try to debit funds once more.

Within the basis’s clarification, the crash didn’t happen immediately throughout fuel smashing however throughout settlement, when stability deltas have been reconciled by a system transaction. A unfavorable delta utilized to a zero stability precipitated an underflow.

The speedy repair was conceptually easy: keep away from fuel smashing when a transaction is cancelled with InsufficientFundsForWithdraw. Validators adopted that repair on Thursday, bringing the community again on-line. However the basis acknowledged that the patch was an interim measure, chosen to revive the community whereas engineers developed a extra full answer.

“Changing gas logic is a delicate operation,” the inspiration 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 identified weak spot. If a transaction had a number of cancellation causes, one other error might masks the InsufficientFundsForWithdraw situation. When that occurred Friday morning, the unique underflow path might nonetheless be reached, inflicting a second halt.

Epoch Change Uncovered Randomness-State Bug

The third outage got here after the community had resumed regular operation Friday morning. On the subsequent scheduled epoch change, validators failed to finish the transition due to a bug tied to Sui’s distributed key era protocol, or DKG, which bootstraps randomness for transactions that depend upon on-chain randomness.

Throughout the earlier restart cycle, participation was not excessive sufficient for the subsequent epoch’s DKG course of, so randomness was disabled as designed. The issue was that the failure verdict was not written to disk. As validators restarted once more, they got here again up with out 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 inspiration mentioned.

The repair had two components: persisting DKG standing throughout restarts and including a mechanism that allowed validators to shut the caught epoch at a coordinated level. That mechanism was used as soon as to shut the affected epoch, after which the community moved into the subsequent epoch and randomness was restored.

The postmortem framed the outages as a broader engineering lesson for Sui. The muse mentioned end-of-epoch resilience wants additional funding, notably round swish degradation and operational force-close mechanisms. It additionally mentioned fuel charging deserves the identical stage of rigor because the Transfer VM or Mysticeti consensus, given its interplay with settlement, conservation checks, and scheduling.

At press time, SUI traded at $0.8798.

SUI price chart
Sui stays under the 20-week EMA, 1-week chart | Supply: SUIUSDT on TradingView.com

Featured picture created with DALL.E, chart from TradingView.com

Editorial Course of for bitcoinist is centered on delivering completely researched, correct, and unbiased content material. We uphold strict sourcing requirements, and every web page undergoes diligent evaluate by our workforce of high expertise specialists and seasoned editors. This course of ensures the integrity, relevance, and worth of our content material for our readers.

Supply hyperlink

bitcoin
Bitcoin (BTC) $ 65,067.00 3.28%
ethereum
Ethereum (ETH) $ 1,829.16 3.74%
tether
Tether (USDT) $ 0.998635 0.01%
bnb
BNB (BNB) $ 627.01 4.53%
usd-coin
USDC (USDC) $ 0.999583 0.00%
xrp
XRP (XRP) $ 1.21 0.32%
solana
Solana (SOL) $ 72.21 3.53%
tron
TRON (TRX) $ 0.333666 0.43%
figure-heloc
Figure Heloc (FIGR_HELOC) $ 1.00 2.80%
staked-ether
Lido Staked Ether (STETH) $ 2,265.05 3.46%
hyperliquid
Hyperliquid (HYPE) $ 74.83 9.26%
dogecoin
Dogecoin (DOGE) $ 0.092204 1.15%
usds
USDS (USDS) $ 0.999619 0.00%
zcash
Zcash (ZEC) $ 622.34 4.20%
leo-token
LEO Token (LEO) $ 9.95 0.92%
rain
Rain (RAIN) $ 0.014342 2.20%
wrapped-steth
Wrapped stETH (WSTETH) $ 2,779.67 3.22%
cardano
Cardano (ADA) $ 0.203376 5.20%
stellar
Stellar (XLM) $ 0.212416 2.34%
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 76,243.00 3.12%
monero
Monero (XMR) $ 357.25 8.63%
binance-bridged-usdt-bnb-smart-chain
Binance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.998762 0.02%
chainlink
Chainlink (LINK) $ 8.36 0.98%
wrapped-beacon-eth
Wrapped Beacon ETH (WBETH) $ 2,466.93 3.47%
canton-network
Canton (CC) $ 0.154781 2.96%
whitebit
WhiteBIT Coin (WBT) $ 47.82 2.47%
lab
LAB (LAB) $ 16.85 8.91%
wrapped-eeth
Wrapped eETH (WEETH) $ 2,465.31 3.39%
the-open-network
Toncoin (TON) $ 1.91 3.22%
susds
sUSDS (SUSDS) $ 1.08 0.16%
bitcoin-cash
Bitcoin Cash (BCH) $ 242.67 12.99%
usd1-wlfi
USD1 (USD1) $ 0.998353 0.01%
ethena-usde
Ethena USDe (USDE) $ 0.998543 0.03%
memecore
MemeCore (M) $ 3.36 1.27%
coinbase-wrapped-btc
Coinbase Wrapped BTC (CBBTC) $ 76,366.00 3.12%
dai
Dai (DAI) $ 0.999677 0.01%
hedera-hashgraph
Hedera (HBAR) $ 0.08608 1.26%
near
NEAR Protocol (NEAR) $ 2.86 7.76%
weth
WETH (WETH) $ 2,268.37 3.40%
litecoin
Litecoin (LTC) $ 47.62 0.14%
avalanche-2
Avalanche (AVAX) $ 8.10 1.49%
sui
Sui (SUI) $ 0.832978 2.11%
usdt0
USDT0 (USDT0) $ 0.998824 0.03%
shiba-inu
Shiba Inu (SHIB) $ 0.000005 0.65%
paypal-usd
PayPal USD (PYUSD) $ 0.999717 0.01%
hashnote-usyc
Circle USYC (USYC) $ 1.13 0.00%
crypto-com-chain
Cronos (CRO) $ 0.062193 0.85%
tether-gold
Tether Gold (XAUT) $ 4,400.73 1.40%
global-dollar
Global Dollar (USDG) $ 0.999827 0.00%
blackrock-usd-institutional-digital-liquidity-fund
BlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00 0.00%
ethena-staked-usde
Ethena Staked USDe (SUSDE) $ 1.22 0.04%
bittensor
Bittensor (TAO) $ 228.16 2.16%
ondo-us-dollar-yield
Ondo US Dollar Yield (USDY) $ 1.13 0.45%
ondo-finance
Ondo (ONDO) $ 0.419845 7.42%
pax-gold
PAX Gold (PAXG) $ 4,419.58 1.35%
world-liberty-financial
World Liberty Financial (WLFI) $ 0.062657 5.09%
mantle
Mantle (MNT) $ 0.598679 2.15%
polkadot
Polkadot (DOT) $ 1.11 2.02%
worldcoin-wld
Worldcoin (WLD) $ 0.53806 33.67%
aster-2
Aster (ASTER) $ 0.690302 2.77%
uniswap
Uniswap (UNI) $ 2.83 1.07%
little-pepe-5
Little Pepe (LILPEPE) $ 2.16 99,999.99%
syrupusdc
syrupUSDC (SYRUPUSDC) $ 1.15 0.04%
ripple-usd
Ripple USD (RLUSD) $ 0.999757 0.02%
internet-computer
Internet Computer (ICP) $ 3.15 2.59%
okb
OKB (OKB) $ 79.17 5.61%
htx-dao
HTX DAO (HTX) $ 0.000002 0.25%
sky
Sky (SKY) $ 0.06812 1.46%
falcon-finance
Falcon USD (USDF) $ 0.994304 0.11%
pi-network
Pi Network (PI) $ 0.138735 0.05%
usdd
USDD (USDD) $ 0.999326 0.07%
pepe
Pepe (PEPE) $ 0.000003 1.01%
bitget-token
Bitget Token (BGB) $ 1.90 3.33%
bfusd
BFUSD (BFUSD) $ 0.998002 0.01%
morpho
Morpho (MORPHO) $ 1.89 1.50%
ethereum-classic
Ethereum Classic (ETC) $ 7.78 1.18%
aave
Aave (AAVE) $ 75.12 0.96%
render-token
Render (RENDER) $ 2.19 6.22%
humanity
Humanity (H) $ 0.578013 12.50%
jupiter-perpetuals-liquidity-provider-token
Jupiter Perpetuals Liquidity Provider Token (JLP) $ 4.00 2.64%
quant-network
Quant (QNT) $ 72.35 3.00%
ethena
Ethena (ENA) $ 0.113073 23.01%
usdtb
USDtb (USDTB) $ 0.999126 0.02%
eutbl
Spiko EU T-Bills Money Market Fund (EUTBL) $ 1.22 0.29%
polygon-ecosystem-token
POL (ex-MATIC) (POL) $ 0.093478 3.64%
jito-staked-sol
Jito Staked SOL (JITOSOL) $ 124.46 4.71%
kucoin-shares
KuCoin (KCS) $ 7.31 2.95%
blockchain-capital
Blockchain Capital (BCAP) $ 107.16 0.00%
kelp-dao-restaked-eth
Kelp DAO Restaked ETH (RSETH) $ 2,404.69 3.37%
venice-token
Venice Token (VVV) $ 20.76 10.08%
cosmos
Cosmos Hub (ATOM) $ 1.88 3.02%
binance-peg-weth
Binance-Peg WETH (WETH) $ 2,262.26 3.62%
rocket-pool-eth
Rocket Pool ETH (RETH) $ 2,631.35 3.29%
algorand
Algorand (ALGO) $ 0.107415 5.02%
united-stables
United Stables (U) $ 0.999504 0.02%
superstate-short-duration-us-government-securities-fund-ustb
Superstate Short Duration U.S. Government Securities Fund (USTB) (USTB) $ 11.10 0.03%
binance-bridged-usdc-bnb-smart-chain
Binance Bridged USDC (BNB Smart Chain) (USDC) $ 0.999945 0.02%
kaspa
Kaspa (KAS) $ 0.032546 12.07%
stable-2
​​Stable (STABLE) $ 0.038532 6.79%
wbnb
Wrapped BNB (WBNB) $ 759.61 1.56%
Scroll to Top