Lack of sequencer Uptime check for L2 networks can cause unfair liquidations
Summary
The project is deployed to Base and will be deployed to Arbitrum, Optimism and other L2 in the future, however there is no sequencer activeness check for the Chainlink L2s price feed as recommended by the Chainlink Docs
kaysoft
medium
Lack of sequencer Uptime check for L2 networks can cause unfair liquidations
Summary
The project is deployed to Base and will be deployed to Arbitrum, Optimism and other L2 in the future, however there is no sequencer activeness check for the Chainlink L2s price feed as recommended by the Chainlink Docs
Vulnerability Detail
Sequencer Uptime check for L2s is explained in details here: https://docs.chain.link/data-feeds/l2-sequencer-feeds#overview
Impact
Unfair Liquidations during sequencer downtime and imm
Code Snippet
https://github.com/sherlock-audit/2023-12-arcadia/blob/main/accounts-v2/src/oracle-modules/ChainlinkOM.sol#L113C5-L130C1
Tool used
https://docs.chain.link/data-feeds/l2-sequencer-feeds#handling-outages-on-optimism-base-and-metis
Recommendation
Implement the uptime sequencer check as recommended by Chainlink Docs. You can find an example code here: https://docs.chain.link/data-feeds/l2-sequencer-feeds#example-code
Duplicate of #105