Skip to content

deps: ethjs@^0.4.0 -> @metamask/ethjs@^0.5.1#21884

Closed
legobeat wants to merge 4 commits intoMetaMask:developfrom
legobeat:deps-ethjs
Closed

deps: ethjs@^0.4.0 -> @metamask/ethjs@^0.5.1#21884
legobeat wants to merge 4 commits intoMetaMask:developfrom
legobeat:deps-ethjs

Conversation

@legobeat
Copy link
Copy Markdown
Contributor

@legobeat legobeat commented Nov 20, 2023

Description

Move from ethjs to @metamask/ethjs. Gradual upgrade preparing for upcoming fixes. This (together with resulting transitive dependencies) should be a drop-in replacement with no user-facing changes.

  • Release notes

  • Update from ethjs@0.4.0 to @metamask/ethjs@^0.5.1

  • Update @metamask/ethjs-query from ^0.5.0 to ^0.5.3

  • Update from ethjs-contract@^0.2.3 to @metamask/ethjs-contract@^0.3.4

Related issues

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've clearly explained what problem this PR is solving and how it is solved.
  • I've linked related issues
  • I've included manual testing steps
  • I've included screenshots/recordings if applicable
  • 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.
  • I’ve properly set the pull request status:
    • In case it's not yet "ready for review", I've set it to "draft".
    • In case it's "ready for review", I've changed it from "draft" to "non-draft".

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.

@github-actions
Copy link
Copy Markdown
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.

@legobeat legobeat added team-application-security Application security team dependencies Pull requests that update a dependency file labels Nov 20, 2023
@metamaskbot metamaskbot added the INVALID-PR-TEMPLATE PR's body doesn't match template label Nov 20, 2023
@legobeat legobeat marked this pull request as ready for review November 20, 2023 03:01
@legobeat legobeat requested review from a team as code owners November 20, 2023 03:01
@legobeat legobeat requested review from NEllusion and mcmire November 20, 2023 18:18
@legobeat legobeat marked this pull request as draft November 22, 2023 07:19
This was referenced Nov 27, 2023
@legobeat legobeat changed the title deps: ethjs@^0.4.0 -> @metamask/ethjs@^0.5.0 deps: ethjs@^0.4.0 -> @metamask/ethjs@^0.5.1 Dec 4, 2023
@legobeat legobeat force-pushed the deps-ethjs branch 3 times, most recently from 01b0290 to 31ef161 Compare December 4, 2023 22:15
@legobeat legobeat marked this pull request as ready for review December 4, 2023 22:17
Copy link
Copy Markdown
Contributor

@NEllusion NEllusion left a comment

Choose a reason for hiding this comment

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

Changes LGTM. Tests are passing locally as well, and running MM (without lavamoat) works fine. Was unable to get it running with lavamoat for some reason, but looks unrelated to this PR as it occurs for me on develop as well.

Another review will be required after the rebase

NEllusion
NEllusion previously approved these changes Dec 7, 2023
Copy link
Copy Markdown
Contributor

@NEllusion NEllusion left a comment

Choose a reason for hiding this comment

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

LGTM once flakey tests pass

@legobeat legobeat force-pushed the deps-ethjs branch 3 times, most recently from c13ded8 to 21b58b0 Compare December 25, 2023 23:02
@legobeat legobeat force-pushed the deps-ethjs branch 2 times, most recently from a743b43 to 96990b4 Compare January 11, 2024 02:44
@legobeat legobeat force-pushed the deps-ethjs branch 2 times, most recently from f3517a4 to 81e03fb Compare January 15, 2024 10:35
@legobeat legobeat requested review from a team and Gudahtt January 15, 2024 10:43
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1e5e386) 68.15% compared to head (32e702f) 68.15%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #21884      +/-   ##
===========================================
- Coverage    68.15%   68.15%   -0.00%     
===========================================
  Files         1083     1083              
  Lines        42491    42491              
  Branches     11333    11333              
===========================================
- Hits         28959    28957       -2     
- Misses       13532    13534       +2     

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

@legobeat legobeat force-pushed the deps-ethjs branch 8 times, most recently from fadb8e5 to f0b3e3c Compare January 23, 2024 10:08
Copy link
Copy Markdown
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM!

@legobeat legobeat requested a review from a team January 23, 2024 21:30
HowardBraham pushed a commit that referenced this pull request Jan 23, 2024
@legobeat
Copy link
Copy Markdown
Contributor Author

@legobeat legobeat closed this Jan 23, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jan 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file INVALID-PR-TEMPLATE PR's body doesn't match template team-application-security Application security team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants