Open borislav-itskov opened 2 months ago
First, I did:
forge install git@github.com:colinnielsen/safe-tools.git
. After, I tried to import the tools by doing the following:import {SafeTestTools} from "safe-tools/SafeTestTools.sol";
And it doesn't find the library. I guess it doesn't work with foundry's latest imports?
If i try to import it with ../lib/src/..., it finds the file, but in
SafeTestTools.sol
there are other import problems -import "safe-contracts/Safe.sol";
for example is not found
Has Foundry changed their import setup? My guess is that your remappings need to be configured in your foundry.toml
First, I did:
forge install git@github.com:colinnielsen/safe-tools.git
. After, I tried to import the tools by doing the following:import {SafeTestTools} from "safe-tools/SafeTestTools.sol";
And it doesn't find the library. I guess it doesn't work with foundry's latest imports?
If i try to import it with ../lib/src/..., it finds the file, but in
SafeTestTools.sol
there are other import problems -import "safe-contracts/Safe.sol";
for example is not found
LMK about this or I will close this issue
First, I did:
forge install git@github.com:colinnielsen/safe-tools.git
.After, I tried to import the tools by doing the following:
And it doesn't find the library. I guess it doesn't work with foundry's latest imports?
If i try to import it with ../lib/src/..., it finds the file, but in
SafeTestTools.sol
there are other import problems -import "safe-contracts/Safe.sol";
for example is not found