Compound cETH market bricked by update — 7-day wait on vote to fix it

Published at: Aug. 31, 2022

Decentralized lending platform Compound has been plagued by a code bug in a recent governance proposal to update its price feeds. 

The code error has “temporarily frozen” the Compound ETH (cETH) market, causing cETH transactions to revert, but Compound Labs stated that despite the front end not working, “funds are not immediately at risk.”

Compound Labs announced on Aug. 31 that the code bug came from Proposal 117: Compound Oracle Upgrade v3, which was implemented a couple of hours ago to update the oracle contracts on the Compound protocol to a new version that uses Uniswap V3 instead of V2 for price feeds.

An hour ago, Proposal 117 was executed, which updated the price feed that Compound v2 uses.This price feed, while audited by three auditors, contained an error that is causing transactions for ETH suppliers and borrowers to revert.https://t.co/a2DFk7h0ET

— Compound Labs (@compoundfinance) August 30, 2022

In response to the cETH market temporarily freezing, Compound Labs said it aimed to revert to the previous price feed via Proposal 119: Oracle Update. The new proposal was created less than one hour after Proposal 117 had been executed, however it now needs to go through  seven-day governance process before taking effect.

According to an update from Security Solutions Architect Michael Lewellen of OpenZeppelin, the code bug came from the “getUnderlyingPrice” function, which did not update the price of cETH tokens, which would return empty bytes and cause the call to be reverted.

Read the following post for details on a Compound incident we are working to resolve for the cETH market. A fix is already underway and no funds are at risk at this time. The rest of the cToken markets on Compound V2 and all of V3 remain functional.https://t.co/CiSE3a99Wa

— OpenZeppelin (@OpenZeppelin) August 30, 2022

Lewellen also reaffirmed that no funds are at risk:

“The primary issue right now is a temporary denial of service for the cETH market which will be resolved by the new governance proposal. No funds are at risk at this time. The rest of the cToken markets on Compound V2 and all of V3 remain functional.”

However, Lewellen added that “any users that deposited ETH and obtained cETH for opening borrow positions must be aware that they might get instantly liquidated whenever the fix proposal executes if by that time the price of ETH has dropped significantly.”

But the CEO of Compound Labs Robert Leshner also added that users can still repay any debt and add collateral to avoid liquidation.

Related: What is a smart contract security audit? A beginner's guide

Compound Labs noted the code bug came despite the oracle contract being audited from three separate smart contract auditing companies, with OpenZeppelin and ChainSecurity among the recent firms to have audited Compound’s smart contracts.

Proposal 117 itself didn’t appear to be a controversial one, with all 696,665 votes from 245 different wallet addresses in favor of the price feed upgrade. Crypto investment firm Polychain Capital cast the most votes (306,146) in favor of the proposal.

According to DeFi Llama, Compound is the third largest decentralized lending platform, with $2.67 billion total value locked (TVL). The news has not affected the Compound token, COMP, so far which is currently priced at $48.27.

Tags
Related Posts
Here are 3 ways hodlers can profit during bull and bear markets
For years, cryptocurrency advocates have touted the world-changing capability of digital currency and blockchain technology. Yet with the passing of each market cycle, new projects come and go, and the promised utility of these “real-world use case” projects fails to satisfy. While a majority of tokens promise to solve real-world problems, only a few achieve this, and the others are mere speculative investments. Here’s a look at the three things cryptocurrency investors can actually “do” with their coins. Lending Perhaps the simplest use case offered to cryptocurrency holders is also one of the oldest monetary applications in finance: lending. Ever …
Bitcoin / April 29, 2022
Aave price hits two-month high on Wall Street’s DeFi adoption hopes
Demand for Aave has boomed dramatically in the previous 24 hours as traders assessed its involvement in Bitwise Investment’s upcoming institutionally focused investment vehicle. The San Francisco-based asset management firm announced Wednesday that it would invest directly in Aave to back its “Bitwise Aave Fund,” a fund created to build a bridge between accredited investors and the emerging decentralized finance (DeFi) sector. “There is growing demand from financial advisors, hedge funds, institutions, and other professional investors for exposure to the fast-growing DeFi markets,” Matt Hougan, chief information officer of Bitwise, said in a press release, adding that the investment products …
Decentralization / Aug. 5, 2021
Aave price hits 3-week high as ‘Aave Pro’ debuts for institutional lending
Aave hovered near its three-week high on Tuesday, helped by the prospects of its foray into the mainstream through the launch of an institutional lending platform. Fundamentals Dubbed as Aave Pro, the platform expects to become a “permissioned liquidity protocol” by offering institutions, corporates and fintech clients access to decentralized finance (DeFi). That said, it would follow strict regulations while onboarding participants, ensuring that their Ethereum addresses are safe-listed following a thorough Know Your Customer process. “We will have different kinds of permissioned markets so that DeFi will be more layered and tailored to specific needs,” Stani Kulechov, founder and …
Bitcoin Price / July 6, 2021
DeFi TVL hits new highs while Metaverse tokens show signs of exhaustion
Sentiment in the cryptocurrency market is back on the rise on Nov. 29 as the recent dip down into the “extreme fear” zone on the Crypto Fear and Greed Index slightly improved after Bitcoin (BTC) recovered above the $57,000 support, lifting the index higher into the “fear" zone. Despite the overall “fear” and “extreme fear” sentiments that have been dominating the market since the index began to decrease on Nov. 16, several sub-sectors of the cryptocurrency market including Metaverse-related projects and gaming protocols have seen breakouts to new all-time highs. The rapid gains seen in these projects has led to …
Markets / Nov. 29, 2021
Aave v3 launch triggers 50% rally from long-term descending channel pattern
The decentralized finance (DeFi) market has been undergoing a period of maturation over the past year and many of last year's fast risers have faded into obscurity but this does not mean the formerly "famous" protocols have not continued to build. One blue-chip project that is regaining momentum is Aave (AAVE), a non-custodial liquidity protocol that allows users to lend, borrow or stake their assets to earn yield from their holdings. Data from Cointelegraph Markets Pro and TradingView shows that the price of AAVE has rallied 110% from a low of $114 on March 15 to a daily high at …
Markets / March 30, 2022