-
Notifications
You must be signed in to change notification settings - Fork 37k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: importdescriptors is not available for non-descriptor wallets #31609
test: importdescriptors is not available for non-descriptor wallets #31609
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/31609. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. ConflictsNo conflicts as of last run. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
ACK 6b6b559
No objection, but this will just create a conflict with the bdb removal, at which point the test will be deleted as well? |
6b6b559
to
f9dc456
Compare
The check will still exist in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 f9dc456
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? |
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. |
This PR adds test coverage for the error thrown when trying to import descriptors into a non-descriptor wallet.