DEX accidentally hits kill switch on mainnet, locking 660,000 USDC inside

0

[ad_1]

A decentralized cryptocurrency (D options exchange cut its own life short after unwittingly executing a command that closed its mainnet program and made it irrecoverable.

OptiFi informed users that its platform had come to an unceremonious end after its development team tried to update its code on Monday. According to the decentralized exchange, the program incident also locked up some 660,000 USD Coin (USDC) on-chain.

OptiFi has pledged to compensate user funds lost by the error, while a large bulk of the locked-up USDC was reportedly vested by one of its team members. The company has also urged other developers working on the Solana blockchain to be wary of the ramifications of the “Solana program close” command.

In a Medium post, the platform unpacked the series of events that led to the sudden closure of its mainnet. It began with an attempt to deploy an update to its Solana program code.

The deployment took longer than usual due to what the team described as bad network status, and the command was canceled. However, a buffer address was created that received SOL the team wanted to recover.

Related: Aave community proposes to temporarily suspend ETH lending before the Merge

In the past, the team managed to recover SOL from buffer accounts without using memory phrases by closing the program. The approach initially looked to have worked after executing the command, as the team recovered the SOL, allowing them to attempt to deploy the program a second time.

An error message was returned indicating that the program had been closed and could not be redeployed unless a new program ID was used. Discussions with a Solana core developer confirmed the team’s fears that it would not be able to redeploy the program with its previous ID.

“Here it turned out that we didn’t really understand the impact and risk of this closing program command line. ‘solana program close’ is actually for closing the program permanently and sending the SOL tokens in the buffer account used by the program back to the recipient wallet.”

The OptiFi team has called for the Solana development community to explore two-step confirmation when running the “Solana program close” function and caution users of the results of using the command.

[ad_2]

Source link

Leave A Reply

Your email address will not be published.

bitcoin
Bitcoin (BTC) $ 77,633.00
ethereum
Ethereum (ETH) $ 2,418.94
tether
Tether (USDT) $ 0.999839
bnb
BNB (BNB) $ 683.77
xrp
XRP (XRP) $ 1.35
usd-coin
USDC (USDC) $ 0.999864
solana
Solana (SOL) $ 101.57
tron
TRON (TRX) $ 0.336391
hyperliquid
Hyperliquid (HYPE) $ 80.32
staked-ether
Lido Staked Ether (STETH) $ 2,265.05
figure-heloc
Figure Heloc (FIGR_HELOC) $ 1.00
zcash
Zcash (ZEC) $ 822.35
dogecoin
Dogecoin (DOGE) $ 0.082189
rain
Rain (RAIN) $ 0.017035
usds
USDS (USDS) $ 0.999813
monero
Monero (XMR) $ 508.42
leo-token
LEO Token (LEO) $ 9.59
wrapped-steth
Wrapped stETH (WSTETH) $ 2,779.67
whitebit
WhiteBIT Coin (WBT) $ 71.46
chainlink
Chainlink (LINK) $ 11.16
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 76,243.00
cardano
Cardano (ADA) $ 0.193767
binance-bridged-usdt-bnb-smart-chain
Binance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.998762
stellar
Stellar (XLM) $ 0.175139
wrapped-beacon-eth
Wrapped Beacon ETH (WBETH) $ 2,466.93
bitcoin-cash
Bitcoin Cash (BCH) $ 245.19
canton-network
Canton (CC) $ 0.118576
dai
Dai (DAI) $ 0.999883
wrapped-eeth
Wrapped eETH (WEETH) $ 2,465.31
usd1-wlfi
USD1 (USD1) $ 0.999558
ethena-usde
Ethena USDe (USDE) $ 0.999877
susds
sUSDS (SUSDS) $ 1.08
the-open-network
Gram (prev. Toncoin) (GRAM) $ 1.35
litecoin
Litecoin (LTC) $ 48.31
global-dollar
Global Dollar (USDG) $ 1.00
coinbase-wrapped-btc
Coinbase Wrapped BTC (CBBTC) $ 76,366.00
hedera-hashgraph
Hedera (HBAR) $ 0.073816
uniswap
Uniswap (UNI) $ 5.05
avalanche-2
Avalanche (AVAX) $ 7.16
weth
WETH (WETH) $ 2,268.37
shiba-inu
Shiba Inu (SHIB) $ 0.000005
sui
Sui (SUI) $ 0.715327
blackrock-usd-institutional-digital-liquidity-fund
BlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
usdt0
USDT0 (USDT0) $ 0.998824
paypal-usd
PayPal USD (PYUSD) $ 0.999886
hashnote-usyc
Circle USYC (USYC) $ 1.14
crypto-com-chain
Cronos (CRO) $ 0.056180
tether-gold
Tether Gold (XAUT) $ 4,413.79
memecore
MemeCore (M) $ 1.08
near
NEAR Protocol (NEAR) $ 1.83
Shares