-
The code works perfectly fine if I use if (/*chainId == 31337*/ developmentChains.includes(network.name)) but whenever i use
helper-hardhat.config const developementChains = ["hardhat", "localhost"] |
Beta Was this translation helpful? Give feedback.
Answered by
krakxn
Jul 24, 2022
Replies: 1 comment 2 replies
-
Typo above, can be fixed by: it should be Hope this helps! |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
const developementChains = ["hardhat", "localhost"]
Typo above, can be fixed by: it should be
developmentChains
instead.Hope this helps!