CRYPTO NEWS

Smoothie Raises $1.2 Million to Develop a Web3 Product Search

Smoothie recently announced raising over $1.2 million to build a product hunt for Web3. Matt Kim, Smoothie’s co-founder, tweeted about the funding to inform users worldwide. The Twitter thread by Matt Kim shed light on several important factors about the platform. As a discover-to-earn awards platform designed for Web3-based projects, Smoothie has been gaining gradual …

getting error when testing hardhat fundMe constructor testing in patrick kolin fcc video at timestamp 11.15.00

when i test this code in hardhat enviroment its give me following error // const accounts = await ethers.getSigners() // deployer = accounts[0] const deployer = (await getNamedAccounts()).deployer await deployments.fixture(["all"]) fundMe = await ethers.getContract("FundMe", deployer) mockV3Aggregator = await ethers.getContract( "MockV3Aggregator", deployer ) }) describe("constructor", function () { it("sets the aggregator addresses correctly", async () =>::Listen

when i test this code in hardhat enviroment its give me following error

    // const accounts = await ethers.getSigners()     // deployer = accounts[0]    const deployer = (await getNamedAccounts()).deployer     await deployments.fixture(["all"])     fundMe = await ethers.getContract("FundMe", deployer)     mockV3Aggregator = await ethers.getContract(         "MockV3Aggregator",         deployer     ) }) describe("constructor", function () {     it("sets the aggregator addresses correctly", async () => {         const response = await fundMe.getPriceFeed()         assert.equal(response, mockV3Aggregator.address)     }) })``` 

getting following this error in terminal

    constructor        1) "before each" hook for "sets the aggregator addresses correctly"     0 passing (5s)   1 failing    1) fundMe        "before each" hook for "sets the aggregator addresses correctly":      ERROR processing C:Usersmdisthh-fcc-fundmedeploysample.js: TypeError: fundMe.priceFeed is not a functionhave ```  **anyone have idea?** 

Smoothie Raises $1.2 Million to Develop a Web3 Product Search

Shopping cart
There are no products in the cart!
Continue shopping
0