Skip to content
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

zkSync UX Improvements #7489

Merged

Conversation

mds1
Copy link
Contributor

@mds1 mds1 commented Sep 21, 2020

Resolves #7397, #7469

Changes

  1. To fix Grants/zkSync checkout: what happens if deposit tx fails? #7397: When the cart loads we check the DB for a deposit tx hash from the user to see if their checkout was interrupted. If it was, we now have a check to see if the transaction failed. If it did fail, we mark the user as "not interrupted" so they can try checking out again

  2. To fix Insufficient DAI balance to complete checkout #7469: During zkSync checkout Flow B (user makes L1 deposit), the zkSync fees were not shown to the user anywhere, so we now show them at the bottom of the modal along with a link to the docs/GRANTS.md file to learn more about fees and how the checkout flow works. The modal is shown in the screenshot below. (Note that we don't need to show these fees in Flow A since the user signs a message containing the fee amount and that wallet should show that message to the user)

image

cc @willsputra

@willsputra
Copy link
Contributor

LGTM! thanks @mds1 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants