Skip to content

optimize and make sure unused-imports is accurate #2477

Open
@0xalpharush

Description

@0xalpharush

It was added in #2392 but it is really slow and has some edge cases e.g.
this is wrong

The following unused import(s) in src/universal/CrossDomainMessenger.sol should be removed:
        -import { Initializable } from "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; (src/universal/CrossDomainMessenger.sol#4)

slither contracts.zip --detect unused-import
contracts.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions