The Standard

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

Vault contract `version` constant shows wrong version

Relevant GitHub Links:

  • https://github.com/Cyfrin/2023-12-the-standard/blob/main/contracts/SmartVaultV3.sol#L19

Finding

Summary

The contract holds the name SmartyVaultV3 where V3 means version 3, but the version constant in the contract itself is set to 2, which is misleading.

Tools Used

Manual review

Recommendations

Just change the version constant value to 3 so it's up-to-date.

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.