Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 919 Bytes

020.md

File metadata and controls

25 lines (13 loc) · 919 Bytes

Agreeable Pearl Cricket

Medium

No check for active Sequencer when on optimism

Details

Source

Chainlink recommends for a chain like Optimism, smart contracts must check whether the L2 Sequencer is down to avoid stale pricing. This was not checked in the code.

When the sequencer goes down, oracles will not be up to date ,implying that users would interact with the protocol using stale prices and this could possily results to great loss for the protocol or the users.

Impact

If the sequencer goes down, the protocol will allow users to continue to operate at the previous (stale) rates.

Tool Used

Manual Review

Mitigation

Implement check on whether sequencer is down. Example.