omni / tokenbridge-contracts

Smart contracts for TokenBridge
http://docs.tokenbridge.net
GNU General Public License v3.0
230 stars 227 forks source link

fix: missing chainId when send raw tx #665

Open 0xcuonghx opened 2 years ago

0xcuonghx commented 2 years ago

Error when deploy contracts:

Error: web3 RPC failed: {"code":-32000,"message":"only replay-protected (EIP-155) transactions allowed over RPC"}
    at sendNodeRequest (/contracts/deploy/src/deploymentUtils.js:168:9)
    at process._tickCallback (internal/process/next_tick.js:68:7)
Error: TypeError: Cannot read property 'status' of undefined
    at upgradeProxy (/contracts/deploy/src/deploymentUtils.js:213:14)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Refer: https://ethereum.stackexchange.com/questions/94412/valueerror-code-32000-message-only-replay-protected-eip-155-transac