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) $ 86,710.00
ethereum
Ethereum (ETH) $ 2,833.15
tether
Tether (USDT) $ 0.999657
bnb
BNB (BNB) $ 837.89
xrp
XRP (XRP) $ 1.86
usd-coin
USDC (USDC) $ 0.999912
tron
TRON (TRX) $ 0.278537
staked-ether
Lido Staked Ether (STETH) $ 2,832.52
dogecoin
Dogecoin (DOGE) $ 0.125552
figure-heloc
Figure Heloc (FIGR_HELOC) $ 1.00
cardano
Cardano (ADA) $ 0.365420
whitebit
WhiteBIT Coin (WBT) $ 58.17
wrapped-steth
Wrapped stETH (WSTETH) $ 3,461.10
bitcoin-cash
Bitcoin Cash (BCH) $ 545.62
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 86,467.00
wrapped-beacon-eth
Wrapped Beacon ETH (WBETH) $ 3,074.72
usds
USDS (USDS) $ 0.999282
binance-bridged-usdt-bnb-smart-chain
Binance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.999517
chainlink
Chainlink (LINK) $ 12.20
wrapped-eeth
Wrapped eETH (WEETH) $ 3,068.90
monero
Monero (XMR) $ 428.19
weth
WETH (WETH) $ 2,832.21
stellar
Stellar (XLM) $ 0.210985
leo-token
LEO Token (LEO) $ 7.28
hyperliquid
Hyperliquid (HYPE) $ 24.33
ethena-usde
Ethena USDe (USDE) $ 0.998867
zcash
Zcash (ZEC) $ 387.05
coinbase-wrapped-btc
Coinbase Wrapped BTC (CBBTC) $ 86,677.00
litecoin
Litecoin (LTC) $ 75.84
sui
Sui (SUI) $ 1.41
avalanche-2
Avalanche (AVAX) $ 11.74
susds
sUSDS (SUSDS) $ 1.08
hedera-hashgraph
Hedera (HBAR) $ 0.109350
shiba-inu
Shiba Inu (SHIB) $ 0.000007
dai
Dai (DAI) $ 0.999476
usdt0
USDT0 (USDT0) $ 0.999428
paypal-usd
PayPal USD (PYUSD) $ 0.999628
mantle
Mantle (MNT) $ 1.18
the-open-network
Toncoin (TON) $ 1.47
world-liberty-financial
World Liberty Financial (WLFI) $ 0.128416
crypto-com-chain
Cronos (CRO) $ 0.090704
ethena-staked-usde
Ethena Staked USDe (SUSDE) $ 1.21
uniswap
Uniswap (UNI) $ 4.95
polkadot
Polkadot (DOT) $ 1.79
memecore
MemeCore (M) $ 1.67
usd1-wlfi
USD1 (USD1) $ 0.999101
canton-network
Canton (CC) $ 0.075175
aave
Aave (AAVE) $ 178.48
rain
Rain (RAIN) $ 0.007542
bitget-token
Bitget Token (BGB) $ 3.45
Shares