-
Notifications
You must be signed in to change notification settings - Fork 16
[WIP] Update for Micropython v1.25 #9
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
base: secp-zkp
Are you sure you want to change the base?
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