-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
build: upgrade asset controllers to @73.0.1 #17758
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
Conversation
this includes some token balance fixes and performance improvements
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
…/upgrade-asset-controllers
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
|
@Prithpal-Sooriya Can you add a perf tooling recording of the asset view with these changes before and after? It would be good to know the impact of this change. |
@sethkfman I've attached a before and after vid. This improvement is solely focused on the network tab by drastically reducing the number of RPC calls we are making and processing. We have further improvements coming down in future controller releases. Now that devs have an easy view into the network tab, we can start being more critical to network requests. |
Description
This includes token balance fixes and performance improvements
Changelog
CHANGELOG entry: upgrade
@metamask/[email protected]
Related issues
Fixes: #17412
Manual testing steps
N/A
Screenshots/Recordings
Before
After
https://www.loom.com/share/b21f66084b274adfb5526dc8afc7533e?sid=990c9257-9d9d-4c49-a9dc-7f9e96d9863f
Performance
Key improvement here is the reduction of RPC spam by using a multicall on the AccountTrackerController
Before
We were making many RPC calls for this, so much so that I got rate limited.
https://www.loom.com/share/b201ebda42a74a879fa78402f3420ce8?sid=1640e528-6c68-4230-bef8-4f3722d67a01
After
Now we have a multicall group RPC call to drastically reduce the number of RPC calls made
We have some further improvements to reduce duplicate RPC calls made by AccountTrackerController and TokenBalancesController in future PRs.
https://www.loom.com/share/801dfd74874f41c89a788f151c3430a7?sid=fdc62ff6-b122-4ec1-b9bc-fb7349de76e0
Pre-merge author checklist
Pre-merge reviewer checklist