U.S. Fed's Vice Chair Barr Suggests CBDC Decision Remains a ‘Long Way’

Ether Whales Accumulate $94 Million in ETH Amidst Price Dive to $1.6K

Ethereum Co-Creator Vitalik Buterin Transfers $1 Million Worth of ETH to Coinbase

A code bug in a recent governance proposal to update Compound's price feeds has been a problem for the decentralized lending platform.

The code error has "temporarily frozen" the Compound Ether (cETH) market, which has caused cETH transactions to be reversed. However, Compound Labs said that even though the front end isn't working, "funds are not immediately at risk."

Compound's cETH market interrupted due to update, 7 days needed to fix the  issue - The Ecoinomic
Compound Labs said on Wednesday that the code bug came from Proposal 117: Compound Oracle Upgrade v3, which was just put into place to update the oracle contracts on the Compound protocol to a new version that uses Uniswap V3 instead of V2 for price feeds.

In response to the cETH market freezing for a short time, Compound Labs said it planned to switch back to the old price feed through Proposal 119: Oracle Update. The new proposal was made less than an hour after Proposal 117 was put into action. However, it needs to go through a governance process that will take seven days before it can be put into action.

Michael Lewellen, a security solutions architect at OpenZeppelin, said in an update that the code bug was caused by the "getUnderlyingPrice" function, which did not update the price of cETH tokens. This caused the function to return empty bytes, which caused the call to be canceled.

Lewellen also said again that no money is in danger:

"The main problem right now is that the cETH market is temporarily out of service. The new governance proposal will fix this problem." At the moment, no money is in danger. All of the other cToken markets on Compound V2 and all of V3 are still working.

But Lewellen said, "Any users who deposited ETH and got cETH to open borrow positions should know that they could be liquidated instantly if the price of ETH has dropped a lot by the time the fix proposal goes into effect."

Compound's cETH market interrupted due to update, 7 days needed to fix the  issue - The Ecoinomic
But Robert Leshner, the CEO of Compound Labs, also said that users can still pay back any debt and add collateral to keep the company from going out of business.

Compound Labs said that the code bug happened even though the oracle contract had been checked by three different smart contract auditing companies, including OpenZeppelin and ChainSecurity.

The price feed upgrade in Proposal 117 didn't seem to be controversial, since all 696,665 votes from 245 different wallet addresses were in favor of it. The proposal got the most votes (306,146) from the crypto investment firm Polychain Capital.

DefiLlama says that Compound is the third largest decentralized lending platform, with a total value locked up of $2.67 billion (TVL). So far, the news hasn't changed the price of Compound (COMP), which was trading at $48.27 when this article was written.

===========