Skip to content

Drop secp256k1 overlay port now that vcpkg's registry port has the recovery feature - #160

Open
TuxedoFish wants to merge 1 commit into
mainfrom
fix/secp256k1-drop-overlay-port
Open

Drop secp256k1 overlay port now that vcpkg's registry port has the recovery feature#160
TuxedoFish wants to merge 1 commit into
mainfrom
fix/secp256k1-drop-overlay-port

Conversation

@TuxedoFish

Copy link
Copy Markdown
Owner

Summary

  • microsoft/vcpkg#53838 merged, adding an opt-in recovery feature to the registry secp256k1 port - the SECP256K1_ENABLE_MODULE_RECOVERY flag we needed for recoverable ECDSA signatures in our EIP-712 signing path and previously had to work around with a local overlay port.
  • Removes vcpkg-overlay-ports/ and vcpkg-configuration.json's overlay-ports entry.
  • Changes vcpkg.json's secp256k1 dependency to {"name": "secp256k1", "features": ["recovery"]}.
  • No CMakeLists.txt/README changes needed - neither referenced the overlay port explicitly.

Fixes #120

Test plan

  • Verified against a fresh vcpkg clone (mirrors CI, which also clones vcpkg fresh every run) - secp256k1_recovery.h installs from the registry port, confirming the feature resolves without the overlay.
  • ctest (29/29 passing, including signing_test/signing_helpers_test which exercise recoverable ECDSA)

🤖 Generated with Claude Code

https://claude.ai/code/session_018Le73N2EZjGLsCqmCScAse

…covery feature

microsoft/vcpkg#53838 merged and added an opt-in "recovery" feature to the
registry secp256k1 port (SECP256K1_ENABLE_MODULE_RECOVERY), which we needed
for the recoverable ECDSA signatures our EIP-712 signing path relies on and
previously had to work around with a local overlay port.

Removes vcpkg-overlay-ports/ and vcpkg-configuration.json's overlay-ports
entry, and changes vcpkg.json's secp256k1 dependency to request the
"recovery" feature from the registry port directly.

Fixes #120

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Le73N2EZjGLsCqmCScAse
@codecov

codecov Bot commented Sep 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.09%. Comparing base (b8a798c) to head (e0a1d09).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #160   +/-   ##
=======================================
  Coverage   70.09%   70.09%           
=======================================
  Files          54       54           
  Lines        8840     8840           
  Branches      530      530           
=======================================
  Hits         6196     6196           
  Misses       2639     2639           
  Partials        5        5           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions github-actions Bot added the ready for review CI passed; ready to be reviewed label Sep 10, 2026
@TuxedoFish TuxedoFish mentioned this pull request Sep 10, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for review CI passed; ready to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop secp256k1 overlay port once microsoft/vcpkg#53838 merges

1 participant