I was trying to deploy a contract to a deterministic address using Nicks method. This works fine on Rinkeby and all the Ethereum-Testnets that I tried. However, it doesn't work on Mumbai and probably not on Polygon either. The following error message pops up:
Error: Returned error: only replay-protected (EIP-155) transactions allowed over RPC
Other posts indicate that people have encountered the same problem. The answers suggest to include the chain-id to conform to EIP-155, but I must not include the chainId for the simple reason that Nick's method relies on a deterministic chain-independent transaction hash.
Is there a way to bypass this problem. The reply by @Badr Bellaj on this this thread seems to suggest that one can pass an option, but this probably refers to the geth option for the ethereum node and not to a transaction option for a JSON-RPC call.
It seems that I have to switch to the CREATE2 opcode, as this post suggests? But is there no way to create the contract with the same address across all chains from an EOA directly anymore?