blockdev
high
To determine DAI's price in USD, StableOracleDAI.getPriceUSD()
is called. It then makes a call to ethOracle
but it is set to zero because of which the call reverts.
The call to ethAddress
:
uint256 wethPriceUSD = ethOracle.getPriceUSD();
Set to zero here:
ethOracle = IStableOracle(0x0000000000000000000000000000000000000000); // TODO: WETH oracle price
High. Minting and rebalancing will revert.
ethOracle = IStableOracle(0x0000000000000000000000000000000000000000); // TODO: WETH oracle price
Manual Review
Set ethOracle
to the correct value.