-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pending transaction from a side chain was executed on the mainnet #5762
Comments
I experienced the exact same issue using xDAI POA side chain with a custom RPC on https://dai.poa.network. xDai pending transactions resolved on the Ethereum main net when I changed the Metamask selector to main net. OS: Linux Ubuntu 16.04 |
Hi all, sorry for the slow reply. If you're able to reproduce this, please contact us at [email protected] so we can get some logs to help us diagnose how this could happen. |
Hi @danfinlay , this issue just happened to me again, I had a transaction that was rejected or pending (not sure which state) on the xDai POA side chain, and when I moved to the Mainnet and executed another transaction, the one from the POA side chain was executed on the mainnet. Here is the transaction on the mainnet: https://etherscan.io/tx/0xec77021ae69a93cc4f6a72bfaa6f90d98f35b0c813aa5733f160379b3d9c3a3d Metamask version: 5.3.1 Feel free to contact me on telegram at @joaoaguiam to help you debugging. |
I think that the issue is still there. @joaoaguiam next time, you should try by sending the pending transaction into a test net. I haven't tried to use an xDai advanced custom RPC. But my guess is that if we create a new custom RPC with network id under advance preferences, the issue will probably be mitigated. A related issue was reported in the burner-wallet repo: austintgriffith/burner-wallet#82 @joaoaguiam as far as I can see, you where playing with the Burner token. |
it's possible if the xDAI POA has the same netID and chainID as ethereum main net it is possible for the pending tx to be submitted to the ethereum main net. |
oh scratch that found one |
I don't think it is the case. xDai is 100. |
yeah just confirmed that |
might be related to #5956 |
@riusricardo Yes I was playing with the Burner Wallet and Burn token. I didn't set the chain id when I added the xDai RPC. Do you think if this is set to 100 there should be no issue? Next time it fails I will move to the test net then. Thanks! |
@joaoaguiam just make sure you don't have more than 1 custom rpc in your list. Remove all RPCs and only use one Custom RPC in metamask for now. |
If that's a user-side workaround, we should just make |
@joaoaguiam |
@joaoaguiam @danfinlay that is not an effective workaround; best to just put the chain Id in settings when you use the rpc till the new update has reached all users the update will not be able to fix miss-assigned chainID's so you will still need to reenter them on the new update if they have a cached value that is incorrect. |
This should be fixed in v5.3.4, let us know if not! |
Thanks for the fix 👍 If I fall on the same problem I will let you know here! |
Describe the bug
I was using the xDAI POA side chain and my transaction was pending for several days. After changing to the mainnet and launch a new transaction, my previous side chain transaction was executed.
To Reproduce
Not sure I am able to reproduce it again.
I was using xdai.io burner wallet, which uses the xDAI POA sidechain. Somehow the transaction was not going through and stays in the pending state on my wallet. When moving to the mainnet, the pending transaction was still there.
I then executed a new transaction on the mainnet, and suddenly my pending transactions from the side chain were executed. Therefore some ethers went to a unknown address and got lost forever!
Expected behavior
Transactions from private RPCs should not be mixed in the list of transactions on the mainnet
Screenshots
Tx link: https://etherscan.io/tx/0x20d1787d23ff345b64314559294f03f06e2f8d23e79037709d3ab7778959939c
Browser details (please complete the following information):
The text was updated successfully, but these errors were encountered: