Blockchain
Companies
De-Fi
Tech
Solana DEX Optifi loses $661,000 due to unintentional error

Solana DEX Optifi loses $661,000 due to unintentional error

Aug 31, 2022
Read in 2 mins
Share!
Share!

The company will compensate all users’ funds after mistakenly shut down its mainnet while trying to upgrade the protocol.

Solana-based DEX OptiFi has reported a ‘fatal’ program incident during an update on protocol that accidentally led the DEX losing a whopping $661,000.

On 29th August around 06:00 UTC, we had an update to our Solana program code, so our deployer tried to upgrade the OptiFi program on Solana mainnet. However we accidentally used the ‘solana program close’ command, resulting in our OptiFi program on mainnet being unfortunately closed.” OptiFi mistakenly shut down its mainnet while trying to upgrade the protocol, admitting that the deployer team “didn’t really understand the impact and risk of this closing program command line.” The DEX pointed out that all user’s funds and open positions on OptiFi locked in PDAs - $661K in total (AMM vault, user account, etc.) – are not recoverable and no more callable.

However, OptiFi will compensate all users’ funds and prevent it from happening again: “We promise that we will return all users’ deposits and settle all user positions manually according to Pyth oracle at 8 AM Sep 2nd UTC. All transactions and deposits will be based on Solscan. The estimated process time will be two weeks.”

OptiFi also appeal to all Solana developers to carefully use ‘solana program close’ and suggest Solana officials add the warning regarding the irrecoverable result of closing a program in Solana Docs and Command-Line Interface (CLI) to help Solana devs under stand the function.

WHAT DO YOU THINK ABOUT THIS CONTENT?
cool.svg cool_white.svg COOL!
notbad.svg notbad_white.svg NOT BAD!
notcool.svg notcool_white.svg NOT COOL!