Skip to content

fix(bdk_esplora): use get_blocks_infos instead of get_blocks#2130

Merged
oleonardolima merged 1 commit intobitcoindevkit:masterfrom
oleonardolima:fix/esplora-client-deprecated-method
Feb 24, 2026
Merged

fix(bdk_esplora): use get_blocks_infos instead of get_blocks#2130
oleonardolima merged 1 commit intobitcoindevkit:masterfrom
oleonardolima:fix/esplora-client-deprecated-method

Conversation

@oleonardolima
Copy link
Collaborator

@oleonardolima oleonardolima commented Feb 24, 2026

Description

The get_blocks method from esplora-client has been deprecated on the latest release v0.12.3. I'm updating it to use newly added one: get_blocks_infos in order to fix the deprecation warning.

Changelog notice

### Changed
- fix(bdk_esplora): use `get_block_infos` instead of deprecated `get_blocks`

Checklists

All Submissions:

New Features:

  • I've added tests for the new feature
  • I've added docs for the new feature

@luisschwab
Copy link
Member

luisschwab commented Feb 24, 2026

@oleonardolima this is already fixed on #2053, just needs merging.

@oleonardolima
Copy link
Collaborator Author

@oleonardolima this is already fixed on #2053

I didn't notice it, though I think it's better/easier to land this one as a separate one.

Copy link
Member

@luisschwab luisschwab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK a880170

@luisschwab luisschwab requested a review from reez February 24, 2026 14:52
@oleonardolima oleonardolima moved this to Needs Review in BDK Chain Feb 24, 2026
Copy link

@reez reez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK a880170

@oleonardolima oleonardolima merged commit b38215a into bitcoindevkit:master Feb 24, 2026
17 checks passed
@github-project-automation github-project-automation bot moved this from Needs Review to Done in BDK Chain Feb 24, 2026
@oleonardolima oleonardolima deleted the fix/esplora-client-deprecated-method branch February 24, 2026 17:32
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.

3 participants