Lesson 14: Error: ERROR processing 03-deploy-random-ipfs-nft.js #3154
-
Hello, while If I use: I have checked all the spelling mistakes I may have missed something but I dont find any, please help git Repo: https://github.com/mmuaaz/RandomNft-SolidityCourse |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
@mmuaaz : I have made a PR in your repo, Merge it and try it out! And also add this version of Chainlink/Contracts, In your terminal run this command : After that recompile your contract and then deploy it! Let me know, If it resolves your issue! |
Beta Was this translation helpful? Give feedback.
-
Can you run "yarn hardhat deploy/03-deploy-random-ipfs-nft.js" without errors? Ensure: const vrfCoordinatorV2Mock = await ethers.getContract("VRFCoordinatorV2Mock") Then try "yarn hardhat deploy". Does that fix the issue? Can you now deploy without errors? |
Beta Was this translation helpful? Give feedback.
@mmuaaz : I have made a PR in your repo, Merge it and try it out!
And also add this version of Chainlink/Contracts, In your terminal run this command :
yarn add @chainlink/contracts@0.4.0
After that recompile your contract and then deploy it!
Let me know, If it resolves your issue!