-
Here is the link to the repo: https://github.com/Tosinkoa/smart-contract-raffle My contract was not deploying because I was getting this warning message from the VRF Mock I imported from chainlink, and also am getting an error that says ---------------------------------------Here is the error I was getting------------------------------------------------
------------------------------------------------Here is the verify.js file---------------------------------------------------
------------------------------------Here is the file I was receiving those arguments from verify.js------------------------------------
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The problem seems in your 00-deploy-mocks.js, check your code to see is it type correct |
Beta Was this translation helpful? Give feedback.
-
The problem was in my deploy file. |
Beta Was this translation helpful? Give feedback.
The problem was in my deploy file.
I did
const deployer = await getNamedAccount()
instead of doingconst { deployer } = await getNamedAccount()