eth_signTypedData request
Hello, when I use WalletConnect V2 to sign the eth_signTypedData request, MetaMask returns an error: {"code": -32603, "message": "Internal error"}
System: Android 10 WalletConnect V2 version: V1.13.0 MetaMask version: V7.1.0
What chain?
Hello, @chendaxia65. Thanks for reporting! Please check if you still experience this after updating to the latest version from the Play Store. Thank you!
Hello, @chendaxia65. Thanks for reporting! Please check if you still experience this after updating to the latest version from the Play Store. Thank you!
Hello, @anaamolnar . thanks for your reply, I updated the latest version of MetaMask, and got a new error when using eth_signTypedData for signing requests: {"code":-32603,"message":"Invalid message "data": [object Object] must be a valid array.","data":{"originalError":{}}}
System: Android 10 WalletConnect V2 version: V1.13.0 MetaMask version: V7.3.0(1144)
Request Data: (requestId=1689907270449432, sessionTopic=afde08bfe2983707ce0b396aec6fc1ae9f1bc00acf241b6fa6b10527a5c31420, method=eth_signTypedData, params=["0x5d827EEE04Ff97F4F8907D16cC8210d4ecbc7ed0",{"domain":{"chainId":1,"name":"Login","version":"1"},"message":{"contents":"www.openvoice.com wants you to sign in with your Ethereum account:\n0x5d827EEE04Ff97F4F8907D16cC8210d4ecbc7ed0\n\nSign in with Ethereum to the app.\n\nURI: https://www.openvoice.com\nVersion: 1\nChain ID: 1\nNonce: FEhfCpOGKmBrFJIl\nIssued At: 2023-07-21T02:41:10.406Z"},"primaryType":"Login","types":{"EIP712Domain":[{"name":"name","type":"string"},{"name":"version","type":"string"},{"name":"chainId","type":"uint256"}],"Login":[{"name":"contents","type":"string"}]}}], chainId=eip155:1)
Hi @chendaxia65 , could you please share a repo so that we can try to reproduce the issue directly?
@chendaxia65 have you checked using chainId: 1 instead of chainId: eip155:1?