test: importdescriptors is not available for non-descriptor wallets #31609
pull brunoerg wants to merge 1 commits into bitcoin:master from brunoerg:2025-01-test-wallet-legacy-importdescriptors changing 1 files +1 −0-
brunoerg commented at 10:40 am on January 6, 2025: contributorThis PR adds test coverage for the error thrown when trying to import descriptors into a non-descriptor wallet.
-
DrahtBot commented at 10:40 am on January 6, 2025: contributor
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Code Coverage & Benchmarks
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/31609.
Reviews
See the guideline for information on the review process.
Type Reviewers ACK danielabrozzoni If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
Conflicts
No conflicts as of last run.
-
DrahtBot added the label Tests on Jan 6, 2025
-
danielabrozzoni approved
-
danielabrozzoni commented at 3:19 pm on January 7, 2025: contributor
Nice!
ACK 6b6b559d0f80246024a5b2fc8bcf357b86171472
-
maflcko commented at 3:35 pm on January 7, 2025: memberNo objection, but this will just create a conflict with the bdb removal, at which point the test will be deleted as well?
-
test: importdescriptors is not available for non-descriptor wallets f9dc45680f
-
brunoerg force-pushed on Jan 7, 2025
-
brunoerg commented at 4:36 pm on January 7, 2025: contributor
No objection, but this will just create a conflict with the bdb removal, at which point the test will be deleted as well?
The check will still exist in
importdescriptors. But you’re right, the legacy wallet iteration in this functional test will be removed, so it’s better to move this check towallet_migrationtest. -
brunoerg requested review from danielabrozzoni on Jan 8, 2025
-
danielabrozzoni approved
-
danielabrozzoni commented at 11:09 am on January 10, 2025: contributor
My understanding of the legacy removal PRs is limited, but it appears that the importdescriptor function will still include the check for legacy wallets.
utACK f9dc45680fa958bc89335fa50f46052e6bb29b37
-
maflcko commented at 12:14 pm on January 10, 2025: member
Huh? Now you are adding a test for a previous release, which does not increase the test coverage, see also https://corecheck.dev/bitcoin/bitcoin/pulls/31609 .
If you want to test a previous release, it would be better to submit the test against the previous release branch. But I am not sure if this is worth it.
Also, I don’t understand why the check should be kept after the bdb removal. Why would one want to guard against bdb at runtime when it is impossible to load bdb?
-
brunoerg commented at 12:36 pm on January 10, 2025: contributor
Huh? Now you are adding a test for a previous release, which does not increase the test coverage, see also https://corecheck.dev/bitcoin/bitcoin/pulls/31609 .
Nevermind, my bad, I did it quickly and did not notice it. I’m gonna close it because I believe this check could be removed within bdb removal.
-
brunoerg closed this on Jan 10, 2025
brunoerg
DrahtBot
danielabrozzoni
maflcko
Labels
Tests
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-10-27 15:13 UTC
More mirrored repositories can be found on mirror.b10c.me