Import path of @solmate contracts needs to be updated
nirban256 opened this issue · comments
Nirban Chakraborty commented
In the LinkToken.sol contract inside the mocks folder present in test folder, the LinkToken contract is importing the ERC20 contract in the following way:
import {ERC20} from "@solmate/tokens/ERC20.sol";
But is showing that the contract is not found in vs code.
However if I change it to like this:
import {ERC20} from "@solmate/src/tokens/ERC20.sol";
It seems to be working fine.
Am I alone facing this problem or it is the same for everyone else?
Nirban Chakraborty commented
It was a error on my end. It is solved now.