-
Notifications
You must be signed in to change notification settings - Fork 990
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
eth_signTypedData_v4
signature never completes
#12097
Comments
could it be a duplicate of #11706? For example if you are connected to mainnet but the dapp specifies test chain or private chain in the data to sign |
Well, I'm not sure, since I have no access to an in app debugger. I first observed the failure while testing our dApp on Mainnet: https://cowswap.exchage Actually, the dApp takes the network from the injected provider, so it should use whatever the wallet is giving, which I assume is mainnet. To reproduce that in CowSwap it'll cost you ETH for one approval and ERC20 funds to actually swap, as that is required before doing a swap. For this reason I went with the github repo where the signature is requested straight away. |
I managed to reproduce the issue. I had to switch to the My findings are as follow:
|
@alfetopito we have changed the implementation to accept either a string or number as chainID. Now a signature is generated both for v3 and v4 |
Awesome, thanks for that @bitgamma Any idea when that change will go live? I assume it requires a new app release on the respective stores (Android/iOS) |
It will be in the next release, but I cannot tell for sure when it will be. We release roughly once a month. If you wish to try it out you can download a nightly build (if you are on Android) from https://status.im/nightly/ |
Hi @bitgamma how can I try it for IOS? |
@anxolin because of how software distribution works on iOS, you will need to wait for the official release unfortunately |
Tested out the nightly version on Android, worked perfectly! |
Bug Report
Problem
Signing a message with
eth_signTypedData_v4
never completes.It keeps "processing" indefinitely.
The same is true for
eth_signTypedData_v3
Expected behavior
The message is signed
Actual behavior
The app is "processing" after the card is connected and never completes.
Reproduction
npm i && npm run build && npx serve
http://<your local ip>:5000
http://<your local ip>:5000
eth sign typed data v4
(the behaviour is the same withv3
)Additional Information
The text was updated successfully, but these errors were encountered: