-
Notifications
You must be signed in to change notification settings - Fork 144
Open
Description
Even after building with forge, I get these errors when running yarn coverage :
yarn run v1.22.10
$ npx hardhat coverage --solcoverjs ./.solcover.js
Version
=======
> solidity-coverage: v0.7.22
Instrumenting for coverage...
=============================
> MockTokenVesting.sol
> Token.sol
> TokenVesting.sol
Compilation:
============
Compiling 7 files with 0.8.19
ParserError: Source "solmate/tokens/ERC20.sol" not found: File not found. Searched the following locations: "".
--> src/Token.sol:7:1:
|
7 | import {ERC20} from "solmate/tokens/ERC20.sol";
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ParserError: Source "solmate/tokens/ERC20.sol" not found: File not found. Searched the following locations: "".
--> src/TokenVesting.sol:8:1:
|
8 | import {ERC20} from "solmate/tokens/ERC20.sol";
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ParserError: Source "solmate/auth/Owned.sol" not found: File not found. Searched the following locations: "".
--> src/TokenVesting.sol:9:1:
|
9 | import {Owned} from "solmate/auth/Owned.sol";
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ParserError: Source "solmate/utils/SafeTransferLib.sol" not found: File not found. Searched the following locations: "".
--> src/TokenVesting.sol:10:1:
|
10 | import {SafeTransferLib} from "solmate/utils/SafeTransferLib.sol";
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ParserError: Source "solmate/utils/ReentrancyGuard.sol" not found: File not found. Searched the following locations: "".
--> src/TokenVesting.sol:11:1:
|
11 | import {ReentrancyGuard} from "solmate/utils/ReentrancyGuard.sol";
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in plugin solidity-coverage: HardhatError: HH600: Compilation failed
For more info run Hardhat with --show-stack-traces
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels