mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 10:47:36 +00:00
Update secp256k1 subtree to latest master #36890
No reviewers
Labels
No labels
Android
Backport
Block storage
Brainstorming
Bug
Build system
CI failed
Consensus
Data corruption
Descriptors
Docs
DrahtBot Guix build requested
Feature
Fuzzing
GUI
Good First Review
IPC
Insufficient Review
Kernel
Linux/Unix
Mempool
Mining
Needs Backport (31.x)
Needs Backport (32.x)
Needs Benchmark
Needs Conceptual Review
Needs backport (30.x)
Needs rebase
Needs release note
Net
P2P
PSBT
Privacy
Private Broadcast
Questions and Help
RPC/REST/ZMQ
Refactoring
Resource usage
Review club
Scripts and tools
Settings
TX fees and policy
Tests
Tracking Issue
UTXO Db and Indexes
Up for grabs
Upstream
Utils/log/libs
Validation
Waiting for author
Wallet
Windows
good first issue
interfaces
macOS
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin/bitcoin!36890
Loading…
Reference in a new issue
No description provided.
Delete branch "261116-update-secp"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR updates the libsecp256k1 subtree to
github.com/bitcoin-core/secp256k1@a0e2e23a71, which includes the following changes:The update is prompted by:
Fixes https://github.com/bitcoin/bitcoin/issues/36913 and unlocks the CI.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
External sites
Reviews
See the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste
<!--meta-tag:bot-skip-->into the comment that the bot should ignore.Conflicts
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
🔵 Suggestion ·
label_lookupleaves the enforced scalar bound undocumentedscan_outputsnow treats overflowing callback tweaks as illegal arguments and aborts by default, but the public callback contract does not state the range requirement.Location:
src/secp256k1/src/modules/silentpayments/main_impl.h:771(head).🔵 Suggestion ·
full_checkreceive vectors still allow duplicate resultsThe new distinct-output guard skips
full_checkvectors, leaving a pre-existing coverage gap where repeating one complete result can hide a missing expected output.Location:
src/secp256k1/src/modules/silentpayments/tests_impl.h:989(head).🔵 Suggestion ·
musig_ctx_sha256fails on repeated sequential selectionRepeated sequential selection of
musig_ctx_sha256would fail on stale probe flags; this is inferred from source, not a test run, and normal single-pass execution is unaffected.Location:
src/secp256k1/src/modules/musig/tests_impl.h:656(head).Review coverage was incomplete.
Reviewed:
830cca99046b· Review report · Previous reportspermalink
Concept ACK
As a small side-benefit, the following two lines in the BIP352 implementation can be removed after this is merged (due to https://github.com/bitcoin-core/secp256k1/pull/1983):
github.com/bitcoin/bitcoin@8130b3b883/src/common/bip352.cpp (L304)github.com/bitcoin/bitcoin@8130b3b883/src/common/bip352.cpp (L493)(cc @Eunovo, @rustaceanrob)
My Guix build:
Shouldn't this wait for https://github.com/bitcoin-core/secp256k1/pull/1996?
It's unclear when that PR will be reviewed and merged, so I'd rather not block on it. It can be picked up in the next subtree update once it lands.
I'd assume soon, given it's going to start causing CI failures for us, and is already broken for anyone using CMake 4.5.0 and
dev-modelocally? Otherwise I'm not clear what the rush is, to merge this, to then just have to pull again in a day or two to get the CMake fix.Sure. No rush at all.
I'll try to post a review of https://github.com/bitcoin-core/secp256k1/pull/1996 today.
But if you want to speed this up, the thing that helps us is review from CMake experts. @hebasto is the only regular libsecp256k1 contributor who is deep into CMake (and he can't review his own PR). All I can do is stare at the diff, point my LLM to it, and run some testing to make sure the PR doesn't introduce any badness in the build. That's probably all we need for a build system PR but it's still hard for me to judge these PRs dealing with CMake specifics.
Maybe @purpleKarrot can help?
https://github.com/bitcoin-core/secp256k1/pull/1996 has been merged.
Thanks!
The PR has been updated. Now it fixes https://github.com/bitcoin/bitcoin/issues/36913 and unlocks the CI.
Guix build:
ACK
830cca9904My Guix build:
Guix builds (here and here) mismatch:
I have a build in progress too.
The hashes of my Guix builds produced on an
aarch64machine match those of myx86_64builds (here) but differ from @fanquake's (here).AFK but mine are in the notes here https://cdash.fish.foo/builds/482/notes