You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 17, 2024. It is now read-only.
Hi!
I am getting "TypeError: transaction chainId mismatch" error while deploying raw transaction to local Ganache.
I tried changing chainId to 31377 and 5777 and changing local Ganache blockchain NETWORK ID to 31377 and 5777. Still getting same error.
I'd appreciate your help.
TypeError: transaction chainId mismatch (argument="tx.chainId", value=1377, code=INVALID_ARGUMENT, version=6.7.1)
at makeError (D:\WEB3\node_modules\ethers\lib.commonjs\utils\errors.js:118:21)
at assert (D:\WEB3\node_modules\ethers\lib.commonjs\utils\errors.js:142:15)
at assertArgument (D:\WEB3\node_modules\ethers\lib.commonjs\utils\errors.js:154:5)
at Wallet.populateTransaction (D:\WEB3\node_modules\ethers\lib.commonjs\providers\abstract-signer.js:78:43)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Wallet.sendTransaction (D:\WEB3\node_modules\ethers\lib.commonjs\providers\abstract-signer.js:182:21)
at async main (D:\WEB3\deploy.js:38:4) {
code: 'INVALID_ARGUMENT',
argument: 'tx.chainId',
value: 1377
}
The text was updated successfully, but these errors were encountered:
Hi!
I am getting "TypeError: transaction chainId mismatch" error while deploying raw transaction to local Ganache.
I tried changing
chainId
to 31377 and 5777 and changing local Ganache blockchainNETWORK ID
to 31377 and 5777. Still getting same error.I'd appreciate your help.
My deploy.js code:
Error code:
The text was updated successfully, but these errors were encountered: