Steadefi

Steadefi
DeFiHardhatFoundryOracle
35,000 USDC
View results
Submission Details
Severity: low
Invalid

`GMXDeposit::processDepositFailure` Variable calling wastes gas

Summary

Excessive storage reads can be expensive in terms of gas costs.

Vulnerability Details

This is read from storage multiple times
GMXDeposit::processDepositFailure::GMXReader.lpAmt(self)

Tools Used

Manual Review

Recommendations

Consider using local variables to store these values if they are used multiple times

Updates

Lead Judging Commences

hans Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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