Skip to content

Addresses.isContract fails when a contract is deployed later #10

@nicoszerman

Description

@nicoszerman

An address might not have a source code attached at the check time but a contract could be deployed to that address later. In this case, the function would fail by returning False but later turning out to be True. I recommend updating the function from isContract to isContractNow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions