-
EDIT: Just noticed that there's no problem in deploying the contract, means the contract is being deployed but after deployment some I am trying to deploy some contracts and tried using different versions of ethers. The deployment works for Mumbai testnet but not for sepolia, Deployment Script :
"dependencies":
Error : |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
A similar error faced by another person as well - https://ethereum.stackexchange.com/questions/159479/hardhat-throw-error-yparity-mismatch-argument-signature-when-i-try |
Beta Was this translation helpful? Give feedback.
-
After trying different solutions, I managed to match the different version problems, and this line Also the npm package of hardhat-ethers shows the latest version as 2.2.3 but the original one is this, and this was major point because of which I got stuck. |
Beta Was this translation helpful? Give feedback.
After trying different solutions, I managed to match the different version problems, and this line
require("@nomicfoundation/hardhat-ethers");
was missing in my config, due to which there was a confusion between different version.Also the npm package of hardhat-ethers shows the latest version as 2.2.3 but the original one is this, and this was major point because of which I got stuck.