-
|
BrownieFundMeProject is the active project. Launching 'ganache-cli --port 8545 --gasLimit 12000000 --accounts 10 --hardfork istanbul --mnemonic brownie'... Running 'scripts/deploy.py::main'... Mocks deployed! Invalid command. Did you mean 'brownie compile'? Project has been compiled. Build artifacts saved at /Users/mattwilson/demos/brownie_fund_me/build/contracts BrownieFundMeProject is the active project. Launching 'ganache-cli --port 8545 --gasLimit 12000000 --accounts 10 --hardfork istanbul --mnemonic brownie'... Running 'scripts/deploy.py::main'... Mocks deployed! i am currently getting this error on lesson 6 when i try to deploy the project. i have the constructor as this atm... constructor() public { because i tried this one... constructor(address _priceFeed) public { i deleted build folder and when i tried to compile again it said "priceFeed" undeclared identifier. can i please get some help with this issue i am not too sure what to do. also i am quite new to coding and i find it really difficult of where to start when trying to solve an issue. is this a way to become better at identifying the source of a problem? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
Hello @mattwilsonbmx this error should be happening on your deploy script, as you said the constructor requires no arguments, so when you use deploy are you sending anything else rather than the account? could you share your deploy script plz. |
Beta Was this translation helpful? Give feedback.
Hello @mattwilsonbmx this error should be happening on your deploy script, as you said the constructor requires no arguments, so when you use deploy are you sending anything else rather than the account? could you share your deploy script plz.