forked from bitcoindevkit/bdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor(test): Move tx test utils to testenv
- add `tx_utils` to house all transaction utilities moved from `crates/chain/test/common` - deleted all moved macros and functions in `crates/chain/test/common/mod` - add `bitcoin` crate to `testenv` crate - add `tx_utils` mod to lib in testenv [Issue: bitcoindevkit#1602] Refactor: use tx utils from testenv in chain crate - import testenv crate in chain crate - replace all macros and fns in the following tests with import from testenv crate - tests/test_indexed_tx_graph - tests/test_keychain_txout_index - tests/test_local_chain - tests/test_tx_graph - tests/test_tx_graph_conflicts [issue: bitcoindevkit#1602] Refactor: Replace block_id macro def with tx util - import testenv crate - delete common module and import `block_id` from testenv crate [issue: bitcoindevkit#1602] Refactor: replace bitcoin with bdk_chain::bitcoin replace external crate `bitcoin` with re-exported `bdk_chain::bitcoin` [Ticket: bitcoindevkit#1602] Refactor: rename `tx_utils` to `utils` in testenv - Rename `tx_utils.rs` to `utils.rs` in `testenv` to allow all testing utilities to be included. - update all imports [Ticket: X] Refactor: move DESCRIPTORS sample array to testenv move `DESCRIPTORS` sample array to `testenv` for other crates to use [Ticket: X]
- Loading branch information
Showing
13 changed files
with
153 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.