1 suggestion
Optional improvements
[suggestion] · The advertised bip352_tests refactor is absent
The title and description promise a bip352_tests restructuring that the series does not contain, leaving reviewers with a signing-equivalence claim but no corresponding change to assess.
Location: src/test/descriptor_tests.cpp:460 at 73e8c18841e3 (commit) (commit).
Details and suggested fix
At both base and head, bip352_p2pkh_pubkey_extraction_with_checksig_in_scriptsig signs tx and then assigns tx.vin[0].scriptSig; it does not construct separate unsigned and final transactions. The supplied commits cover only descriptor_tests (73e8c18841e3195b33d1442f10dfc7b968011ffc), group_outputs_tests (7352a745df5dc5ee7ff11f7b4a4b4692e67603ed) and mempool_ephemeral_spends (5b4baa8dada19ceac2b2f882cf6ca3d071c87f87). Remove the bip352 title mention and description bullet if that change is no longer intended. Otherwise, add the missing refactor as a separate test commit alongside these independent changes, with its legacy-sighash rationale in the commit message.