Lesson 6: Brownie not detecting my local ganache #346
-
Hello! I am facing an issue that Brownie is not detecting my local Ganache. PS C:\Users\Guillermo Palou\demos\brownie_fund_me> brownie run scripts/deploy.py --network ganache-local BrownieFundMeProject is the active project. Running '\Users\Guillermo Palou\demos\brownie_fund_me\scripts\deploy.py::main'... I already did the step of adding the ganache-local network . I get this when I run brownie networks list PS C:\Users\Guillermo Palou\demos\brownie_fund_me> brownie networks list The following networks are declared: Ethereum I was able to fix the error above by adding the ganache-local into my brownie-config.yaml file. However whenever I run I still get an error. PS C:\Users\Guillermo Palou\demos\brownie_fund_me> brownie run scripts/deploy.py --network ganache-local BrownieFundMeProject is the active project. Running '\Users\Guillermo Palou\demos\brownie_fund_me\scripts\deploy.py::main'... It seems that my problem is when trying to retrieve the eth USD price. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello @guillermo-palou as you said you should have added ganache-local to your brownie-config and you already did it, so everything ok on that part. Regarding to add the same line on ganache-local or it won't work. Note: remember you have to deploy mocks to work with |
Beta Was this translation helpful? Give feedback.
Hello @guillermo-palou as you said you should have added ganache-local to your brownie-config and you already did it, so everything ok on that part. Regarding to
eth_usd_price_feed
is because you only set that for rinkeby:add the same line on ganache-local or it won't work.
Note: remember you have to deploy mocks to work with
eth_usd_price_feed
on a local ganache.