Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improve ERC detection when events are included #153

@acuarica

Description

@acuarica

ERC detection does not play well when checking events. For example, the contract 0x67c66a5c36766ad11a16359e262c65a692da4923 is an ERC1155 contract. However, sevm does not detect it as such

$ sevm ercs 0x67c66a5c36766ad11a16359e262c65a692da4923
Detected ERCs
  - ERC165
  - ERC173

On the other hand, if the --no-check-events flag is used, it leads to the correct result

$ sevm ercs 0x67c66a5c36766ad11a16359e262c65a692da4923 --no-check-events
Detected ERCs
  - ERC1155
  - ERC1155MetadataURI
  - ERC165
  - ERC173

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions