Skip to content

Conversation

@legobeat
Copy link
Contributor

@legobeat legobeat commented Oct 23, 2024

Description

  • Unpin and dedupe ethereumjs-util and ethereumjs-abi while staying on legacy v6

  • Replace import { BN } from 'ethereumjs-util' with importing BN explicitly from either bn.js@4 or bn.js@5

    • Mixing the two is not safe and can cause breakage.
    • We don't get complete and correct typings with importing the old re-export
    • This adds both v4 and v5 as explicit dependencies - ideally v4 will be removed as transition to v5 concludes
    • Add EIP-1191 address checksum algorithm support for toChecksumAddress()
    • Unblock relying on the ancient and deprecated [email protected]
  • ethereumjs-util changelog

  • [email protected]

Related issues

Blocking

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.

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

@legobeat legobeat added dependencies Pull requests that update a dependency file team-application-security Application security team Run Smoke E2E and removed team-lavamoat labels Oct 23, 2024
@github-actions

This comment was marked as outdated.

@socket-security
Copy link

socket-security bot commented Oct 23, 2024

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

Package New capabilities Transitives Size Publisher
npm/@lavamoat/[email protected]0.2.1 Transitive: environment, filesystem +6 2.56 MB
npm/@types/[email protected] None 0 0 B
npm/@types/[email protected] None 0 0 B
npm/[email protected] None 0 0 B
npm/[email protected] None 0 0 B
npm/[email protected]0.6.8 None +2 214 kB holgerd77

🚮 Removed packages: npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

@github-actions

This comment was marked as outdated.

@legobeat legobeat marked this pull request as ready for review October 23, 2024 10:41
@legobeat legobeat requested a review from a team as a code owner October 23, 2024 10:41
@legobeat legobeat requested a review from a team October 23, 2024 10:41
@legobeat legobeat requested a review from a team as a code owner October 23, 2024 10:41
@github-actions
Copy link
Contributor

github-actions bot commented Oct 23, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: b708bac
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/619aa4be-9711-4726-9e62-08968d39e035

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@legobeat legobeat marked this pull request as draft October 23, 2024 10:52
@legobeat legobeat force-pushed the deps-ethereumjs-6 branch 5 times, most recently from 6256e6b to 33737d5 Compare October 23, 2024 13:27
@github-actions

This comment was marked as outdated.

@metamaskbot

This comment was marked as outdated.

@github-actions
Copy link
Contributor

https://bitrise.io/ Bitrise

🔄🔄🔄 pr_smoke_e2e_pipeline started on Bitrise...🔄🔄🔄

Commit hash: 9f3f322
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/3bb3b0f3-47c9-4fd6-8408-704568d69485

Note

  • This comment will auto-update when build completes
  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@metamaskbot
Copy link
Collaborator

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 9f3f322
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/3bb3b0f3-47c9-4fd6-8408-704568d69485

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Copy link
Member

@wachunei wachunei left a comment

Choose a reason for hiding this comment

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

Ramp changes LGTM.

Copy link
Contributor

@nickewansmith nickewansmith left a comment

Choose a reason for hiding this comment

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

Stake changes lgtm

@NicolasMassart NicolasMassart self-requested a review March 13, 2025 10:12
Copy link
Contributor

@salimtb salimtb left a comment

Choose a reason for hiding this comment

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

Assets changes LGTM

@sonarqubecloud
Copy link

Copy link
Member

@OGPoyraz OGPoyraz left a comment

Choose a reason for hiding this comment

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

Confirmation changes LGTM

@NicolasMassart NicolasMassart added this pull request to the merge queue Mar 13, 2025
@github-project-automation github-project-automation bot moved this from Needs dev review to Review finalised - Ready to be merged in PR review queue Mar 13, 2025
Merged via the queue into main with commit 1fe6b9a Mar 13, 2025
39 checks passed
@NicolasMassart NicolasMassart deleted the deps-ethereumjs-6 branch March 13, 2025 11:24
@github-project-automation github-project-automation bot moved this from Review finalised - Ready to be merged to Merged, Closed or Archived in PR review queue Mar 13, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Mar 13, 2025
@github-actions github-actions bot removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Mar 13, 2025
@metamaskbot metamaskbot added the release-7.43.0 Issue or pull request that will be included in release 7.43.0 label Mar 13, 2025
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 release-7.43.0 Issue or pull request that will be included in release 7.43.0 team-application-security Application security team team-mobile-platform Mobile Platform team team-ramp issues related to Ramp features

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.