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

fix: upgrade from ethereumjs-util to @ethereumjs/util #28169

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

legobeat
Copy link
Contributor

@legobeat legobeat commented Oct 30, 2024

Description

  • chore: remove redundant resolutions entries
  • fix: use BN from bn.js instead of ethereumjs-util
    • upgrades direct dependency from v4 to v5
  • deps: upgrade from ethereumjs-util to @ethereumjs/util
    • fix BN usage

Open in GitHub Codespaces

Related issues

Blocked by

Manual testing steps

Screenshots/Recordings

Before

After

Pre-merge author checklist

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.

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.

Copy link

socket-security bot commented Oct 30, 2024

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: npm/[email protected]

View full report↗︎

@legobeat legobeat added dependencies Pull requests that update a dependency file team-security labels Oct 30, 2024
@legobeat legobeat force-pushed the deps-ethereumjs-util branch 2 times, most recently from 5e3b47f to 95ba6ce Compare October 30, 2024 02:58
github-merge-queue bot pushed a commit that referenced this pull request Nov 26, 2024
## **Description**
- remove redundant resolutions entries
  - `ethereumjs-util` v5 is no longer present
- fix: use `BN` from bn.js (v5) instead of `ethereumjs-util` (deprecated
version)

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/28146?quickstart=1)

## **Related issues**

#### Blocking
- #28169
  - #28171
  - #28170

## **Manual testing steps**

## **Screenshots/Recordings**

### **Before**

### **After**

## **Pre-merge author checklist**

- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
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.
@legobeat legobeat force-pushed the deps-ethereumjs-util branch 5 times, most recently from 980deca to 771ee54 Compare December 7, 2024 04:18
@legobeat legobeat force-pushed the deps-ethereumjs-util branch 2 times, most recently from f7e1ff7 to 46a7a84 Compare December 23, 2024 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file external-contributor team-security
Projects
Status: Needs dev review
Development

Successfully merging this pull request may close these issues.

2 participants