DeFiFoundry
50,000 USDC
View results
Submission Details
Severity: low
Invalid

L-1 Hardcoded oraclePriceCount

Summary

  • The function getExecutionGasLimit assumes oraclePriceCount = 5, which might not always be correct.

Vulnerability Details

  • If the actual number of required oracle prices changes in the future, the calculation could be inaccurate

Impact

  • Incorrect gas estimations.

Tools Used

  • Manual review

Recommendations

  • A better approach is to fetch the correct value dynamically from dataStore

Updates

Lead Judging Commences

n0kto Lead Judge 5 months ago
Submission Judgement Published
Invalidated
Reason: Design choice
Assigned finding tags:

Suppositions

There is no real proof, concrete root cause, specific impact, or enough details in those submissions. Examples include: "It could happen" without specifying when, "If this impossible case happens," "Unexpected behavior," etc. Make a Proof of Concept (PoC) using external functions and realistic parameters. Do not test only the internal function where you think you found something.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.