Skip to content

Commit b42a074

Browse files
committed
refactor: move tx_template from chain to testenv
- refactor tx_template struct and init_graph to use Cow pointer - move `tx_template` from `chain/tests/common` to `testenv/src` - update `chain/tests` files to use `tx_template` from `testenv` - update deps in `chain/cargo.toml` and `testenv/cargo.toml` - update imports in `testenv/src/lib.rs` - refactor canonical benchmarks in `chain/benches` to use tx_template [Ticket: 1754]
1 parent 9af0fd4 commit b42a074

File tree

9 files changed

+508
-473
lines changed

9 files changed

+508
-473
lines changed

Diff for: crates/chain/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ rusqlite = { version = "0.31.0", features = ["bundled"], optional = true }
2727
[dev-dependencies]
2828
rand = "0.8"
2929
proptest = "1.2.0"
30-
bdk_testenv = { path = "../testenv", default-features = false }
30+
bdk_testenv = { path = "../testenv", default-features = false, features = ["miniscript"] }
3131
criterion = { version = "0.2" }
3232

3333
[features]

0 commit comments

Comments
 (0)