crytic / crytic/crytic-compile
Convert `/contracts` to `./` in all targets
Open
enhancement
good first issue
help wanted
high-priority
- Dominant language
- Python
- Stars
- 197
- Forks
- 97
- PR merge metrics
- No merged PRs in 30d
Description
A frequent mistake for our tool is to run them on `project_dir/contracts` instead of `project_dir`.
If no platform is found, and the most right part of the path is `contracts`, we should try to detect the platform on the parent directory
Contributor guide
Research direction
Start by tracing the platform-detection entry point used by the tool and the handling of paths ending in `/contracts`. Reproduce the case where `project_dir/contracts` is supplied without a detected platform, then verify that detection is retried against `project_dir`; done means this behavior works across all targets without changing paths that do not end in `contracts`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100