Steadefi

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

Misleading Napstec intrustion on How the GMXvault function should be called

Impact

In the GMXVault.sol We can all see that the comment tells us about the way we should or the order the functions should be called since it was stated that a function should be after this function
One can as well call the function in the wrong order which can lead to system failure or wrong usage of the vault. But in GMXVault.sol there is no check for that if a function was called before the next function which we can all see in the comment having the 'only' word.

Tools Used

manual review

Recommendations

There should be a check if a function that is meant to be called before another function as they said in the inline comments

Updates

Lead Judging Commences

hans Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

INFO: NatSpec / Comments

Support

FAQs

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