-
Notifications
You must be signed in to change notification settings - Fork 5k
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: migrate Base network RPC from https://mainnet.base.org to base-… #28895
Conversation
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. |
a87285b
to
0ee11f7
Compare
…mainnet.infura.io
0ee11f7
to
92a09ff
Compare
Builds ready [d001d7c]
Page Load Metrics (1763 ± 62 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [51abcd1]
Page Load Metrics (1863 ± 55 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [cde651e]
Page Load Metrics (2202 ± 411 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [a936f0f]
Page Load Metrics (1857 ± 62 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I believe I understand why you encountered the strange local error. It's likely due to the use of the showBaseNetworkToast && ... expression, which doesn't always guarantee a return value. To improve the code's clarity and ensure consistent returns, I’ve switched to using a ternary expression instead. |
Description
This PR introduces a migration to replace the Base network RPC URL (
https://mainnet.base.org
) with the new Infura RPC URL (https://base-mainnet.infura.io/v3/{infuraProjectId}
) in the MetaMask state.Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
migration.mov
Pre-merge author checklist
Pre-merge reviewer checklist