full-blockchain-solidity-course-py icon indicating copy to clipboard operation
full-blockchain-solidity-course-py copied to clipboard

Lesson 6 - Brownie Fund Me -- Having issues deploying Mock and Fund Me contract

Open bubu59 opened this issue 2 years ago • 5 comments

Hi Guys, I have been running into an issue where the Ganache development chain spins up sometimes and other times it crashes with an error saying that web3 is not connected. Any advice? Thank you!

image

bubu59 avatar Mar 20 '22 07:03 bubu59

is your ganache GUI running?

shashankvivek avatar Mar 20 '22 13:03 shashankvivek

Hello, I did not open my ganache GUI. Should I?

bubu59 avatar Mar 21 '22 02:03 bubu59

ohhh.... it works when my GUI is opened. So like how do I know when I should have it opened or closed? Cos in the tutorial, there were instances when Patrick mentioned to close the GUI... Is that for when we are using Ganache CLI ?

bubu59 avatar Mar 21 '22 02:03 bubu59

Also, I ran the deploy script which has successfully deployed the FundMe contract, however, the MockAggregator is not deployed. Any thoughts on why that might be the case? Thank you! image

bubu59 avatar Mar 21 '22 02:03 bubu59

ohhh.... it works when my GUI is opened. So like how do I know when I should have it opened or closed? Cos in the tutorial, there were instances when Patrick mentioned to close the GUI... Is that for when we are using Ganache CLI ?

You need to check in the video when you are using ganache-cli and when you are using network to connect to ganache GUI by providing its url and chainId. That is how it is working

shashankvivek avatar Mar 24 '22 11:03 shashankvivek