Sablier

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

Duplicate import

Summary

In the SablierV2LockupLinear.sol file, SablierV2Lockup is imported twice.

Vulnerability Details

As said in the summary, the SablierV2Lockup is imported twice.

Impact

It is useless and misleading to import the same import in the same contract twice.

Tools Used

Manual

Recommendations

Remove one of the duplicated imports:

import { SablierV2Lockup } from "./abstracts/SablierV2Lockup.sol";
- import { SablierV2Lockup } from "./abstracts/SablierV2Lockup.sol";

Note: unfortunately, at the moment, a warning about this is not implemented in the Solidity compiler, but there is a suggestion: https://github.com/ethereum/solidity/issues/13826

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.