Skip to content

Conversation

@theStack
Copy link
Contributor

@theStack theStack commented Jun 14, 2022

After more and more non-wallet tests have been converted to use MiniWallet (#25087, #24839, #24749 etc.), the create_confirmed_utxos helper is now not used anymore and can be removed. An alternative would be to create a MiniWallet version of create_confirmed_utxos, but it seems that it's not worth it, considering that would be only two lines (calling MiniWallet's send_self_transfer_multi with a subsequent generate call), see comment #24839 (comment).

Confirmed UTXOs in functional tests can simply be created by using
MiniWallet's `send_self_transfer_multi` method with a subsequent
`generate` call to mine a block.
@maflcko
Copy link
Member

maflcko commented Jun 15, 2022

cr ACK 42b2fdf

@maflcko maflcko merged commit 4c0d1fe into bitcoin:master Jun 15, 2022
@theStack theStack deleted the 202206-test-remove_unused_create_confirmed_utxos_helper branch June 15, 2022 07:10
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Jun 15, 2022
42b2fdf test: remove unused `create_confirmed_utxos` helper (Sebastian Falbesoner)

Pull request description:

  After more and more non-wallet tests have been converted to use MiniWallet (bitcoin#25087, bitcoin#24839, bitcoin#24749 etc.), the `create_confirmed_utxos` helper is now not used anymore and can be removed. An alternative would be to create a MiniWallet version of `create_confirmed_utxos`, but it seems that it's not worth it, considering that would be only two lines (calling MiniWallet's `send_self_transfer_multi` with a subsequent `generate` call), see comment bitcoin#24839 (comment).

ACKs for top commit:
  MarcoFalke:
    cr ACK 42b2fdf

Tree-SHA512: 274418156265a6071940f53cbcd77f6779af5e951cfa1e5efbf07a5c61487b521ee19f36b4105e5c0a808139d121e5e262e77525ea3d1486a0421f01abcf58fd
@bitcoin bitcoin locked and limited conversation to collaborators Jun 15, 2023
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