Skip to content

feat(abstract-utxo): fix BIP322 sighash type handling with wasm-utxo 1.34.0#8081

Merged
davidkaplanbitgo merged 3 commits intomasterfrom
BTC-2866.fix-bip322
Feb 6, 2026
Merged

feat(abstract-utxo): fix BIP322 sighash type handling with wasm-utxo 1.34.0#8081
davidkaplanbitgo merged 3 commits intomasterfrom
BTC-2866.fix-bip322

Conversation

@OttoAllmendinger
Copy link
Contributor

This PR updates the wasm-utxo dependency to version 1.34.0, which fixes an
issue with sighash type handling in BIP322 messages for p2trMusig2
signatures.

The changes include:

  • Adding a test case that verifies wasm-utxo correctly respects the
    sighashType when creating musig2 partial signatures
  • Updating the abstract-utxo module to use the fixed wasm-utxo version

Issue: BTC-2866

OttoAllmendinger and others added 3 commits February 6, 2026 09:15
Add test case reproducing an error when PSBT input sighashType doesn't match
signature sighash type in p2trMusig2 BIP322 messages.

Issue: BTC-2866

Co-authored-by: llm-git <llm-git@ttll.de>
Update wasm-utxo dependency to version 1.34.0 across several modules.

Issue: BTC-2866

Co-authored-by: llm-git <llm-git@ttll.de>
…ighashType

Updated test to verify that wasm-utxo correctly respects input.sighashType
when creating musig2 partial signatures, instead of testing for the error
condition that previously existed.

Issue: BTC-2866

Co-authored-by: llm-git <llm-git@ttll.de>
@davidkaplanbitgo davidkaplanbitgo marked this pull request as ready for review February 6, 2026 14:07
@davidkaplanbitgo davidkaplanbitgo requested review from a team as code owners February 6, 2026 14:07
@davidkaplanbitgo davidkaplanbitgo merged commit c7a1bbd into master Feb 6, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants