-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Transiction send error "invalid sender" when sending over private Ethereum network #1832
Comments
This maybe related #1820 |
Got exactly the same problem. Did you find any way to work around @pavelkrolevets ? |
bump. This impacts all networks in which networkId and chainId do not match. Not just private nets, but live public nets also (e.g ethereum classic & ubiq). Signing transactions with networkId is invalid behavior (not to spec), producing invalid transactions (unless the Ids happen to match). Users can receive funds to metamask mobile on these networks but only to have it stranded as they can't produce valid transactions. Requiring them to import recovery phrase into an alternative wallet to recover said funds. |
First time looking at the mobile code but here is one such occurrence (and possibly the main culprit?): https://github.com/MetaMask/metamask-mobile/blob/develop/app/components/UI/PaymentRequest/index.js#L292 |
Please back port the fix from the main Metamask browser extension. Thanks |
This issue was closed because it has been stalled for 7 days with no activity. If you feel this was closed in error please reopen and provide evidence on the current production app. Thank you for your contributions. |
Describe the bug
Mobile Metamask fail to send ASK over https:// endpoint of another proof-of-authority network. Error - invalid sender. This indicates that the signature is wrong. It seems the signing function cant generate right sing when chainID !== networkID for private networks. I also tested when chainID == networkID on my local network on
Network Name: ASK Mainnet
New RPC URL: https://blockchain-api-mainnet.permission.io/rpc
ChainID: 222
Symbol: ASK
Block Explorer URL: https://explorer.permission.io/
I am able to receive ASK in the iOS and Android mobile apps. But when I try to send from iOS or Android to another Metamask wallet I receive the error: "Transaction Error - Object [Object]" with no additional information about why it failed.
Screenshots
To Reproduce
Network Name: ASK Mainnet
New RPC URL: https://blockchain-api-mainnet.permission.io/rpc
ChainID: 222
Symbol: ASK
Block Explorer URL: https://explorer.permission.io/
Another way:
Expected behavior
Transaction should be accepted to the network, but get error - invalid sender. Which indicates that the signature is wrong despite that chainID is provided (222), but networkID is different (2221).
Smartphone (please complete the following information):
to be added after bug submission by internal support / PM
Severity
The text was updated successfully, but these errors were encountered: