]> Untitled Git - bdk/commitdiff
Merge bitcoindevkit/bdk#1826: deps(bdk_testenv)!: bump `electrsd` to `0.36.1` master github/master
authormerge-script <oleonardolima@users.noreply.github.com>
Mon, 26 Jan 2026 20:19:07 +0000 (17:19 -0300)
committermerge-script <oleonardolima@users.noreply.github.com>
Mon, 26 Jan 2026 20:19:07 +0000 (17:19 -0300)
303cc7010006dcb546d92d8a4c8c52e43ad14ead docs(testenv): fix rustdocs for `corepc` types (valued mammal)
939383266b00fb0f676e2a578af8147ca35552e5 build(testenv): `mine_empty_blocks` requires `std` feature (valued mammal)
cbad92eb69243dbe57d001556ffa31e21d223138 test(bdk_esplora,bdk_electrum): update to new `bdk_testenv` APIs (Leonardo Lima)
b78a9dedf8be14aef09d15ba2ad362d268b742c7 test(bdk_chain): update to new `bdk_testenv` APIs (Leonardo Lima)
f3931455da40fa1f4ee9159bfca63931665ef2a7 test(bdk_bitcoind_rpc): update it's tests to use `ClientExt` (valued mammal)
c3f7257fc5e2b5ce4856cb01924ba6212a30f61c deps(bdk_testenv): bump `electrsd` to `0.36.1` (Leonardo Lima)

Pull request description:

  partially addresses #1949

  ### Description

  Upgrades the `electrsd` version from `0.28.0` to `0.36.1`, migrating from old `bitcoind` to `corepc-node` and using the `corepc-node_28_2` feature.

  Updates the `bitcoind` client type for `TestEnv`, and its internal methods. Also, updates: bdk_bitcoind_rpc, bdk_esplora, bdk_electrum usage of `bdk_testenv` and `TestEnv`.

  ### Notes to the reviewers

  As we are upgrading to the latest `electrsd`, we can drop for now the pinning for `home` in the MSRV step.

  ### Changelog notice

  ```
  ### Added
  - deps(bdk_testenv): introduces `bitcoin and it's `bitcoin/rand-std` feature under `bdk_testenv/std`.
  - test(bdk_bitcoind_rpc): introcuce `ClientExt` trait to use custom testing RPC client with current `bitcoincore-rpc` one.

  ### Changed
  - deps(bdk_testenv)!: bump `electrsd` to `0.36.1`.
  - deps(bdk_testenv): updates `electrsd` feature to `corepc-node_28_2`.
  - test(bdk_bitcoind_rpc): update all tests to use new `ClientExt` trait when building the `Emitter`.
  - test(bdk_chain): update all tests to use new `bdk_testenv`, `electrsd` and `corepc-node` APIs.
  - test(bdk_esplora, bdk_electrum): update all tests to use new `bdk_testenv`, `electrsd` and `corepc-node` APIs.
  - build(testenv): feature gate `mine_empty_blocks`, `reorg_empty_blocks` behind `std` feature.

  ```

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

  #### New Features:

  * [x] I've added tests for the new feature
  * [x] I've added docs for the new feature

ACKs for top commit:
  ValuedMammal:
    ACK 303cc7010006dcb546d92d8a4c8c52e43ad14ead
  luisschwab:
    ACK 303cc7010006dcb546d92d8a4c8c52e43ad14ead

Tree-SHA512: 721a328a09d8bf75e6e2903dd2e244fdd211895c3e1a1b9aa5c6ee256ea1b07be9ab25db9a7ffcff88d94e7b05cdd06580598fd09292f5a17471583eb1252435


Trivial merge