-
Notifications
You must be signed in to change notification settings - Fork 55
563/fix eth sign v4 signature not supported #576
563/fix eth sign v4 signature not supported #576
Conversation
|
This change alone won't do it. |
f066ec9
to
472eb79
Compare
Maybe @MareenG could also run some tests in some of the failing wallets https://docs.google.com/spreadsheets/u/1/d/177RoN3x0gHDwKAgu-TXUYEuz-z-dPu3RybZvOumRrAA/edit#gid=0 |
Yes, I will do some more tests. Are there some you would consider as most important to test? |
472eb79
to
9593528
Compare
@alfetopito is the new ethers package being used here or still yours? is there anything pending in this PR or should i review? |
For IOS people! now you can re-enable the Dapp browser that was removed in a past version https://link.trustwallet.com/browser_enable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How to review? @anxolin Can you try again? Several times? |
I've tried like 20 times, it looks stable to me the read operations, even wrap operations. It's just the signing operation is not working It's the same error I get in cowswap.exchange by the way |
😞 Can't help you there. You'll have to debug this one for me, since I have no apple device to test with. |
lmaoooo i love what you tagged me as 😂 😂 😂 |
@alfetopito Nice find. We found David's twin brother by luck of the draws 🎲 |
I tried to follow trust debug instructions, but they are hard to follow for IOS. I opened this issue: Probably we will need to inject some remote debug library for this. According to what they say, they implemented v3, which we also default back to. |
Where do you see we default to We currently don't do that, AFAIAA |
9593528
to
394f698
Compare
I know it's broken. |
Trust wallet is addressing the issue that we have in IOS: trustwallet/trust-web3-provider#149 |
Great news! Although, I've made such a nice logic for trying different versions sequentially 😞 No matter, I'm sure it'll be useful for other wallets. |
Currently broken. |
This reverts commit e61f066.
abc6d8a
to
64bb88d
Compare
This PR just forward ports #659 onto `main`: > Closes (supersedes) #650 > > As per comment on that PR (#650 (comment)), this change introduces a Signer class that uses `eth_signTypedData_v3` instead of `eth_signTypedData_v4` on the method `signTypedData` > > ### Test Plan > > Tested via `yalc` on gnosis/cowswap#576 with TrustWallet
Update 2021-05-27
Summary
Closes #563
After this change, I'm able to sign orders on Trust wallet dapp browser.
Need to test with more wallets of this type (injected)
Testing