-
Notifications
You must be signed in to change notification settings - Fork 4
bytes032 - Missing checks for whether Arbitrum Sequencer is active #101
Comments
During the time when the sequencer is down, transactions should be reverted to prevent users from experiencing unexpected prices once the sequencer is up again. Therefore, I believe this issue should be classified as medium severity. |
Escalate for 10 USDC This issue is invalid because:
Additionally, this remark on the proposed recommendation will not do anything to protect users as soon as the sequencer is up and running again:
|
Escalate for 10 USDC Reposting @arbitrary-cr0 so it gets picked up by the bot: This issue is invalid because:
Additionally, this remark on the proposed recommendation will not do anything to protect users as soon as the sequencer is up and running again:
|
You've created a valid escalation for 10 USDC! To remove the escalation from consideration: Delete your comment. You may delete or edit your escalation comment anytime before the 48-hour escalation window closes. After that, the escalation becomes final. |
Agree with the escalation. This issue should be a low/info |
Result: |
Escalations have been resolved successfully! Escalation status:
|
bytes032
medium
Missing checks for whether Arbitrum Sequencer is active
Summary
Missing checks for whether Arbitrum Sequencer is active
Vulnerability Detail
the onchain deployment context is changed, in prev contest the protocol only attemps to deploy the code to ethereum while in the current contest
the protocol intends to deploy to arbtrium as well!
Chainlink recommends that users using price oracles, check whether the Arbitrum sequencer is active
https://docs.chain.link/data-feeds#l2-sequencer-uptime-feeds
If the sequencer goes down, the index oracles may have stale prices, since L2-submitted transactions (i.e. by the aggregating oracles) will not be processed.
Impact
Stale prices, e.g. if USDC were to de-peg while the sequencer is offline, stale price is used and can result in false liquidation or over-borrowing.
Code Snippet
https://github.com/sherlock-audit/2023-04-jojo/blob/main/JUSDV1/src/oracle/JOJOOracleAdaptor.sol#L26-L35
Tool used
Manual Review
Recommendation
Use sequencer oracle to determine whether the sequencer is offline or not, and don't allow orders to be executed while the sequencer is offline.
The text was updated successfully, but these errors were encountered: