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: fetch balances when wallet address is valid #1778

Merged
merged 3 commits into from
Jul 22, 2024

Conversation

brtkx
Copy link
Contributor

@brtkx brtkx commented Jul 22, 2024

Fixes an issue with useBalances where passing any destination address would retrigger fetching, even if the address is not valid. This also caused flakiness in ERC20 deposit and withdrawal e2e.

Testing

Before:
On prod you should see useBalance retrigger in the network tab with each character typed in the custom destination address.

After:
useBalance updates only when the custom destination address is complete and valid.

Copy link

vercel bot commented Jul 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
arbitrum-token-bridge ✅ Ready (Inspect) Visit Preview Jul 22, 2024 6:01pm

@cla-bot cla-bot bot added the cla-signed label Jul 22, 2024
@brtkx brtkx changed the title fix: update balances when destination address is complete fix: fetch balances when wallet address is valid Jul 22, 2024
@spsjvc spsjvc enabled auto-merge (squash) July 22, 2024 18:04
@spsjvc spsjvc merged commit 6cb1eea into master Jul 22, 2024
29 of 36 checks passed
@spsjvc spsjvc deleted the dest-address-performance branch July 22, 2024 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants