[vc_row full_width=”stretch_row” css=”.vc_custom_1531732107238{background-color: #fcc118 !important;}”][vc_column]

[/vc_column][/vc_row][vc_row css=”.vc_custom_1531730959461{border-bottom-width: 1px !important;background-color: #f9fafb !important;border-bottom-color: #eef3f7 !important;border-bottom-style: solid !important;}”][vc_column css=”.vc_custom_1531891416301{margin-bottom: 0px !important;}”][bsfp-cryptocurrency style=”widget-6″ align=”auto” columns=”2″ scheme=”light” coins=”top-x-coins” coins-count=”8″ coins-selected=”” currency=”USD” title=”Cryptocurrencies” show_title=”0″ icon=”” heading_color=”” heading_style=”default” bs-show-desktop=”1″ bs-show-tablet=”1″ bs-show-phone=”1″ css=”.vc_custom_1531730265600{margin-bottom: 0px !important;}” custom-css-class=”” custom-id=””][/vc_column][/vc_row]

Compound discovers bug in new update, freezes cETH market

0

DeFi protocol Compound (COMP) discovered a bug in governance proposal 117 designed to upgrade its price feeds, forcing it to temporarily freeze the Compound ETH (cETH) market.

According to an August 30 Twitter thread, the bug made “transactions for ETH suppliers and borrowers revert.”

The team said that its users’ “funds are not immediately at risk” and added that its interface is currently not accessible due to the “price discrepancy.”

According to Compound Lab’s CEO Robert Leshner, users at liquidation risk can still add Ether collateral. He said:

“No users should be at risk of liquidation or at risk of losing funds.”

Proposal 117 was designed to update the oracle contracts on the lending protocol to a new version that uses Uniswap V3 instead of V2 for price feeds. GFX Labs proposed it on behalf of ChainLink.

The proposal was audited by OpenZeppelin, Dedaub, and ABDK, who all missed the bug.

The bug

An OpenZeppelin update revealed that the “getUnderlyingPrice” function caused the bug. It continued that the cETH market did not have this function as assumed by the oracle upgrade.

The function returns empty bytes whenever it is called, thereby reverting transactions.

OpenZeppelin wrote that:

“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.”

Proposal 119 to revert the upgrade

According to available information, GFX Labs submitted proposal 119 to revert the upgrade less than an hour after noticing the bug.

The proposal would be passed and executed after a seven-day governance process.

Meanwhile, the bug appears not to have had any immediate impact on the price performance of Compound’s COMP token. The token has been on a red candle run for the last 30 days. Its value declined by around 4% to trade at $48 over the previous 24 hours.

Leave A Reply

Your email address will not be published.