Skip to content

test: Replace hardcoded extended keys with ExtendedKey helpers - #36710

Open
nebula-21 wants to merge 1 commit into
bitcoin:masterfrom
nebula-21:replace-hardcoded-keys
Open

nebula-21 wants to merge 1 commit into
bitcoin:masterfrom
nebula-21:replace-hardcoded-keys

Conversation

@nebula-21

Copy link
Copy Markdown
Contributor

This PR is a follow-up of PR #35543.
I've updated the tests that were still using hardcoded keys, and used the ExtendedKey classes instead.

@DrahtBot DrahtBot added the Tests label Oct 30, 2026
@DrahtBot

DrahtBot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

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

External sites

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
ACK polespinasa

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #36990 (test: replace hard-coded RPC error codes by l0rinc)
  • #36885 (wallet, rpc: Add analyzedescriptor for multisig setups by pablomartin4btc)
  • #36005 (rpc, descriptor: warn when multipath expansion clones single-path key expressions by pythcoiner)
  • #32468 (rpc: generateblock to allow multiple outputs with custom payouts by polespinasa)

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.

@nebula-21
nebula-21 force-pushed the replace-hardcoded-keys branch from 637aab6 to f805f09 Compare November 3, 2026 12:23
@nebula-21
nebula-21 marked this pull request as draft November 3, 2026 12:24
@nebula-21
nebula-21 marked this pull request as ready for review November 3, 2026 12:25

@polespinasa polespinasa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

cACK

Comment thread test/functional/wallet_miniscript.py Resolved
@nebula-21

Copy link
Copy Markdown
Contributor Author

@polespinasa took you suggestion, I was also thinking about generating the keys inside run_test() instead so the seed would cover them, but that would require a bigger restructuring and maybe not worth it.

@polespinasa polespinasa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ACK 174adf5

Comment thread test/functional/rpc_psbt.py Resolved

@polespinasa polespinasa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ACK 25dec17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants