Lesson 10: running mockOffchain.js issue #612
-
Hello, When I run mockOffchain.js it responds with: I understand this must mean my "upkeepNeeded" variable is returning false, but not sure why. Any ideas appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 15 replies
-
Ok, I got it to perform the upkeep request by changing the name of my 31337 network in the helper-hard-config.js file to "localhost" instead of "hardhat". But the rest of the execution is not happening. |
Beta Was this translation helpful? Give feedback.
-
Ok I got it to work. Issue was that in the hardhat.config.js folder I had no localhost network. I added it with a chainId of "31337" and it now works a charm. |
Beta Was this translation helpful? Give feedback.
Ok I got it to work.
Issue was that in the hardhat.config.js folder I had no localhost network.
I added it with a chainId of "31337" and it now works a charm.