-
Notifications
You must be signed in to change notification settings - Fork 55
eth_signTypedData_v4
not supported
#563
Comments
Looking at MetaMask/metamask-extension#6868 it appears that v3 and v4 work the same way, but v4 adds support for nested structs and arrays of complex types. Since we don't make use of either of these things, I think its OK to Although, I think it would also be find to just |
This is the issue we have for instance with Ledger through MM. What we need is to add a fallback more general to switch to Right now it's hard coded only for the specific MM error code: https://github.com/gnosis/gp-swap-ui/blob/b9bc216a1b9293d2e0554d7dd6acbfd85605c102/src/custom/utils/trade.ts#L105 If the wallet is imToken as you say, we need to test and see what's the error code we get there. |
Yep, it's just a guess. Im not actually sure. I say that cause i know is used is china a lot, has a webview, and uses an injected web3 instance, works similar to metamask We should try more webviews and mobile browsers. It would be great to have a matrix with wallets we want to try out in a document, and see if we are compatible. What do you think @MareenG We don't need to try them out in every version, but is good to test as many as we can (the ones with some market quota i mean of course) |
I will start such a document. |
Got a report via Anna from twitter of a user having the same issue on Trust Wallet https://gnosisinc.slack.com/archives/CPZA1AGKY/p1619745085192100 |
Summarizing what happened so far. But, the signed message is incorrect. What was said there is basically that the recovered address from the signature is not the user's address. With Nick's and Valentin's investigative skill, they found out that TrustWallet behaves the same as Metamask, as we have to use So, the change alone in the PR (#376) won't be enough. We need also a change to |
One of the users reported he used https://crypto.com/defi-wallet EDIT: I installed the app, but i had to go through a KYC which will be done in 2-3 days |
Oh boy. |
@Anxo Where where you asked for KYC? I just finished the setup and did not need any. You have to install the |
Regarding Status wallet -> #608 As for Crypto.com, there's no dApp browser... I mean, not in the Defi wallet. Or does the other wallet (the one you are waiting for KYC) have? |
Crypto.com wallet -> #610 Doesn't work at all :( |
One more to the list. It's basically an injected wallet provider. Fails with the same error "The method eth_signTypedData_v4 does not exist/is not available" It does work with the fix on #576 🥳 |
Describe the bug
Error signing the transaction
Details
eth_signTypedData_v4
not supported.Additional context
This comes from the feedback button, but no email was left to get more context on how to reproduce.
The message the user gets is:
the method eth_signTypedData_v4 does not exist/is not available
There's 6 methods created for historic reasons, maybe we can fallback to v3, and eth_sign as last resources?
It would be great to get to reproduce this.
More info in the device:
I bet is a webview within an app, probably imToken if I have to bet on one (seeing the user is from Singapore)
@nlordell WDYT?
The text was updated successfully, but these errors were encountered: