Skip to content

fix: refresh wallet balances after supply confirmation#3027

Open
alerodriargui wants to merge 1 commit into
aave:mainfrom
alerodriargui:fix/refresh-balances-after-supply-gasless
Open

fix: refresh wallet balances after supply confirmation#3027
alerodriargui wants to merge 1 commit into
aave:mainfrom
alerodriargui:fix/refresh-balances-after-supply-gasless

Conversation

@alerodriargui

Copy link
Copy Markdown

General Changes

Developer Notes

The supply flow was only invalidating pool data after confirmation, which could leave the wallet balance shown inside the modal stale until the modal was closed and reopened.

This adds a shared refetchSupplyPoolData helper that invalidates pool data and explicitly refetches the active wallet balance query before marking the supply transaction as successful.

Validation run locally:

  • node_modules\.bin\eslint.cmd src/components/transactions/Supply/SupplyActions.tsx src/components/transactions/Supply/SupplyWrappedTokenActions.tsx src/components/transactions/Supply/utils.ts
  • node_modules\.bin\tsc.cmd --noEmit --pretty false

Reviewer Checklist

Please ensure you, as the reviewer(s), have gone through this checklist to ensure that the code changes are ready to ship safely and to help mitigate any downstream issues that may occur.

  • End-to-end tests are passing without any errors
  • Code changes do not significantly increase the application bundle size
  • If there are new 3rd-party packages, they do not introduce potential security threats
  • If there are new environment variables being added, they have been added to the .env.example file as well as the pertinant .github/actions/* files
  • There are no CI changes, or they have been approved by the DevOps and Engineering team(s)

@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

@alerodriargui is attempting to deploy a commit to the Aave Team on Vercel.

A member of the Team first needs to authorize it.

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.

UI does not update USDT balance after supplying without ETH for gas fees

1 participant