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: Resolve secp256k1 package #11929

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

NicholasEllul
Copy link
Contributor

Description

This pull request resolves the secp256k1 to the latest version as a precaution.

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

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.

@NicholasEllul NicholasEllul requested review from a team as code owners October 21, 2024 21:43
@NicholasEllul NicholasEllul added the Run Smoke E2E Triggers smoke e2e on Bitrise label Oct 21, 2024
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
Contributor

github-actions bot commented Oct 21, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 11fed44
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/36d411ed-5704-4937-b1d1-3f7c13b3559f

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

Tip

  • Check the documentation if you have any doubts on how to understand the failure on bitrise

Copy link

socket-security bot commented Oct 21, 2024

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

Package New capabilities Transitives Size Publisher
npm/[email protected] None 0 380 kB nicknaso

🚮 Removed packages: npm/[email protected]

View full report↗︎

@legobeat legobeat changed the title Resolve secp256k1 package fix: Resolve secp256k1 package Oct 21, 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.

@NicholasEllul NicholasEllul added team-mobile-platform Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 21, 2024
Copy link
Contributor

github-actions bot commented Oct 21, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 8aba730
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/72f80d75-f324-445e-8f69-0094872e4bb8

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

tommasini
tommasini previously approved these changes Oct 21, 2024
@@ -129,7 +129,9 @@
"react-native/ws": "^6.2.3",
"socket.io-client/engine.io-client/ws": "^8.17.1",
"micromatch": "4.0.8",
"send": "0.19.0"
"send": "0.19.0",
"ethereumjs-util/**/secp256k1": "3.8.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

When looking closer, this is only here because of a pinning to an ancient [email protected]. I propose we start with just lifting that pin and then look at upgrading.

Copy link
Contributor

@legobeat legobeat Oct 21, 2024

Choose a reason for hiding this comment

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

I tried just bumping to ethereumjs-util@^6.2.0 here but that uncovered a type error in the build about what looks like existing mismatching major versions of bn.js.
Follow-up which removes all usage of secp256k1 v3.x:

legobeat
legobeat previously approved these changes Oct 21, 2024
This reverts commit bf8b76b.

The bump unearths mismatching bn.js versions as type error in build
@legobeat legobeat mentioned this pull request Oct 21, 2024
7 tasks
Copy link

sonarcloud bot commented Oct 21, 2024

@legobeat legobeat added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 21, 2024
Copy link
Contributor

github-actions bot commented Oct 21, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: da4d7f4
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/82f52108-efc2-4aad-adc5-a3b35574b7b9

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

@sahar-fehri sahar-fehri added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Run Smoke E2E Triggers smoke e2e on Bitrise team-mobile-platform
Projects
Status: Review finalised - Ready to be merged
Development

Successfully merging this pull request may close these issues.

5 participants