smartcontractkit / full-blockchain-solidity-course-py

Ultimate Solidity, Blockchain, and Smart Contract - Beginner to Expert Full Course | Python Edition
MIT License
10.8k stars 2.9k forks source link

Lesson 6: Fund me Build Artifacts are missing #1250

Open Dodo-8 opened 2 years ago

Dodo-8 commented 2 years ago

I have followed the tutorial and I don't know why when the code compiles, in build/contracts the dependencies folder isn't created.

When I compile the only file generated when generating build data is FundMe, I'm lacking "smartcontractkit/chainlink-brownie-contracts@1.1.1/AggregatorV3Interface" and "smartcontractkit/chainlink-brownie-contracts@1.1.1/SafeMathChainlink".

The FundMe.sol is exactly the same one from the GitHub repository, it seems that VSCode doesn't recognize the imports in the FundMe.sol image

And the brownie-config.yaml situated in the root directory: image

When I compile the code you can see that it only generates one build data: image

Additionally, the package smartcontractkit is installed: image

I don't know what I'm doing wrong, I've read brownie's documentation on remapping installed packages but everything seems to be ok. I really appreciate the help!

7xAquarius commented 2 years ago

This feature was added in version v1.12.2, and I see you have v1.9.8

You should consider upgrading to the latest Brownie version v1.18.1 If you installed it with pipx just run pipx upgrade eth-brownie