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: Remove eth-sign #11246

Merged
merged 10 commits into from
Sep 18, 2024
Merged

chore: Remove eth-sign #11246

merged 10 commits into from
Sep 18, 2024

Conversation

OGPoyraz
Copy link
Member

@OGPoyraz OGPoyraz commented Sep 17, 2024

Description

We recently removed eth_sign operations from extension: MetaMask/metamask-extension#24756
This PR aims to remove eth_sign and all related components from mobile. Also updates @metamask/signature-controller@17.0.0.

Notes

  • Removes keyring-controller patch (patch branch) because it's already addressed in @metamask/keyring-controller@16.1.0 here .

Related issues

Fixes: N/A

Manual testing steps

  1. Go to the [e2e test dapp] in-app browser (https://metamask.github.io/test-dapp/)
  2. Connect the wallet
  3. Scroll down to the Eth Sign card (https://metamask.github.io/test-dapp/#ethSign)
  4. Click Sign
  5. You should see Error: The method "eth_sign" does not exist / is not available.

Screenshots/Recordings

Before

N/A

After

N/A

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 github-actions bot added the team-confirmations Push issues to confirmations team label Sep 17, 2024
Copy link

socket-security bot commented Sep 17, 2024

@OGPoyraz OGPoyraz added the needs-qa Any New Features that needs a full manual QA prior to being added to a release. label Sep 17, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.57%. Comparing base (7475ab4) to head (f6a39d2).
Report is 30 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11246      +/-   ##
==========================================
+ Coverage   55.24%   55.57%   +0.32%     
==========================================
  Files        1558     1570      +12     
  Lines       37153    37367     +214     
  Branches     4406     4456      +50     
==========================================
+ Hits        20527    20765     +238     
+ Misses      16155    16111      -44     
- Partials      471      491      +20     

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

@OGPoyraz OGPoyraz marked this pull request as ready for review September 17, 2024 10:15
@OGPoyraz OGPoyraz requested review from a team as code owners September 17, 2024 10:15
@sleepytanya sleepytanya added the QA Passed A successful QA run through has been done label Sep 17, 2024
@sleepytanya
Copy link
Contributor

Bitrise builds https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/cb2f28e4-0ade-47b3-9cff-f9387b3f564d?tab=artifacts

Signatures work as expected (signatures regression passed).

Screenshot 2024-09-17 at 10 50 04

iOS:

ios.mov

Android:

android.mp4

@OGPoyraz OGPoyraz removed the needs-qa Any New Features that needs a full manual QA prior to being added to a release. label Sep 18, 2024
Copy link

Copy link
Contributor

@NicolasMassart NicolasMassart left a comment

Choose a reason for hiding this comment

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

You gave my ethsign friction code a quick death, it had no time to suffer, thank you!

@OGPoyraz OGPoyraz added this pull request to the merge queue Sep 18, 2024
Merged via the queue into main with commit 9121a8b Sep 18, 2024
36 checks passed
@OGPoyraz OGPoyraz deleted the chore/remove-eth-sign branch September 18, 2024 12:39
@github-actions github-actions bot locked and limited conversation to collaborators Sep 18, 2024
@metamaskbot metamaskbot added the release-7.32.0 Issue or pull request that will be included in release 7.32.0 label Sep 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
QA Passed A successful QA run through has been done release-7.32.0 Issue or pull request that will be included in release 7.32.0 team-confirmations Push issues to confirmations team
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants