__gap missing in upgradeable contracts #268
Labels
bug
Something isn't working
downgraded by judge
Judge downgraded the risk level of this issue
duplicate-107
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
Lines of code
https://github.com/code-423n4/2022-12-gogopool/blob/main/contracts/contract/tokens/TokenggAVAX.sol#L24
Vulnerability details
Impact
The contract
TokenggAVAX
do not contain a__gap
variable although it is upgradeable.Tools Used
Manual
Recommended Mitigation Steps
Consider adding a correct
__gap
variable to these contracts, or documenting a plan for managing storage collisions when upgrading theTokenggAVAX
. Implementing this will reduce the surface for error and in the long run may save developer time by removing confusion about the storage layout of the contracts.The text was updated successfully, but these errors were encountered: