Skip to content

Lesson 7- Hardhat Fund Me : No FundMe Contract deployed with Mock #428

Discussion options

You must be logged in to vote

There is no error for deployment,... Maybe FundMe contract is being deployed and logs are not displayed...
Change your deploy function to

const fundMe = await deploy("FundMe", {
        from: deployer,
        args: [ethUsdPriceFeedAddress], //put price feed address
        log: true,
    });

Or to

const fundMe = await deploy("FundMe", {
        contract: "FundMe",
        from: deployer,
        args: [ethUsdPriceFeedAddress], //put price feed address
        log: true,
    });

And then run

yarn hardhat clean && yarn hardhat deploy

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

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