Open 0xPrimata opened 2 years ago
Hi @SnowPrimate Are you by chance inside another git repo?
AKA a directory above foundry-start-kit
is also a git repository?
I've seen this happen when that's the case as foundry uses git to install dependencies.
@rgottleber Thank you very much for your response. As far as I noticed, there are no signs of git repos on the directory right above. Here is my entire directory above foundry-start-kit. Still getting the same error.
i think the problem is when running make
. it seems to install a different version of chainlink-brownie-contracts
. Here are some workarounds that worked for me:
forge install smartcontractkit/chainlink-brownie-contracts@0.6.1
. (if you get a git error adding a --no-commit
flag worked for me as well)make
. just run make tests
right away. this also install missing dependencies. i think the right lib files are already in the repo upon cloning.hope this helps! :)
not sure if anyone from the team can help us on that. I'm also just following @PatrickAlphaC 's tutorials (which is so helpful so far ❤️)
Error:
fatal: Needed a single revision Unable to find current origin/master revision in submodule path 'lib/chainlink-brownie-contracts'
Reproduce:
Env: Windows 10 WSL2