Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
-
change const {chainId} = network.config.chainId; **TO** const chainId = network.config.chainId; |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
waleedcj
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.
-
line of code which is giving me an error

The Code I want to run

output on console

config file where I want to extract the testnet Address from respected to the chianID

I have replaced the extracting of the address from the config file to the Rinkeby price feed address and can run and deploy

the fundMe contract smoothly
Also please leave comments on the question formatting I tried following Patrick's format thanks
Edit: The chainId is somehow undefined, and that's why it cannot go into the object, but don't we mention the chainId in the hardhat.config.js?

Beta Was this translation helpful? Give feedback.
All reactions