I am trying to broadcast a transaction via a
https://polygon-mainnet.infura.io/v3 endpoint that normally succeeds on Ethereum public networks like mainnet, rinkeby, kovan etc. However, I receive this error response:
only replay-protected (EIP-155) transactions allowed over RPC
I was able to fix this by reading this thread and hardcoding
chainId: 137 into my transaction config.
If Infura’s polygon nodes do enforce transaction replay-protection, like geth does by default as of v1.10, then this is confusing for users because the ethereum nodes empirically do not enforce this because I can send ethereum transactions without specifying