Skip to content

esplora: bump esplora-client to 0.13.0 - #2252

Closed
Juwon-Ogunseye wants to merge 1 commit into
bitcoindevkit:masterfrom
Juwon-Ogunseye:fix/rustsec-2026-0104-esplora-client
Closed

esplora: bump esplora-client to 0.13.0#2252
Juwon-Ogunseye wants to merge 1 commit into
bitcoindevkit:masterfrom
Juwon-Ogunseye:fix/rustsec-2026-0104-esplora-client

Conversation

@Juwon-Ogunseye

Copy link
Copy Markdown

Description

Closes #2214

esplora-client 0.12.3 pulled in minreq, which depends on an unpatched
rustls-webpki (RUSTSEC-2026-0104: reachable panic in CRL parsing).
esplora-client 0.13.0 already migrated to bitreq upstream, which pins
a patched rustls-webpki (^0.103.13), so this is a version bump rather
than a from-scratch fix.

Bumping to 0.13.0 required adapting to its API changes:

  • Tx renamed to EsploraTx
  • scripthash_txs renamed to get_scripthash_txs

Notes to the reviewers

While fixing the build against 0.13.0, I also hit an unrelated compile
error: TxOut.value is now typed as Amount rather than u64 in the
rust-bitcoin version this pulls in, so the existing
Amount::from_sat(prev_txout.value) call was redundantly re-wrapping
an already-Amount value. I dropped the wrap and the now-unused
Amount import. Happy to split this into a separate commit/PR if
preferred, but it was a required fix to get this compiling.

Changelog notice

Bump esplora-client dependency to 0.13.0, fixing RUSTSEC-2026-0104.

Checklists

All Submissions:

  • I followed the contribution guidelines

Bugfixes:

  • This pull request breaks the existing API
  • I've added tests to reproduce the issue which are now passing
  • I'm linking the issue being fixed by this PR

Fixes RUSTSEC-2026-0104 (reachable panic in rustls-webpki CRL
parsing) by pulling in esplora-client's migration from minreq to
bitreq, which pins a patched rustls-webpki version.

Adapts to esplora-client 0.13.0 API changes:
- Tx renamed to EsploraTx
- scripthash_txs renamed to get_scripthash_txs
- TxOut.value is now Amount, not u64 (drop redundant Amount::from_sat
  wrap and unused Amount import)
@luisschwab

Copy link
Copy Markdown
Member

Duplicate of #2189

@luisschwab luisschwab marked this as a duplicate of #2189 Aug 3, 2026
@luisschwab luisschwab closed this Aug 3, 2026
@github-project-automation github-project-automation Bot moved this to Done in BDK Chain Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

RUSTSEC-2026-0104: Reachable panic in certificate revocation list parsing

2 participants