Lesson 6: Brownie Fund Me - 'WARNING: Unable to compile smartcontractkit/[email protected] due to a NamespaceCollision' #304
-
Ok, so - at 5h10m58s of Lesson 6: Brownie Fund Me https://youtu.be/M576WGiDBdQ?t=18658 - I'm receiving the following warning:
The project did actually compile though, and the relevant .json files were populated at build/contracts/dependencies/smartcontractkit/[email protected] - so hopefully I don't need to worry too much about this... There appears to a similar issue here: eth-brownie/brownie#729 Has anyone else come across this? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
I also got his warning all the time, as is mentioned on the thread you linked it seems brownie does not allows to have contract and interfaces with the same name. I have a hypothesis and I think this happens because we copy-paste the contract manually on our project folder, as we do on the course with @PatrickAlphaC do you have any thoughts on this? |
Beta Was this translation helpful? Give feedback.
-
Interesting, I'm also facing the issue and even if the compilation was going through I couldn't deploy the contract on rinkeby or a local chain. I removed it completely and now I get the error but I can deploy the contract without error. |
Beta Was this translation helpful? Give feedback.
-
I am facing the same issue. Did you find a solution? |
Beta Was this translation helpful? Give feedback.
I also got his warning all the time, as is mentioned on the thread you linked it seems brownie does not allows to have contract and interfaces with the same name.
I have a hypothesis and I think this happens because we copy-paste the contract manually on our project folder, as we do on the course with
MockV3Aggregator
, so it is also on chainlink's github and brownie warns us saying that we can't use both, so theMockV3Aggregator
from github is not going to be compiled because we are using a local version.@PatrickAlphaC do you have any thoughts on this?