ConsenSysDiligence / ConsenSysDiligence/mythx-cli

Ignore specific error on specific contract

Open
#283 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
94
Forks
30
PR merge metrics
No merged PRs in 30d

Description

I'm getting this result:

```
Report for node_modules/@openzeppelin/contracts/interfaces/draft-IERC1822.sol
(SWC-112) Delegatecall to Untrusted Callee
```

I would like to know if I can ignore that error on that contract using mythx.yml, for example:

```
ignore:
- SWC-112:
contracts:
- node_modules/@openzeppelin/contracts/interfaces/draft-IERC1822.sol
```

Is there some way to ignore errors on specific contracts without using blacklists that ignore an error on all the contracts?

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.