Lesson 9 Error: No Contract deployed with name Raffle #3950
joeljosjoseph
started this conversation in
General
Replies: 1 comment 2 replies
-
You need to make a couple of changes in your A. When you deploy your contract the order of the const args = [
vrfCoordinatorV2Address,
subscriptionId,
gasLane,
interval,
entranceFee,
callbackGasLimit,
] B. You missed using the const raffle = await deploy("Raffle", {
from: deployer,
args: args,
log: true,
waitConfirmations: network.config.waitConfirmations || 1,
}) |
Beta Was this translation helpful? Give feedback.
2 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.
Uh oh!
There was an error while loading. Please reload this page.
-
I am getting the following error while trying the initial unit tests in hardhat raffle.
The Github link to my repo is https://github.com/joeljosjoseph/hardhat-lottery.
Can someone help me with this?
Beta Was this translation helpful? Give feedback.
All reactions