crytic / crytic/slither

Upgradeability checks do not recognize Hardhat

Open
#956 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Hi There,

I tried to run the upgradeability checks (https://github.com/crytic/slither/wiki/Upgradeability-Checks) on a Hardhat project using the following command:

```bash
lither-check-upgradeability project .
```

and got this back:

```
ERROR:Slither:Invalid compilation:
project does not exist (are you in the correct directory?)
```

I also tried the same with an individual file path. Any thoughts on what I may be doing wrong here?

P.S. Using basic slither works well.

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.