Lesson 7 getting error #6116
Unanswered
dark-Kings
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Hi @dark-Kings Just downgrade your hardhat to v5 to match course repository version. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Brother first post questions in proper format. Check the lecture where Patrick explains how do post questions in discussions |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
error : " FundMe
constructor
0 passing (677ms)
1 failing"
'''
const { assert, expect } = require("chai")
const { network, deployments, ethers, getNamedAccounts } = require("hardhat")
const { developmentChains } = require("../../helper-hardhat-config")
!developmentChains.includes(network.name)
? describe.skip
: describe("FundMe", function () {
let fundMe
let mockV3Aggregator
let deployer
// const sendValue = ethers.utils.parseEther("1")
const sendValue = "1000000000000000000"
beforeEach(async () => {
// const accounts = await ethers.getSigners()
// deployer = accounts[0]
deployer = (await getNamedAccounts()).deployer
await deployments.fixture(["all"])
fundMe = await ethers.getContract("FundMe", deployer)
mockV3Aggregator = await ethers.getContract(
"MockV3Aggregator",
deployer
)
})
'''
Beta Was this translation helpful? Give feedback.
All reactions