Repository navigation
test: Improve code coverage for pubkey checks - #34099
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code Coverage & BenchmarksFor details see: https://corecheck.dev/bitcoin/bitcoin/pulls/34099. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please copy-paste |
|
Nice, the coverage is available now here: https://corecheck.dev/bitcoin/bitcoin/pulls/34099. I can see the PR description mentioned functions of the interpreter file has increased coverage! I don't know why the previous PR didn't have the coverage available. |
|
@rkrux perhaps my force push on the other PR broke the code coverage job. By the way, I also verified that the branches are being called by adding an assert(false) to those branches. script_tests then failed as expected. |
There was an issue with corecheck that hopefully has been fixed. See corecheck/corecheck#148 and corecheck/corecheck#143. |
commented
Dec 19, 2025
|
@brunoerg thank you. Separately, I think lost and gained baseline coverage is wrong. It's not plausible that my PR had as high an impact as https://corecheck.dev/bitcoin/bitcoin/pulls/34099 indicates. |
commented
Dec 19, 2025
Yes, it's wrong, see: corecheck/corecheck#150 |
commented
Jan 13, 2026
|
ACK 6bb66fc 🌑 Show signatureSignature: |
Cover these branches in
IsCompressedOrUncompressedPubKeyandIsCompressedPubKey:Non-canonical public key: invalid length for uncompressed keyNon-canonical public key: invalid length for compressed keyNon-canonical public key: invalid prefix for compressed keySee the missed branches here: https://maflcko.github.io/b-c-cov/total.coverage/src/script/interpreter.cpp.gcov.html
script_testssucceed on my end.