The mentioned contracts import both Ownable and Ownable2Step from the OpenZeppelin contracts. However, a redundancy is present, as Ownable2Step itself imports Ownable. This redundancy in imports is not only unnecessary but also results in higher gas costs during deployment and usage.
The issue arises from an import redundancy in the contract. Specifically, contracts import both Ownable and Ownable2Step contracts. However, Ownable2Step internally imports Ownable, making the direct import of Ownable redundant.
It leads to increased gas costs when deploying and interacting with the contract.
Manual review.
To optimize the contract and reduce gas costs, remove the redundant import of Ownable.sol.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.