Most derived contracts: Filter Test/Mock contracts
Open
- Dominant language
- Python
- Stars
- 6.4k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
`slither.contracts_derived` can return Mock / Test contracts, instead of returning the expected derived contracts.
We need to filter `Mock`/`Test` and also return contracts that are only inherited by tests
https://github.com/crytic/slither/blob/c0c581b3ba830b6ce8dc3f4be82592a7a42e9752/slither/core/slither_core.py#L173-L177
Contributor guide
Assessment
This issue has not been assessed yet.