-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Handle
0xRajeev
Vulnerability details
Impact
executeOutstandingNextPriceSettlementsUserMulti() accepts an array of marketIndexes for executing outstanding next price settlements for a user for multiple markets.
Given the complexity of the logic executed for each underlying operation, this function may either hit an OOG exception for transaction gas or perhaps exceed the block gas limit.
Proof of Concept
Tools Used
Manual Analysis
Recommended Mitigation Steps
Profile the gas used accurately and consider capping the number of markets based on the gas required per market to avoid hitting gas limits.