Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

1inch issue signing #700

Closed
anxolin opened this issue May 27, 2021 · 13 comments · Fixed by #701
Closed

1inch issue signing #700

anxolin opened this issue May 27, 2021 · 13 comments · Fixed by #701
Assignees
Labels
Bug Something isn't working

Comments

@anxolin
Copy link
Contributor

anxolin commented May 27, 2021

Describe the bug
Wrapping ETH and approving WETH worked.

Failed when I tried to sign.

How to Reproduce
To reproduce, install 1inch app, and connect using wallet connect. Tested in IOS

When signing:
image

@anxolin anxolin added Bug Something isn't working RELEASE Included in the release that is being closed labels May 27, 2021
@alfetopito alfetopito self-assigned this May 27, 2021
@alfetopito alfetopito linked a pull request May 27, 2021 that will close this issue
@alfetopito
Copy link
Contributor

iOS only wallet
Probably we could make it use a different signing method if we can find out which error exactly it returns
Disabling it for now on #701

@anxolin
Copy link
Contributor Author

anxolin commented May 31, 2021

@alfetopito In this case, we are getting an error back from the wallet. In this case, shouldn't this be triggering the fallback logic?

@anxolin
Copy link
Contributor Author

anxolin commented May 31, 2021

Debugged this a bit more, because I suspected that maybe the error was in WC library handling the error, but we are seeing the original error sent by 1inch:

image

@anxolin
Copy link
Contributor Author

anxolin commented May 31, 2021

I tried with v4, v3, ethsign, and same result for all of them. Just leaving this issue open and deprioritizing.

I contacted 1inch through their chat, to notify them about the issue, plus created this PR to leave it open for wallets to try to debug the errors #718 (since main branches have the wallets disabled)

@anxolin anxolin removed the RELEASE Included in the release that is being closed label May 31, 2021
@anxolin
Copy link
Contributor Author

anxolin commented Jun 2, 2021

UPDATE: The support team says that they solved this, now they implement EIP-712 but still needs to pass QA and deploy to production (needs apple signature)

@alfetopito
Copy link
Contributor

@anxolin I think this is fixed, right?

@anxolin
Copy link
Contributor Author

anxolin commented Sep 22, 2021

Not in IOS....

@elena-zh
Copy link

Hey @anxolin , the issue is still relevant in v 1.5.0: I can wrap/unwrap tokens using 1Inch wallet, but I can't sign an order.
https://watch.screencastify.com/v/x6O8F5nCmPi4VPwLE2WW

@elena-zh
Copy link

elena-zh commented Nov 26, 2021

In a mobile view I can't even wrap/unwrap: I can't see confirmation modal in the connected wallet:

1Inch.mp4

Updated: confirmation modal appears, but it is hidden under connection modal.
So terrible UI 😕
The same as for desktop, it is impossible to sigh an order from there.

@podkovyrin
Copy link

@elena-zh you just need to tap the Hide button in the top left. Though I agree that might be not clear. We will improve UX here, thanks.

@elena-zh
Copy link

@podkovyrin , yes, thank you. I understood it in a while,.
Then, I was able to run some transactions.

Thanks!

@anxolin
Copy link
Contributor Author

anxolin commented Nov 29, 2021

Okay, nice so u were able to complete all the workflows with 1inch?

Then we should re-enable it in production, although it would be good to make it more obvious how to close it as @podkovyrin pointed out.

@anxolin anxolin mentioned this issue Nov 29, 2021
@elena-zh
Copy link

elena-zh commented Dec 3, 2021

1Inch wallet works as expected and has been enabled in v1.6.0

@elena-zh elena-zh closed this as completed Dec 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants