Commit 5011f84
authored
chore: update @metamask/transaction-pay-controller to version 21.0.0 (#29774)
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until this PR meets the canonical
Definition of Ready For Review in `docs/readme/ready-for-review.md`.
In short: the template must be materially complete (not just section
titles
present), all status checks must be currently passing, and the only
expected
follow-up commits must be reviewer-driven.
-->
## **Description**
Update package @metamask/transaction-pay-controller.
## **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:
## **Related issues**
Fixes: https://consensyssoftware.atlassian.net/browse/CONF-1241
## **Manual testing steps**
```gherkin
Feature: my feature name
Scenario: user [verb for user action]
Given [describe expected initial app state]
When user [verb for user action]
Then [describe expected outcome]
```
## **Screenshots/Recordings**
NA
## **Pre-merge author checklist**
<!--
Every checklist item must be consciously assessed before marking this PR
as
"Ready for review". A checked box means you deliberately considered that
responsibility, not that you literally performed every action listed.
Unchecked boxes are ambiguous: they are not an implicit "N/A" and they
are not
a silent "skip". See `docs/readme/ready-for-review.md` for the full
checklist
semantics.
-->
- [X] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [X] I've completed the PR template to the best of my ability
- [X] I've included tests if applicable
- [X] I've documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [X] I've applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
#### Performance checks (if applicable)
- [ ] I've tested on Android
- Ideally on a mid-range device; emulator is acceptable
- [ ] I've tested with a power user scenario
- Use these [power-user
SRPs](https://consensyssoftware.atlassian.net/wiki/spaces/TL1/pages/edit-v2/401401446401?draftShareId=9d77e1e1-4bdc-4be1-9ebb-ccd916988d93)
to import wallets with many accounts and tokens
- [ ] I've instrumented key operations with Sentry traces for production
performance metrics
- See [`trace()`](/app/util/trace.ts) for usage and
[`addToken`](/app/components/Views/AddAsset/components/AddCustomToken/AddCustomToken.tsx#L274)
for an example
For performance guidelines and tooling, see the [Performance
Guide](https://consensyssoftware.atlassian.net/wiki/spaces/TL1/pages/400085549067/Performance+Guide+for+Engineers).
## **Pre-merge reviewer checklist**
<!--
Reviewer checklist items follow the same semantics as the author
checklist: an
unchecked box is ambiguous, a checked box means the reviewer consciously
assessed that responsibility. See `docs/readme/ready-for-review.md`.
-->
- [ ] 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]
> **Medium Risk**
> Upgrades the `@metamask/transaction-pay-controller` and related
controller dependencies, which could subtly affect transaction/payment
flows even though this PR mostly updates dependency metadata and test
fixtures.
>
> **Overview**
> Updates `@metamask/transaction-pay-controller` from `^20.0.0` to
`^21.0.0`, pulling in newer versions of several MetaMask controller
packages via `yarn.lock`.
>
> Adjusts test fixtures to match the new dependency behavior:
`initial-background-state.json` now seeds `AssetsController.assetsInfo`
with `mUSD` token metadata on multiple chains, and E2E RPC mocking adds
a default mock for `https://testnet-rpc.monad.xyz/`.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
c20bef9. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent d55e006 commit 5011f84
4 files changed
Lines changed: 90 additions & 131 deletions
File tree
- app/util/test
- tests/api-mocking/mock-responses/defaults
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
424 | | - | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
425 | 444 | | |
426 | 445 | | |
427 | 446 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
| 342 | + | |
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
54 | 63 | | |
55 | 64 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7882 | 7882 | | |
7883 | 7883 | | |
7884 | 7884 | | |
7885 | | - | |
7886 | | - | |
7887 | | - | |
| 7885 | + | |
| 7886 | + | |
| 7887 | + | |
7888 | 7888 | | |
7889 | 7889 | | |
7890 | 7890 | | |
7891 | 7891 | | |
7892 | 7892 | | |
7893 | 7893 | | |
7894 | | - | |
| 7894 | + | |
7895 | 7895 | | |
7896 | 7896 | | |
7897 | 7897 | | |
7898 | 7898 | | |
7899 | | - | |
7900 | | - | |
7901 | | - | |
7902 | | - | |
7903 | | - | |
7904 | | - | |
| 7899 | + | |
| 7900 | + | |
| 7901 | + | |
| 7902 | + | |
| 7903 | + | |
| 7904 | + | |
7905 | 7905 | | |
7906 | | - | |
| 7906 | + | |
7907 | 7907 | | |
7908 | 7908 | | |
7909 | 7909 | | |
| |||
7915 | 7915 | | |
7916 | 7916 | | |
7917 | 7917 | | |
7918 | | - | |
| 7918 | + | |
7919 | 7919 | | |
7920 | 7920 | | |
7921 | 7921 | | |
7922 | | - | |
7923 | | - | |
7924 | | - | |
| 7922 | + | |
| 7923 | + | |
| 7924 | + | |
7925 | 7925 | | |
7926 | 7926 | | |
7927 | 7927 | | |
| |||
7938 | 7938 | | |
7939 | 7939 | | |
7940 | 7940 | | |
7941 | | - | |
7942 | | - | |
7943 | | - | |
7944 | | - | |
7945 | | - | |
7946 | | - | |
7947 | | - | |
7948 | | - | |
7949 | | - | |
7950 | | - | |
7951 | | - | |
7952 | | - | |
7953 | | - | |
7954 | | - | |
7955 | | - | |
7956 | | - | |
7957 | | - | |
7958 | | - | |
7959 | | - | |
7960 | | - | |
7961 | | - | |
7962 | | - | |
7963 | | - | |
7964 | | - | |
7965 | | - | |
7966 | | - | |
7967 | | - | |
7968 | | - | |
7969 | | - | |
7970 | | - | |
7971 | | - | |
7972 | | - | |
7973 | | - | |
7974 | | - | |
7975 | | - | |
7976 | | - | |
7977 | | - | |
7978 | | - | |
7979 | | - | |
7980 | | - | |
7981 | | - | |
7982 | | - | |
7983 | | - | |
7984 | | - | |
7985 | | - | |
7986 | | - | |
7987 | | - | |
7988 | | - | |
7989 | | - | |
7990 | | - | |
7991 | | - | |
7992 | | - | |
7993 | | - | |
7994 | | - | |
7995 | | - | |
7996 | | - | |
7997 | | - | |
7998 | | - | |
7999 | | - | |
| 7941 | + | |
| 7942 | + | |
| 7943 | + | |
8000 | 7944 | | |
8001 | 7945 | | |
8002 | | - | |
| 7946 | + | |
8003 | 7947 | | |
8004 | | - | |
| 7948 | + | |
8005 | 7949 | | |
8006 | 7950 | | |
8007 | 7951 | | |
| |||
8027 | 7971 | | |
8028 | 7972 | | |
8029 | 7973 | | |
8030 | | - | |
| 7974 | + | |
8031 | 7975 | | |
8032 | 7976 | | |
8033 | 7977 | | |
| |||
8126 | 8070 | | |
8127 | 8071 | | |
8128 | 8072 | | |
8129 | | - | |
8130 | | - | |
8131 | | - | |
8132 | | - | |
8133 | | - | |
8134 | | - | |
8135 | | - | |
8136 | | - | |
8137 | | - | |
8138 | | - | |
8139 | | - | |
8140 | | - | |
8141 | | - | |
8142 | | - | |
8143 | | - | |
8144 | | - | |
8145 | | - | |
8146 | | - | |
8147 | | - | |
8148 | | - | |
8149 | | - | |
8150 | | - | |
8151 | | - | |
8152 | | - | |
8153 | | - | |
8154 | | - | |
8155 | | - | |
8156 | | - | |
8157 | | - | |
8158 | | - | |
8159 | | - | |
8160 | | - | |
8161 | | - | |
8162 | 8073 | | |
8163 | 8074 | | |
8164 | 8075 | | |
| |||
8192 | 8103 | | |
8193 | 8104 | | |
8194 | 8105 | | |
8195 | | - | |
| 8106 | + | |
8196 | 8107 | | |
8197 | 8108 | | |
8198 | 8109 | | |
| |||
8960 | 8871 | | |
8961 | 8872 | | |
8962 | 8873 | | |
8963 | | - | |
8964 | | - | |
8965 | | - | |
| 8874 | + | |
| 8875 | + | |
| 8876 | + | |
8966 | 8877 | | |
| 8878 | + | |
8967 | 8879 | | |
8968 | 8880 | | |
8969 | 8881 | | |
8970 | 8882 | | |
8971 | 8883 | | |
8972 | 8884 | | |
8973 | | - | |
| 8885 | + | |
8974 | 8886 | | |
8975 | 8887 | | |
8976 | 8888 | | |
| |||
9024 | 8936 | | |
9025 | 8937 | | |
9026 | 8938 | | |
9027 | | - | |
| 8939 | + | |
9028 | 8940 | | |
9029 | 8941 | | |
9030 | 8942 | | |
| |||
9118 | 9030 | | |
9119 | 9031 | | |
9120 | 9032 | | |
9121 | | - | |
| 9033 | + | |
9122 | 9034 | | |
9123 | 9035 | | |
9124 | 9036 | | |
| |||
9533 | 9445 | | |
9534 | 9446 | | |
9535 | 9447 | | |
| 9448 | + | |
| 9449 | + | |
| 9450 | + | |
| 9451 | + | |
| 9452 | + | |
| 9453 | + | |
| 9454 | + | |
| 9455 | + | |
| 9456 | + | |
| 9457 | + | |
| 9458 | + | |
| 9459 | + | |
| 9460 | + | |
| 9461 | + | |
| 9462 | + | |
| 9463 | + | |
| 9464 | + | |
| 9465 | + | |
| 9466 | + | |
9536 | 9467 | | |
9537 | 9468 | | |
9538 | 9469 | | |
| |||
10329 | 10260 | | |
10330 | 10261 | | |
10331 | 10262 | | |
10332 | | - | |
| 10263 | + | |
10333 | 10264 | | |
10334 | 10265 | | |
10335 | 10266 | | |
| |||
10405 | 10336 | | |
10406 | 10337 | | |
10407 | 10338 | | |
10408 | | - | |
10409 | | - | |
10410 | | - | |
| 10339 | + | |
| 10340 | + | |
| 10341 | + | |
10411 | 10342 | | |
10412 | 10343 | | |
10413 | 10344 | | |
10414 | 10345 | | |
10415 | | - | |
10416 | | - | |
| 10346 | + | |
| 10347 | + | |
10417 | 10348 | | |
10418 | | - | |
10419 | | - | |
| 10349 | + | |
| 10350 | + | |
10420 | 10351 | | |
10421 | 10352 | | |
10422 | | - | |
| 10353 | + | |
10423 | 10354 | | |
10424 | | - | |
| 10355 | + | |
10425 | 10356 | | |
10426 | 10357 | | |
10427 | 10358 | | |
| |||
10430 | 10361 | | |
10431 | 10362 | | |
10432 | 10363 | | |
10433 | | - | |
| 10364 | + | |
10434 | 10365 | | |
10435 | 10366 | | |
10436 | 10367 | | |
| |||
35812 | 35743 | | |
35813 | 35744 | | |
35814 | 35745 | | |
35815 | | - | |
| 35746 | + | |
35816 | 35747 | | |
35817 | 35748 | | |
35818 | 35749 | | |
| |||
0 commit comments