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


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

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

  • 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
    – Majd TL
    Mar 9, 2021 at 21:35
  • The problem is related to the chain id, which should be signed with the transaction.
    – Majd TL
    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
    – Majd TL
    Mar 9, 2021 at 22:26

1 Answer 1


Please have a look at this post, if it doesn't help please provide us with more details of all the steps you took trying to deploy the contract!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.