-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
feat: Add Base to Smart Transaction supported chains #30678
Open
httpJunkie
wants to merge
17
commits into
main
Choose a base branch
from
feat/add-base-to-stx-supported-chains
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+21
−14
Conversation
This file contains 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
… Dev environments.
…r than listing each network we support in the description. - add `stxOptInSupportedNetworksDescription` and remove `stxOptInEthereumBnbDescription` from locales (`en` & `en_GB`) - update references to this description in `ui/helpers/constants/settings.js` - update references to this description in `ui/pages/settings/advanced-tab/advanced-tab.component.js`
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. |
I have read the CLA Document and I hereby sign the CLA |
Builds ready [5008e47]
Page Load Metrics (1723 ± 79 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [4508701]
Page Load Metrics (1772 ± 65 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [b1321e7]
Page Load Metrics (1701 ± 88 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Updated dependencies detected. Learn more about Socket for GitHub ↗︎
|
Builds ready [e8eb886]
Page Load Metrics (1719 ± 44 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [3708d6a]
Page Load Metrics (1823 ± 100 ms)
|
dan437
approved these changes
Mar 7, 2025
Builds ready [f3305ff]
Page Load Metrics (1882 ± 82 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
INVALID-PR-TEMPLATE
PR's body doesn't match template
release-12.14.0
Issue or pull request that will be included in release 12.14.0
team-transactions
Transactions team
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
What is the reason for the change?
Smart Transactions are currently supported on Ethereum Mainnet and BNB Smart Chain, but not on Base. As part of our effort to expand Smart Transactions functionality to more networks, Base needs to be added to the list of supported chains.
What is the improvement/solution?
This PR adds Base to the list of supported chains for Smart Transactions in the extension by:
CHAIN_IDS.BASE
toALLOWED_SMART_TRANSACTIONS_CHAIN_IDS_DEVELOPMENT
CHAIN_IDS.BASE
toALLOWED_SMART_TRANSACTIONS_CHAIN_IDS_PRODUCTION
These changes allow the extension to recognize Base as a valid network for Smart Transactions, enabling users to benefit from Smart Transactions functionality when interacting with the Base network.
Related issues
Fixes: TXL-687
Manual testing steps
Since Base isn't supported yet and this PR simply adds Base to list of supported chains, we are not testing Base/STX functionality yet, but ensuring that existing functionality remains intact.
This PR updates the version of
@metamask/smart-transactions-controller
, confirm that it doesn't break anything. Manual testing included:Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist