Commit e5e7141
committed
release(runway): cherry-pick fix: incorrect USDC address for SEI cp-13.7.0 (#37221)
<!--
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**
This PR update the USDC address for SEI from (USDCN -
0x3894085Ef7Ff0f0aeDf52E2A2704928d1Ec074F1) to (USDC
0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392)
<!--
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/37221?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: Fixed the incorrect `USDC` address for SEI
## **Related issues**
Fixes: https://consensyssoftware.atlassian.net/browse/BENE-245
## **Manual testing steps**
1. Open the SWAP screen
2. Select the SEI network
3. we should see on 1 USDC and 1 USDCN token from the list
## **Screenshots/Recordings**
<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->
### **Before**
<img width="200" alt="image"
src="https://github.com/user-attachments/assets/b1e08665-ef34-4e3c-8b30-89a7a4175c79"
/>
### **After**
<img width="200" alt="image"
src="https://github.com/user-attachments/assets/bd9581f7-8a00-41de-9cc3-cb939109b88d"
/>
## **Pre-merge author checklist**
- [x] 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).
- [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-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]
> Replaces the SEI USDC token address across bridge, swaps, UI
stablecoin maps, fixtures, and E2E onboarding data; removes old USDCN
reference.
>
> - **SEI USDC address update**
> - Replace `0x3894085Ef7Ff0f0aeDf52E2A2704928d1Ec074F1` with
`0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392`.
> - **Constants**:
> - `shared/constants/bridge.ts`: Update
`BRIDGE_CHAINID_COMMON_TOKEN_PAIR` for `CHAIN_IDS.SEI` to new USDC
address.
> - `shared/constants/swaps.ts`: Update
`StablecoinsByChainId[CHAIN_IDS.SEI]` to new USDC address.
> - `ui/pages/bridge/utils/stablecoins.ts`: Update
`STABLECOINS_BY_CHAIN_ID[CHAIN_IDS.SEI]` to new USDC address.
> - **Fixtures**:
> - `app/scripts/fixtures/with-erc20-tokens.js`: Replace SEI token entry
from `USDCN` to `USDC` with new address.
> - `test/e2e/fixtures/onboarding-fixture.json`: Update `stablecoins`
list for chain `1329` to new USDC address.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
6246089. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 65c849e commit e5e7141
File tree
5 files changed
+6
-6
lines changed- app/scripts/fixtures
- test/e2e/fixtures
- ui/pages/bridge/utils
5 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | | - | |
510 | | - | |
| 509 | + | |
| 510 | + | |
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
| 527 | + | |
528 | 528 | | |
529 | 529 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1731 | 1731 | | |
1732 | 1732 | | |
1733 | 1733 | | |
1734 | | - | |
| 1734 | + | |
1735 | 1735 | | |
1736 | 1736 | | |
1737 | 1737 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
0 commit comments