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

292
Views
"Error en la transacción" al implementar el contrato con ob rinkeby

Hice un proyecto relacionado con un video de YouTube y obtuve este problema

Cuando intento implementar el contrato ob rinkeby, me da este error "Error: la transacción falló [Ver: https://links.ethers.org/v5-errors-CALL_EXCEPTION]". He revisado todo muchas veces y sigue sin funcionar

Parte del archivo Javascript, dónde está el problema (se detiene después de "probar 1"

 const RandomSVGContract = await ethers.getContractFactory('RandomSVG') const randomSVG = new ethers.Contract(RandomSVG.address, RandomSVGContract.interface, signer) let creation_tx = await randomSVG.create({ gasLimit: 7000000, gasPrice: 20000000000, value: '1000000000000000000' }) log(`testing 1`) let receipt = await creation_tx.wait(1) log(`testing 2`) let tokenId = receipt.events[3].topics[2] log(`testing 3`) log(`You have made your NFT! This is token number ${tokenId.toString()}`) log(`Lets wait for the ChainLink node to respond...`)

Función de solidez que trato de llamar

 function create() public payable returns (bytes32 requestId) { require(msg.value >= price, "need to send more eth"); requestId = requestRandomness(keyHash, fee); requestIdToSender[requestId] = msg.sender; uint256 tokenId = tokenCounter; requestIdToTokenId[requestId] = tokenId; tokenCounter = tokenCounter + 1; emit requestedRandomSVG(requestId, tokenId); }

Es interesante, pero se implementa fácilmente en la red local, pero no se implementa en rinkeby

about 4 years ago · Juan Pablo Isaza
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!