Skip to content

FundMe "before each" hook for "sets the aggregator addresses correctly": Error: No Contract deployed with name FundMe #3287

Discussion options

You must be logged in to vote

@jacoboforero Your code has so many typos, you should check these;

FundMe.staging.test.js

  1. developmentChains correct it in this file as well as in helper file.
  2. correct includes spelling mistake developmentChains.includes in the same file
  3. correct the describe.skip spelling mistake

FundMe.test.js

  1. correct describe spelling describe.skip
  2. developmentChains is not define, you should add this in you fileconst { developmentChains } = require("../../helper-hardhat-config");
  3. correct includes spelling mistake developmentChains.includes(network.name)

Now make sure to use the same dependencies mentioned in the code repo, your project has dependencies conflicts and same hardhat require statements.

A…

Replies: 3 comments 11 replies

Comment options

You must be logged in to vote
8 replies
@pacelliv
Comment options

@jacoboforero
Comment options

@pacelliv
Comment options

@jacoboforero
Comment options

@Abdullah-Sajjad026
Comment options

Comment options

You must be logged in to vote
2 replies
@jacoboforero
Comment options

@alymurtazamemon
Comment options

Answer selected by alymurtazamemon
Comment options

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

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