Open 0xKarl98 opened 1 year ago
Other (please describe)
forge 0.2.0 (e4a2915 2022-06-19T02:24:29.337547Z)
No response
macOS (Intel)
I have checked the corresponding files according to this error , i.e. hardhat.config.ts & foundry.toml
here is hardhat.config.ts : '''paths: { sources: "./contracts", tests: "./test", artifacts: "./artifacts", cache: "./cache", }, '''
here is foundry.toml : ''' default = { libs = ["node_modules", "lib"] } [profile.default] src = './contracts' out = 'out' libs = ['node_modules', 'lib'] test = 'test/foundry' cache_path = './cache_forge' '''
i have ensured both of them are using './contracts ' , but the error still persists .
I was seeing this error as well with the VS Code Solidity (by Nomic) plugin, uninstalling, reloading, and then reinstalling the plugin worked for me.
Component
Other (please describe)
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (e4a2915 2022-06-19T02:24:29.337547Z)
What command(s) is the bug in?
No response
Operating System
macOS (Intel)
Describe the bug
I have checked the corresponding files according to this error , i.e. hardhat.config.ts & foundry.toml
here is hardhat.config.ts : '''paths: { sources: "./contracts", tests: "./test", artifacts: "./artifacts", cache: "./cache", }, '''
here is foundry.toml : ''' default = { libs = ["node_modules", "lib"] } [profile.default] src = './contracts' out = 'out' libs = ['node_modules', 'lib'] test = 'test/foundry' cache_path = './cache_forge' '''
i have ensured both of them are using './contracts ' , but the error still persists .