Skip to content
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

tests: reduce feature_segwit.py usage of the legacy wallet #23312

Merged
merged 3 commits into from Oct 25, 2021

Conversation

achow101
Copy link
Member

feature_segwit.py has tests for some legacy wallet behavior, but otherwise does not really need the legacy wallet. Those parts now require --legacy-wallet to be provided (as with other legacy wallet tests). Other parts of the test are changed to work with descriptor wallets as well.

When setting up the multisig addresses in feature_segwit.py, use
descriptors rather than addmultisigaddress.
A portion of feature_segwit deals with the legacy wallet IsMine and
import behavior. This is now hidden behind --legacy-wallet
@fanquake fanquake added the Tests label Oct 19, 2021
@DrahtBot
Copy link
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #23305 (test: refactor: add script_util helper for creating bare multisig scripts by theStack)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

Copy link
Contributor

@lsilva01 lsilva01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK e9ade03

@maflcko maflcko merged commit d565d9b into bitcoin:master Oct 25, 2021
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Oct 25, 2021
…acy wallet

e9ade03 tests: Add feature_segwit.py --descriptors to test_runner.py (Andrew Chow)
ae6cbcc tests: restrict feature_segwit legacy wallet import tests (Andrew Chow)
1d13c44 tests: Use descriptors for feature_segwit multisig setup (Andrew Chow)

Pull request description:

  `feature_segwit.py` has tests for some legacy wallet behavior, but otherwise does not really need the legacy wallet. Those parts now require `--legacy-wallet` to be provided (as with other legacy wallet tests). Other parts of the test are changed to work with descriptor wallets as well.

ACKs for top commit:
  lsilva01:
    tACK e9ade03

Tree-SHA512: 4ae76a4d2a8d318e7f8ad4c984748e3cdd67ed00359fcd798a08492ed9399b1d01be88c9ebea3d6c996fbe190cf41708a15c98f088f0cb5c47d6d00fff258944
@bitcoin bitcoin locked and limited conversation to collaborators Oct 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants