Skip to content
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: adds linea mainnet buyable support in anticipation of July 11 launch #19854

Merged
merged 8 commits into from
Jul 7, 2023

Conversation

georgeweiler
Copy link
Contributor

@georgeweiler georgeweiler commented Jun 30, 2023

Explanation

Screenshots/Screencaps

Before

After

Manual Testing Steps

Pre-merge author checklist

  • I've clearly explained:
    • What problem this PR is solving
    • How this problem was solved
    • How reviewers can test my changes
  • Sufficient automated test coverage has been added

Pre-merge reviewer checklist

  • Manual testing (e.g. pull and build branch, run in browser, test code being changed)
  • PR is linked to the appropriate GitHub issue
  • IF this PR fixes a bug in the release milestone, add this PR to the release milestone

If further QA is required (e.g. new feature, complex testing steps, large refactor), add the Extension QA Board label.

In this case, a QA Engineer approval will be be required.

@georgeweiler georgeweiler requested a review from a team as a code owner June 30, 2023 16:42
@github-actions
Copy link
Contributor

github-actions bot commented Jun 30, 2023

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.

@georgeweiler
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@codecov
Copy link

codecov bot commented Jul 1, 2023

Codecov Report

Merging #19854 (f5c6ec9) into develop (945508c) will decrease coverage by 0.02%.
The diff coverage is n/a.

❗ Current head f5c6ec9 differs from pull request most recent head 60dc6a9. Consider uploading reports for the commit 60dc6a9 to get more accurate results

@@             Coverage Diff             @@
##           develop   #19854      +/-   ##
===========================================
- Coverage    69.70%   69.68%   -0.02%     
===========================================
  Files          982      982              
  Lines        37054    37067      +13     
  Branches      9937     9941       +4     
===========================================
+ Hits         25827    25829       +2     
- Misses       11227    11238      +11     
Impacted Files Coverage Δ
shared/constants/network.ts 100.00% <ø> (ø)

... and 16 files with indirect coverage changes

@metamaskbot
Copy link
Collaborator

Builds ready [f5c6ec9]
Page Load Metrics (1636 ± 56 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint109171131168
domContentLoaded14741847163411455
load14751871163611756
domInteractive14741847163411455
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 0 bytes
  • ui: 0 bytes
  • common: 57 bytes

@danjm danjm added release-blocker This bug is blocking the next release release-10.34.0 Issue or pull request that will be included in release 10.34.0 labels Jul 5, 2023
@@ -612,6 +611,10 @@ export const BUYABLE_CHAINS_MAP: {
nativeCurrency: CURRENCY_SYMBOLS.PALM,
network: 'palm',
},
[CHAIN_IDS.LINEA_MAINNET]: {
nativeCurrency: CURRENCY_SYMBOLS.ETH,
Copy link
Contributor

@legobeat legobeat Jul 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the chain have its own symbol to reduce risk of confusion and misdirection?

#19911 addresses this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was expecting as an L2 that we use ETH just like Optimism does, can we confirm this with linea team?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correspondingly: #19912

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't that make the native ticker be OP? 🤔 this is currently ETH even in their block tracker since OP is an ERC-20
image

@metamaskbot
Copy link
Collaborator

Builds ready [3c60dc6]
Page Load Metrics (1564 ± 38 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint108147124115
domContentLoaded1389170615648038
load1389170615648038
domInteractive1389170615648038
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 0 bytes
  • ui: 0 bytes
  • common: 57 bytes

@danjm danjm merged commit 90bfbf2 into develop Jul 7, 2023
9 checks passed
@danjm danjm deleted the feature/onramp-linea-support branch July 7, 2023 09:29
@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 2023
@metamaskbot metamaskbot added the release-10.35.0 Issue or pull request that will be included in release 10.35.0 label Jul 7, 2023
@PeterYinusa PeterYinusa removed the release-10.35.0 Issue or pull request that will be included in release 10.35.0 label Jul 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-10.34.0 Issue or pull request that will be included in release 10.34.0 release-blocker This bug is blocking the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants