Compound’s cETH Market Temporarily Frozen Due to Code Bug

  • Despite having its code audited by three separate firms, Compound’s Proposal 117 introduced a bug that caused cETH transactions to revert, temporarily freezing its market.
  • A proposal to fix the issue has already been created, but it needs to go through a seven-day governance process before taking effect.
code

Shutterstock

A recent update to decentralized finance (DeFi) lending protocol Compound contained a code error, which has temporarily halted the trade of Compound Ether (cETH), the platform said via Twitter on 30 August.

According to the announcement, governance proposal “117: Compound Oracle Upgrade v3” went live on Tuesday with the goal of updating the protocol to use price feeds from Uniswap V3. Although the code was audited by three separate smart contract auditing firms, it still contained a bug which caused transactions for suppliers and borrowers of cETH to revert, temporarily freezing the market.

The code error also caused the protocol’s frontend to stop working temporarily, but Compound assured its users that the funds were not “immediately at risk”. Although users are unable to borrow or withdraw collateral at the moment, they are still able to repay debt and add collateral to positions with other assets to avoid liquidation when a fix is implemented.

Only an hour after Proposal 117 was executed, the Compound team had already put forth a governance proposal that would see the protocol revert back to the previous price feed, though this process will take seven days to complete. Transactions with cETH — which is given to users when they deposit ETH to Compound — will remain frozen until the fix goes into effect. The price of COMP, the native token of the protocol, seems largely unaffected by the news, having fallen by only 3% in the last 24 hours.

Discussion
Related Coverage
Celsius Reduces Aave Debt Significantly, Reclaims $420M in Collateral
  • Blockchain data shows that Celsius has repaid $81.6 million of its debt to Aave today alone, freeing up 400,000 stETH tokens that it used as collateral.
  • Data from crypto tracking platform Zapper also shows the company’s outstanding debt has been reduced to $59 million, the majority of which is owed to Compound.
July 12, 2022, 6:01 PM
In spotlight, Alex Mashinsky, founder and CEO of Celsius

Alex Mashinsky, founder and CEO of Celsius, speaking at CoinDesk’s Consensus conference, September, 2019. CoinDesk

Beanstalk Farms Loses $182M Following Exploit
  • A flash loan allowed the attacker to obtain enough Beanstalk governance tokens to pass two proposals, enabling him to drain the protocol’s funds.
  • The malicious entity was able to steal 24,830 ETH and 36 million BEAN tokens, which were then laundered through TornadoCash.
5 Cryptoassets You Are Paid to Borrow
  • The BAT, LINK, UNI, WBTC, and ZRX pools on Compound all have a negative borrow rate for the past month.
  • The negative borrow rate is the result of Compound paying borrowers COM token rewards.