Dria

Swan
NFTHardhat
21,000 USDC
View results
Submission Details
Severity: medium
Invalid

no storage gap in upgradeable contracs

Summary

The swan.sol and swanmanager.sol contract is intended to be an upgradeable smart contract, but do not have a __gap variable.
In upgradeable contracts, it's crucial to include a _gap to ensure that any additional storage variables added in future contract upgrades do not collide with existing storage variables

Impact

upgradebility issues and potential storage collison

Tools Used

Recommendations

It’s recommended that storage gaps are introduced in the contracts to remove the likelihood of storage collisions.

Updates

Lead Judging Commences

inallhonesty Lead Judge 12 months ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

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