-
Notifications
You must be signed in to change notification settings - Fork 38.7k
test: remove wallet dependency from feature_nulldummy.py #25364
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
Conversation
maflcko
left a comment
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.
Looks good. Left an idea
|
Concept ACK, thanks for working on disentangling more tests from the wallet. |
b02411d to
a8fe321
Compare
a8fe321 to
9a783a9
Compare
kouloumos
left a comment
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.
ACK 9a783a9fd76ee5350d64ed1ed5b658c530913653 with some minor comments that i believe could increase readability.
I was also thinking that using the MiniWallet could potentially simplify the test and I tried to validate my intuition, but it seems that the changes needed do not justify the idea.
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsNo conflicts as of last run. |
This test can now be run even with the Bitcoin Core wallet disabled.
9a783a9 to
eec23da
Compare
the functions `create_transaction()` and `create_raw_transaction()` were no longer used hence removed.
|
Thanks a lot @MarcoFalke and @kouloumos for the thorough reviews. |
|
re-ACK 50ba669, all comments have been addressed. |
…dummy.py 50ba669 remove unused functions (Ayush Sharma) eec23da test: remove wallet dependency from feature_nulldummy.py (Ayush Sharma) Pull request description: This PR enables one of the non-wallet functional tests (`feature_nulldummy.py`) to be run even with the Bitcoin Core wallet disabled. Commit 1: removes wallet dependency and `test_runner.py` is edited to make sure the test only runs once. Commit 2: the functions `create_transaction()` and `create_raw_transaction()` in `blocktools.py` are no longer needed and hence removed. ACKs for top commit: kouloumos: re-ACK 50ba669, all comments have been addressed. Tree-SHA512: 3bc3d2766e53dba3d56a03f2c476442608ac693f51d84f4632a22a2cf169bc02c10bf92b676f7d57acb4f0ad86f307d37ab63f936b44b3585ee3c9d08cd0335f
This PR enables one of the non-wallet functional tests (
feature_nulldummy.py) to be run even with the Bitcoin Core wallet disabled.Commit 1: removes wallet dependency and
test_runner.pyis edited to make sure the test only runs once.Commit 2: the functions
create_transaction()andcreate_raw_transaction()inblocktools.pyare no longer needed and hence removed.