Lesson 6: Sepolia chainID not recognized #5138
-
I am trying to deploy hardhat-simple-storage-fcc and it seems that the sepolia chainID is not being recognized. I've triple checked it along with the the SEPOLIA_RPC_URL, PRIVATE_KEY and ETHERSCAN_API_KEY The contract deploys but it never goes through the verification/block confirmation (since network.config.chainId == 11155111 is always false). Any idea what the issue could be? Is something up with Sepolia? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@carloscastellanos Hey! Yes you are right, I tried the repository after your question and it looks like hardhat does not support sepolia for the older version of plugins like hardhat-waffle, it also gives me the same error that sepolia does not support. Then I tried on my latest project where I have used the hardhat-toolbox plugin and it is working fine here; you can see this below; here is the verification link |
Beta Was this translation helpful? Give feedback.
-
OMG, the problem is I had "chainID" instead of "chainId" in my hardhat.config.js file! I already have the latest version of Hardhat, which installs the hardhat-toolbox; hardhat-waffle, ethereum-waffle, etc was never installed. So I am good there. |
Beta Was this translation helpful? Give feedback.
OMG, the problem is I had "chainID" instead of "chainId" in my hardhat.config.js file!
I already have the latest version of Hardhat, which installs the hardhat-toolbox; hardhat-waffle, ethereum-waffle, etc was never installed. So I am good there.