Skip to content

chore(chain): deprecate CanonicalIter, and ChainOracle trait#2140

Open
oleonardolima wants to merge 1 commit intobitcoindevkit:release/chain-0.23.xfrom
oleonardolima:chore/deprecate-chain-oracle-and-canonical-iter
Open

chore(chain): deprecate CanonicalIter, and ChainOracle trait#2140
oleonardolima wants to merge 1 commit intobitcoindevkit:release/chain-0.23.xfrom
oleonardolima:chore/deprecate-chain-oracle-and-canonical-iter

Conversation

@oleonardolima
Copy link
Collaborator

Description

As both CanonicalIter and ChainOracle trait are being removed/replaced in #2038, and they're public types, we should deprecated them in a 0.23.x release in case any user does use them directly.

Notes to the reviewers

It's simply deprecating CanonicalIter and ChainOracle trait.

Changelog notice

### Changed
- `CanonicalIter` and `ChainOracle` are planned to be removed in a future release, therefore have been deprecated.

Checklists

All Submissions:

- add the deprecation warning for both `CanonicalIter` and `ChainOracle`
  trait, as they're planned to be removed in the future.
- add `#[allow(deprecated)] throughout the code to prevent related
  warnings.
@oleonardolima oleonardolima added this to the Chain 0.23.3 milestone Mar 9, 2026
@oleonardolima oleonardolima requested a review from evanlinjin March 9, 2026 18:57
@oleonardolima oleonardolima self-assigned this Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant