-
-
Notifications
You must be signed in to change notification settings - Fork 253
change: set defi controller to refresh only one account #6944
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
base: main
Are you sure you want to change the base?
Conversation
|
@metamaskbot publish-preview |
|
Preview builds have been published. See these instructions for more information about preview builds. Expand for full list of packages and versions. |
|
Preview builds have been published. See these instructions for more information about preview builds. Expand for full list of packages and versions. |
|
@metamaskbot publish-preview |
|
Preview builds have been published. See these instructions for more information about preview builds. Expand for full list of packages and versions. |
|
@metamaskbot publish-preview |
|
Preview builds have been published. See these instructions for more information about preview builds. Expand for full list of packages and versions. |
|
@metamaskbot publish-preview |
|
Preview builds have been published. See these instructions for more information about preview builds. Expand for full list of packages and versions. |
packages/assets-controllers/src/DeFiPositionsController/fetch-positions.ts
Show resolved
Hide resolved
4f7407c to
a3456b1
Compare
e30122d to
4076d85
Compare
052c435 to
26f7172
Compare
Explanation
KeyringController:unlockedeventDraft PR for extension: MetaMask/metamask-extension#37215
Draft PR for mobile: MetaMask/metamask-mobile#21657
References
Related to https://consensyssoftware.atlassian.net/browse/ASSETS-1238
Checklist
Note
Limits DeFi position updates to the selected EVM address and wraps the API call with an 8s timeout and single retry.
AccountTreeController:getAccountsFromSelectedAccountGroup.AccountTreeController:selectedAccountGroupChange; updates only the selected address.TransactionController:transactionConfirmed, updates only if the tx is for the selected address.KeyringController:unlock-triggered polling andAccountsController:accountAddedupdates.KeyringController:lock.isEvmAccountTypeand guard updates withisEnabled.fetch-positions: usetimeoutWithRetry(8s timeout, 1 retry) for API requests.utils/timeout-with-retrywith tests.CHANGELOG.mdwith breaking changes.Written by Cursor Bugbot for commit d391cf1. This will update automatically on new commits. Configure here.