Skip to content

Conversation

@theStack
Copy link
Contributor

Similar to #26892, this PR simplies the functional tests p2p_tx_download.py and p2p_eviction.py by using MiniWallet in order to avoid manual low-level tx creation. For the latter, rather than mining 100 blocks manually, the pre-mined chain of the test framework is used.

These instances were found via $ git grep signrawtransactionwithkey ./test/functional. AFAICT, there are no other instances where MiniWallet could replace tx creation trivially.

Also, use the pre-mined chain of the test framework rather than
mining 100 blocks manually on each run.
@DrahtBot
Copy link
Contributor

DrahtBot commented Jan 19, 2023

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

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK MarcoFalke

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

@DrahtBot DrahtBot added the Tests label Jan 19, 2023
@maflcko
Copy link
Member

maflcko commented Jan 26, 2023

review ACK 8609f24

@maflcko maflcko merged commit ffc22b7 into bitcoin:master Jan 26, 2023
@theStack theStack deleted the 202301-test-simplify_p2p_tx_download_MiniWallet branch January 26, 2023 14:57
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Jan 26, 2023
@bitcoin bitcoin locked and limited conversation to collaborators Jan 26, 2024
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.

3 participants