Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

556
Views
El proyecto FundMe no se implementa y obtiene "No se encontró implementación para: MockV3Aggregator"

Cuando ejecuto este comando yarn hardhat deploy --tags fundme , obtengo este error de MockV3Aggregator.

Error: ERROR processing /Users/mohameduzair/blockChain/JSweb3_2/fundMe_hardhat/deploy/01-deploy-fundMe.js: Error: No deployment found for: MockV3Aggregator at Object.get (/Users/mohameduzair/blockChain/JSweb3_2/fundMe_hardhat/node_modules/hardhat-deploy/src/DeploymentsManager.ts:162:17)

01-deploy-fundMe.js secuencia de comandos de implementación

 ```module.exports = async ({ getNamedAccounts, deployments }) => { const { deploy, log } = deployments const { deployer } = await getNamedAccounts() const chainId = network.config.chainId let ethUsdPriceFeedAddress if (developmentChains.includes(network.name)) { // if (chainId === 31337) { const ethUsdAggregator = await deployments.get("MockV3Aggregator") ethUsdPriceFeedAddress = ethUsdAggregator.address } else { ethUsdPriceFeedAddress = networkConfig[chainId]["ethUsdPriceFeed"] } const fundMe = await deploy("FundMe", { from: deployer, args: [ethUsdPriceFeedAddress], log: true, }) log(`FundMe deployed at ${fundMe.address}`) log(`-------------------------!!!--------------------------`) } module.exports.tags = ["all", "fundme"] ```

Contrato MockV3Aggregator.sol

 // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; // pragma solidity >=0.6.6 <0.8.7; import "@chainlink/contracts/src/v0.6/tests/MockV3Aggregator.sol";

I', nuevo en las tecnologías Blockchain. Estoy siguiendo un tutorial en Youtube. He hecho mi mejor esfuerzo. todavía no puedo arreglar esto. ¿Qué debería hacer ahora? Gracias

about 4 years ago · Juan Pablo Isaza
3 answers
Answer question

0

Este es el tutorial de Patrick y primero debe implementar el simulacro.

Por favor vea aquí .

about 4 years ago · Juan Pablo Isaza Report

0

Después de pasar 5 horas, solucioné el error. Fue un {llave} adicional en mi código y un error de implementación.

about 4 years ago · Juan Pablo Isaza Report

0

Si está siguiendo el tutorial de Patrick y recibe este error, probablemente le falte network.name en cualquiera de los archivos de implementación. En lugar de red.nombre , ha escrito solo red

almost 4 years ago · Guman Singh Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!