code-423n4 / 2021-09-sushimiso-findings

0 stars 0 forks source link

Unused imports #120

Open code423n4 opened 3 years ago

code423n4 commented 3 years ago

Handle

pauliax

Vulnerability details

Impact

There are unused imports. They will increase the size of deployment with no real benefit. An example of such an import is: import "../OpenZeppelin/utils/EnumerableSet.sol"; in MISOMasterChef.

Recommended Mitigation Steps

Consider removing unused imports to save some gas.

Clearwood commented 3 years ago

Unused imports should not be considered by the compiler

ghoul-sol commented 3 years ago

I'll make this a best practice recommendation