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

chore(deps): Bump ens-controller to ^10.0.1 #24207

Merged
merged 22 commits into from
May 14, 2024
Merged

Conversation

mcmire
Copy link
Contributor

@mcmire mcmire commented Apr 23, 2024

Description

The primary purpose for upgrading this package is to ensure that we are using a version which relies on @metamask/base-controller v4, which protects state from being mutated accidentally and includes more type safety for messengers, among other improvements.

However, this upgrade also includes theoretical support for Sepolia and Holesky ENS registries. I have not gotten ENS lookups to work on anything but Mainnet (perhaps we are explicitly targeting Mainnet somehow), but support is there should we need it.

See changelog:
https://github.com/MetaMask/core/blob/%40metamask/ens-controller%4010.0.1/packages/ens-controller/CHANGELOG.md

Open in GitHub Codespaces

Related issues

Progresses #24140

Manual testing steps

There should be no functional changes in this PR, but we may want to double-check that ENS lookups still work (e.g. add an ENS name to address book or try to send a transaction to an ENS name).

Screenshots/Recordings

(None)

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've completed the PR template to the best of my ability
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). 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.

The primary purpose for upgrading this package is to ensure that we are
using a version which relies on `@metamask/base-controller` v4, which
protects state from being mutated accidentally and includes more type
safety for messengers, among other improvements.

However, this upgrade also includes theoretical support for Sepolia and
Holesky ENS registries. I have not gotten ENS lookups to work on
anything but Mainnet (perhaps we are explicitly targeting Mainnet
somehow), but support is there should we need it.

See changelog:
https://github.com/MetaMask/core/blob/%40metamask/ens-controller%4010.0.1/packages/ens-controller/CHANGELOG.md
Copy link
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.

@mcmire mcmire changed the title Bump ens-controller to ^10.0.1 chore(deps): Bump ens-controller to ^10.0.1 Apr 23, 2024
Copy link

socket-security bot commented Apr 23, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@metamask/ens-controller@10.0.1 None 0 123 kB metamaskbot

🚮 Removed packages: npm/@metamask/ens-controller@9.0.0

View full report↗︎

@mcmire
Copy link
Contributor Author

mcmire commented Apr 23, 2024

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

Policies updated

@mcmire mcmire marked this pull request as ready for review April 23, 2024 21:32
@mcmire mcmire requested review from a team as code owners April 23, 2024 21:32
@metamaskbot
Copy link
Collaborator

Builds ready [d28856f]
Page Load Metrics (1005 ± 553 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint57152952412
domContentLoaded8501994
load45254110051152553
domInteractive8501994
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -3.85 KiB (-0.11%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

legobeat
legobeat previously approved these changes Apr 23, 2024
Copy link
Contributor

@legobeat legobeat left a comment

Choose a reason for hiding this comment

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

LGTM!

@metamaskbot
Copy link
Collaborator

Builds ready [d5da667]
Page Load Metrics (552 ± 450 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint682031013517
domContentLoaded97927178
load552467552937450
domInteractive97927178
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -3.85 KiB (-0.11%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Copy link

codecov bot commented Apr 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.36%. Comparing base (d27a233) to head (2f12603).
Report is 26 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #24207      +/-   ##
===========================================
- Coverage    67.37%   67.36%   -0.01%     
===========================================
  Files         1278     1286       +8     
  Lines        49881    50101     +220     
  Branches     12944    12999      +55     
===========================================
+ Hits         33605    33749     +144     
- Misses       16276    16352      +76     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

mikesposito
mikesposito previously approved these changes Apr 24, 2024
Copy link
Member

@mikesposito mikesposito left a comment

Choose a reason for hiding this comment

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

Looks good!

@mcmire
Copy link
Contributor Author

mcmire commented Apr 24, 2024

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

No policy changes

@mcmire mcmire dismissed stale reviews from mikesposito and legobeat via 66578ed April 24, 2024 19:13
@mcmire
Copy link
Contributor Author

mcmire commented Apr 24, 2024

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

Policies updated

@metamaskbot
Copy link
Collaborator

Builds ready [7b5aedd]
Page Load Metrics (1121 ± 623 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint7114299199
domContentLoaded11502294
load60353411211297623
domInteractive11502294
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -3.85 KiB (-0.11%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Copy link

socket-security bot commented May 2, 2024

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

@metamaskbot
Copy link
Collaborator

Builds ready [01a22ab]
Page Load Metrics (1823 ± 694 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint691921093416
domContentLoaded9341684
load55336118231445694
domInteractive9341684
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -3.85 KiB (-0.12%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@mikesposito mikesposito merged commit 33ca43f into develop May 14, 2024
71 of 72 checks passed
@mikesposito mikesposito deleted the bump-ens-controller branch May 14, 2024 09:43
@github-actions github-actions bot locked and limited conversation to collaborators May 14, 2024
@gauthierpetetin gauthierpetetin added the release-12.0.0 Issue or pull request that will be included in release 12.0.0 label Jun 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-12.0.0 Issue or pull request that will be included in release 12.0.0 team-wallet-framework
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants