2

When I am trying to migrate smart contracts in ropsten infura network, but got error.

The error is shown below:

Using network 'ropsten'. Running migration: 1_initial_migration.js Replacing Migrations... Error encountered, bailing. Network state unknown. Review successful transactions manually. only replay-protected (EIP-155) transactions allowed over RPC 

truffle.json

 module.exports = { ropsten:{ provider: () => new HDWalletProvider(MNEMONIC,REMOTE_NODE), network_id: 3 } }, 

Please help me to resolve this and help will be appreciated.

3
  • It seems to be a common problem currently on ropsten after they upgraded to geth 1.10, not sure if it’s a bug or change. try it on rinkeby it will works until the tools are updated or fixed Commented Mar 9, 2021 at 21:35
  • The problem is related to the chain id, which should be signed with the transaction. Commented Mar 9, 2021 at 21:38
  • github.com/ethereum/go-ethereum/pull/22339 this is new in the geth 1.10 version, and cause your problem. try somehow to add the chain id to the transaction sign function which is done in the background for you Commented Mar 9, 2021 at 22:26

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.