The current implementation of getPrice does not check if the sequencerUptimeFeed is not configured and could lead to wrong or stale prices in such situations.
The sequencerUptimeFeed is a core invariant in relation to the Arbitrum chain, which is said to be the deployment chain and should be handle with outmost care. The getPrice function does check if the isSequencerUp is true, meaning the sequencer is up, otherwise it should revert with an error OracleSequencerUptimeFeedIsDown.
However, in situations whereby the admin have not yet configured the sequencerUptimeFeed, the above checks will not be made and it would lead to chainlink price feed returning a stale price thereby affecting the overall health system while also breaking the invariant.
It is eminent to implement a proper logic that handles such cases in situations whereby the sequencerUptimeFeed has not yet been configured.
Chainlink price feed might return stale prices or wrong data.
Manual review
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.