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

0

[ad_1]

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.

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.

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.

[ad_2]

Source link

Leave A Reply

Your email address will not be published.

bitcoin
Bitcoin (BTC) $ 80,272.00
ethereum
Ethereum (ETH) $ 2,413.22
tether
Tether (USDT) $ 0.999463
bnb
BNB (BNB) $ 711.81
xrp
XRP (XRP) $ 1.31
usd-coin
USDC (USDC) $ 0.999831
solana
Solana (SOL) $ 95.78
tron
TRON (TRX) $ 0.318438
staked-ether
Lido Staked Ether (STETH) $ 2,265.05
figure-heloc
Figure Heloc (FIGR_HELOC) $ 1.05
zcash
Zcash (ZEC) $ 1,316.39
hyperliquid
Hyperliquid (HYPE) $ 83.20
dogecoin
Dogecoin (DOGE) $ 0.076358
monero
Monero (XMR) $ 634.81
usds
USDS (USDS) $ 1.00
whitebit
WhiteBIT Coin (WBT) $ 77.63
wrapped-steth
Wrapped stETH (WSTETH) $ 2,779.67
chainlink
Chainlink (LINK) $ 11.52
leo-token
LEO Token (LEO) $ 9.35
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 76,243.00
cardano
Cardano (ADA) $ 0.196961
binance-bridged-usdt-bnb-smart-chain
Binance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.998762
stellar
Stellar (XLM) $ 0.165880
wrapped-beacon-eth
Wrapped Beacon ETH (WBETH) $ 2,466.93
bitcoin-cash
Bitcoin Cash (BCH) $ 284.26
near
NEAR Protocol (NEAR) $ 4.01
uniswap
Uniswap (UNI) $ 7.58
wrapped-eeth
Wrapped eETH (WEETH) $ 2,465.31
dai
Dai (DAI) $ 1.00
susds
sUSDS (SUSDS) $ 1.08
ethena-usde
Ethena USDe (USDE) $ 0.999479
litecoin
Litecoin (LTC) $ 55.84
rain
Rain (RAIN) $ 0.005793
canton-network
Canton (CC) $ 0.102669
coinbase-wrapped-btc
Coinbase Wrapped BTC (CBBTC) $ 76,366.00
avalanche-2
Avalanche (AVAX) $ 8.73
sui
Sui (SUI) $ 0.920676
blockchain-usd
Blockchain USD (USDB) $ 0.932324
usd1-wlfi
USD1 (USD1) $ 0.998281
weth
WETH (WETH) $ 2,268.37
the-open-network
Gram (prev. Toncoin) (GRAM) $ 1.17
tether-gold
Tether Gold (XAUT) $ 4,105.83
hedera-hashgraph
Hedera (HBAR) $ 0.072635
usdt0
USDT0 (USDT0) $ 0.998824
quant-network
Quant (QNT) $ 205.44
global-dollar
Global Dollar (USDG) $ 1.00
shiba-inu
Shiba Inu (SHIB) $ 0.000005
bittensor
Bittensor (TAO) $ 234.41
paypal-usd
PayPal USD (PYUSD) $ 1.00
crypto-com-chain
Cronos (CRO) $ 0.052314
Shares