Sablier

Sablier
DeFiFoundry
53,440 USDC
View results
Submission Details
Severity: low
Invalid

Duplicate code

Summary

Duplicate code, i.e. using the same code structures in several places.

Vulnerability Details

Duplicate code in SablierV2BatchLockup.sol.

Impact

The use of duplicate code structures impairs the perception of the program logic and can easily lead to errors in subsequent code edits. Duplicate code violates SOLID software development principles.

Tools Used

Manual

Recommendations

We recommend grouping duplicate parts of the source code in a private function or modifier.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Info/Gas/Invalid as per Docs

https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity

Support

FAQs

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