stake.link

stake.link
DeFiHardhatBridge
27,500 USDC
View results
Submission Details
Severity: low
Invalid

`IERC721Upgradeable` and `IERC721MetadataUpgradeable` used instead of the non upgradable versions

Summary

IERC721Upgradable and other upgradable interfaces have been removed in newer version of openzeppelin upgradable contracts because of some issues caused during deployments

Vulnerability Details

The interfaces IERC721Upgradable and IERC721MetadataUpgradable in openzeppelin-contracts-upgradeable renames the interfaces when they are exactly the same as non-upgradeable (vanilla) versions. This isn't necessary and brings a lot of issues which is why it has been removed in newer versions.
for more information on the issue https://github.com/OpenZeppelin/openzeppelin-contracts/issues/3928

Impact

This can lead to interface conflicts during deployments

Tools Used

Manual audit

Recommendations

Use the non-upgradable versions of the interfaces as they are the same

Updates

Lead Judging Commences

0kage Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Too generic

Support

FAQs

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