Skip to content

Lesson 6: Brownie Fund Me - 'WARNING: Unable to compile smartcontractkit/[email protected] due to a NamespaceCollision' #304

Answered by cromewar
semsion asked this question in Q&A
Discussion options

You must be logged in to vote

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 the MockV3Aggregator from github is not going to be compiled because we are using a local version.

@PatrickAlphaC do you have any thoughts on this?

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@PatrickAlphaC
Comment options

@semsion
Comment options

@PatrickAlphaC
Comment options

Answer selected by cromewar
Comment options

You must be logged in to vote
3 replies
@cromewar
Comment options

@deFaup
Comment options

@cromewar
Comment options

Comment options

You must be logged in to vote
1 reply
@aviralgoel
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants