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

fix: disable token select while fee is loading to prevent fee overrides #191

Merged
merged 2 commits into from
Aug 30, 2024

Conversation

Romsters
Copy link
Collaborator

Why:
Initially fee is requested for the default token, if another token is selected another fee request is triggered, if the first one takes longer than the second one it overrides the fee with incorrect data for the previous token selected. This happens quite often if default token is ETH as it takes more time to estimate deposit fee for ETH than for ERC20 for example.

@Romsters Romsters changed the title Fix deposit fee fix: disable token select while fee is loading to prevent fee overrides Aug 30, 2024
Copy link

Visit the preview URL for this PR (updated for commit 6f5de0e):

https://staging-zksync-dapp-wallet-v2--pr191-fix-deposit-fee-i7akyjf0.web.app

(expires Fri, 06 Sep 2024 13:10:10 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: a25831e6058958ccabf0f806505b5b8e7241b178

@Romsters Romsters merged commit 3884936 into main Aug 30, 2024
4 of 5 checks passed
@Romsters Romsters deleted the fix-deposit-fee branch August 30, 2024 13:31
Copy link

🎉 This PR is included in version 1.25.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants