TypeError: Cannot read properties of undefined (reading 'keccak256') #6153
Replies: 2 comments 3 replies
-
You are keep asking same questions over and over again and the issue is still the same. You are using different ethers version. If you dont want to match course ethers version you need to fix your syntax to new ethers v6, otherwise downgrade your ethers to v5. We have already explained everything to you here: LINK But you have ignored our response and keep getting same errors. |
Beta Was this translation helpful? Give feedback.
-
@wwwbaraccuda you should know that the struggles you face as a beginner makes you a better developer.. keep coding! dont give up heres the solution to your code using ethers version 6
TO
NOTE!! ethers.utils is no longer avaliable on version 6 other troubles you may face along the way is upkeepNeeded
the version 6 syntax for the above code is
other troubles you may face along the way is requestID
hard code requestId as 1
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When i try to run script mockOffChain.js, i get this error :

Here's the code of mockOffChain.js (i copied it from github) :
Anyone know how to fix this error?
Beta Was this translation helpful? Give feedback.
All reactions