The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: low
Valid

SmartVault.sol has wrong value for `version`

Summary

The uint8 private constant version = 2; in the V3 contract is set to 2 , but it should be 3.
In the previous version of the same contract (I provided links for the relevant GitHub repo) has respectfully 1 and 2 for that value.

Vulnerability Details

The function status() external view returns (Status memory) will return a Status struct with wrong version.

Impact

Low

Tools Used

Manual review

Recommendations

Change the value to 3 to correspond with the version of the Vault.

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

vault-version

Support

FAQs

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