[WIP] Update for Micropython v1.25#9
[WIP] Update for Micropython v1.25#9miketlk wants to merge 3 commits intodiybitcoinhardware:secp-zkpfrom
Conversation
|
I'm on a parallel track to get to MicroPython 1.25.x compatibility. I think it would be a little simpler (well, at least more convenient for me!) to tackle this in two PRs: One just for the MicroPython changes but pinned to the same |
|
@kdmukai , thank you for the suggestion. I tried to avoid redundant work as either version of |
Understood. I'll be counting on you to sort through this then! I'm currently trying to remember how to debug this stuff to get |
|
cc @alvroble. The work Mike is doing here to get our secp256k1 up to date with a more recent version (of the |
|
Thanks @kdmukai and @miketlk, good to know! This is far ahead of my rusty C skills, but I’ll definitely keep an eye on this PR. Right now, the main issue when upgrading |
|
fyi @miketlk I have the pinned version of I build everything in a Docker container defined here: |
🚧 Work in Progress – Early Draft
This pull request is opened early to:
💡 Note: This PR is not ready for review or merging. Some parts may be incomplete, untested, or non-buildable at this stage. Feel free to comment on design decisions, request clarifications, or suggest alternatives.
Summary
This PR updates the
secp256k1user C module to ensure compatibility with MicroPython v1.25. It addresses breaking changes introduced in the MicroPython API and refactors the module structure to align with the latest user C module guidelines.Changes
README.mdwith v1.25-specific build instructionsTesting
secp256k1functions (verify,sign,pubkey_create, etc.) work as expected via REPL teststests/usercmodules/secp256k1_test.pywith basic signing and verification use casesChecklist