DeFiHardhatOracleProxyUpdates
100,000 USDC
View results
Submission Details
Severity: low
Invalid

[L-2] Deprecated OpenZeppelin functions should not be used

Summary

Openzeppelin has deprecated several functions and replaced with newer versions. Please consult https://docs.openzeppelin.com/

  • safeApprove() function can lead to unintended reverts and potentially the locking of funds.

Recommendation

It is recommended to use OpenZeppelin's SafeERC20 library.

  • Replace safeApprove() with safeIncreaseAllowance() or safeDecreaseAllowance() instead.

  • Instead of _setupRole use _grantRole.

Updates

Lead Judging Commences

giovannidisiena Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Informational/Invalid

Support

FAQs

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