Repository navigation
test: Improve code coverage for pubkey checks - #34058
billymcbip wants to merge 1 commit into
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/34058. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please copy-paste |
rkrux
left a comment
There was a problem hiding this comment.
Code review a00332f
Few conditions in the mentioned functions indeed don't seem to be covered in the tests.
The coverage report seems to be not available in corecheck for some reason: https://corecheck.dev/bitcoin/bitcoin/pulls/34058
Coverage report is currently being generated, please come back later
|
tACK a00332f |
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.