feat: add bridge/swap feature to MegaETH#39927
Merged
gabrieledm merged 20 commits intomainfrom Feb 11, 2026
Merged
Conversation
Contributor
|
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. |
|
No dependency changes detected. Learn more about Socket for GitHub. 👍 No dependency changes detected in pull request |
Contributor
✨ Files requiring CODEOWNER review ✨🔄 @MetaMask/swaps-engineers (2 files, +9 -1)
|
…ot necessary anymore
micaelae
previously approved these changes
Feb 10, 2026
Signed-off-by: gabrieledm <gabriele.delmonte@proton.me>
Contributor
Builds ready [317e85f]
UI Startup Metrics (1445 ± 104 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Signed-off-by: gabrieledm <gabriele.delmonte@proton.me>
Contributor
Builds ready [a0607ff]
UI Startup Metrics (1321 ± 98 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Contributor
Builds ready [c65fae5]
UI Startup Metrics (1395 ± 87 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Contributor
Builds ready [07ef580]
UI Startup Metrics (1373 ± 109 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
SteP-n-s
approved these changes
Feb 11, 2026
Contributor
Builds ready [dfb4099]
UI Startup Metrics (1381 ± 101 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
bridge-controllerreleased in Release/788.0.0 core#7837.Changelog
CHANGELOG entry: Adds Bridge and Swap feature to MegaETH
Related issues
Fixes:
Manual testing steps
SwapbuttonAll networksMegaETHnetworkScreenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Expands Bridge/Swap functionality to a new chain and introduces new contract/token address constants, which could impact routing/quoting if misconfigured; changes are largely additive and covered by a selector test update.
Overview
Adds MegaETH as a supported network for Bridge and Swaps by wiring
CHAIN_IDS.MEGAETH_MAINNETinto the allowed chain lists and display-name maps, and defining MegaETH-specific default token/contract/wrapped-token addresses plus a USDT0 common pair.Updates slippage/stablecoin detection to recognize MegaETH’s USDT0 asset, adjusts bridge selector tests to include the extra destination chain, and bumps
@metamask/bridge-controllerto^65.3.0(with lockfile updates).Written by Cursor Bugbot for commit dfb4099. This will update automatically on new commits. Configure here.