Commit 15271e4
authored
chore: bump assets controllers to v93 (#38521)
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->
## **Description**
bump assets controllers to v93
<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->
[](https://codespaces.new/MetaMask/metamask-extension/pull/38521?quickstart=1)
## **Changelog**
<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`
If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`
(This helps the Release Engineer do their job more quickly and
accurately)
-->
CHANGELOG entry: bump assets controllers to v93
## **Related issues**
Fixes:
## **Manual testing steps**
1. Go to this page...
2.
3.
## **Screenshots/Recordings**
<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->
### **Before**
<!-- [screenshots/recordings] -->
### **After**
<!-- [screenshots/recordings] -->
## **Pre-merge author checklist**
- [ ] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've completed the PR template to the best of my ability
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
## **Pre-merge reviewer checklist**
- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Upgrade assets-controllers to v93, adjust token price service
behavior, add selected EVM account change event to token balances
messenger, and update related snapshots.
>
> - **Dependencies**
> - Bump `@metamask/assets-controllers` to `93.0.0`.
> - **Token Prices Service (patched)**
> - Set numerous `SPOT_PRICES_SUPPORT_INFO` chain mappings to `null`.
> - Use decimal chain ID in `/spot-prices` URL (`parseInt(chainId,
16)`).
> - **Token Balances Controller Messenger**
> - Listen for `AccountsController:selectedEvmAccountChange` events.
> - **Tests**
> - Update ETH rate precision in state snapshot fixtures.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
61cb37e. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent e66d9a7 commit 15271e4
File tree
6 files changed
+106
-21
lines changed- .yarn/patches
- app/scripts/controller-init/messengers
- test/e2e/tests/metrics/state-snapshots
6 files changed
+106
-21
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | | - | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| 114 | + | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
| 277 | + | |
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
| 116 | + | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
126 | | - | |
| 125 | + | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5684 | 5684 | | |
5685 | 5685 | | |
5686 | 5686 | | |
5687 | | - | |
5688 | | - | |
5689 | | - | |
| 5687 | + | |
| 5688 | + | |
| 5689 | + | |
5690 | 5690 | | |
5691 | 5691 | | |
5692 | 5692 | | |
| |||
5708 | 5708 | | |
5709 | 5709 | | |
5710 | 5710 | | |
5711 | | - | |
| 5711 | + | |
5712 | 5712 | | |
5713 | 5713 | | |
5714 | 5714 | | |
| |||
5718 | 5718 | | |
5719 | 5719 | | |
5720 | 5720 | | |
5721 | | - | |
| 5721 | + | |
5722 | 5722 | | |
5723 | 5723 | | |
5724 | 5724 | | |
| |||
5734 | 5734 | | |
5735 | 5735 | | |
5736 | 5736 | | |
5737 | | - | |
| 5737 | + | |
5738 | 5738 | | |
5739 | 5739 | | |
5740 | 5740 | | |
| |||
5790 | 5790 | | |
5791 | 5791 | | |
5792 | 5792 | | |
5793 | | - | |
| 5793 | + | |
5794 | 5794 | | |
5795 | | - | |
| 5795 | + | |
5796 | 5796 | | |
5797 | 5797 | | |
5798 | 5798 | | |
| |||
5840 | 5840 | | |
5841 | 5841 | | |
5842 | 5842 | | |
5843 | | - | |
| 5843 | + | |
| 5844 | + | |
| 5845 | + | |
| 5846 | + | |
| 5847 | + | |
| 5848 | + | |
| 5849 | + | |
| 5850 | + | |
| 5851 | + | |
| 5852 | + | |
| 5853 | + | |
| 5854 | + | |
| 5855 | + | |
| 5856 | + | |
| 5857 | + | |
| 5858 | + | |
| 5859 | + | |
| 5860 | + | |
| 5861 | + | |
| 5862 | + | |
| 5863 | + | |
| 5864 | + | |
| 5865 | + | |
| 5866 | + | |
| 5867 | + | |
| 5868 | + | |
| 5869 | + | |
| 5870 | + | |
| 5871 | + | |
| 5872 | + | |
| 5873 | + | |
| 5874 | + | |
| 5875 | + | |
| 5876 | + | |
| 5877 | + | |
| 5878 | + | |
| 5879 | + | |
| 5880 | + | |
| 5881 | + | |
| 5882 | + | |
| 5883 | + | |
| 5884 | + | |
| 5885 | + | |
| 5886 | + | |
| 5887 | + | |
| 5888 | + | |
| 5889 | + | |
| 5890 | + | |
| 5891 | + | |
| 5892 | + | |
| 5893 | + | |
| 5894 | + | |
| 5895 | + | |
| 5896 | + | |
| 5897 | + | |
5844 | 5898 | | |
5845 | 5899 | | |
5846 | 5900 | | |
| |||
7750 | 7804 | | |
7751 | 7805 | | |
7752 | 7806 | | |
| 7807 | + | |
| 7808 | + | |
| 7809 | + | |
| 7810 | + | |
| 7811 | + | |
| 7812 | + | |
| 7813 | + | |
| 7814 | + | |
| 7815 | + | |
| 7816 | + | |
| 7817 | + | |
| 7818 | + | |
| 7819 | + | |
| 7820 | + | |
| 7821 | + | |
| 7822 | + | |
| 7823 | + | |
| 7824 | + | |
| 7825 | + | |
| 7826 | + | |
| 7827 | + | |
| 7828 | + | |
| 7829 | + | |
| 7830 | + | |
| 7831 | + | |
| 7832 | + | |
| 7833 | + | |
| 7834 | + | |
7753 | 7835 | | |
7754 | 7836 | | |
7755 | 7837 | | |
| |||
9017 | 9099 | | |
9018 | 9100 | | |
9019 | 9101 | | |
9020 | | - | |
9021 | | - | |
9022 | | - | |
| 9102 | + | |
| 9103 | + | |
| 9104 | + | |
9023 | 9105 | | |
9024 | 9106 | | |
9025 | 9107 | | |
| |||
9036 | 9118 | | |
9037 | 9119 | | |
9038 | 9120 | | |
9039 | | - | |
| 9121 | + | |
9040 | 9122 | | |
9041 | 9123 | | |
9042 | 9124 | | |
| |||
9051 | 9133 | | |
9052 | 9134 | | |
9053 | 9135 | | |
9054 | | - | |
| 9136 | + | |
9055 | 9137 | | |
9056 | 9138 | | |
9057 | 9139 | | |
| |||
33348 | 33430 | | |
33349 | 33431 | | |
33350 | 33432 | | |
33351 | | - | |
| 33433 | + | |
33352 | 33434 | | |
33353 | 33435 | | |
33354 | 33436 | | |
| |||
0 commit comments