Skip to content

fix(chain,core): backport serde no-std fix to 0.23.x - #2466

Merged
notmandatory merged 2 commits into
bitcoindevkit:release/chain-0.23.xfrom
EliteCoder18:backport/serde-no-std-chain-0.23.x
Dec 2, 2026
Merged

notmandatory merged 2 commits into
bitcoindevkit:release/chain-0.23.xfrom
EliteCoder18:backport/serde-no-std-chain-0.23.x

Conversation

@EliteCoder18

@EliteCoder18 EliteCoder18 commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #2227 (0790f04).

Description

Backport of #2227 (0790f0400b108974b538e44d6498dc6fe1157548) to release/chain-0.23.x, for bitcoindevkit/bdk_wallet#494.

Disable Serde’s default features in bdk_core and bdk_chain so enabling serde in a no_std build no longer pulls in serde/std through these crates. Keep alloc and rc in bdk_chain for changesets that contain Arc<Transaction>.

Notes to the reviewers

Verified the wallet’s thumbv7m-none-eabi build with both RBMT lockfiles using local copies of this patch and the Miniscript 12.x backport.

The Rust 1.75 CI job picked up utf8_iter 1.1.0, which requires Rust 1.83. This PR refreshes the Rust 1.63 and 1.75 dependency pins and moves the WASM check to Ubuntu 24.04, where it installs Clang without apt-key. The WASM check passes.

Changelog notice

  • Fix bdk_core and bdk_chain enabling serde/std in no_std builds.

@github-project-automation github-project-automation Bot moved this to Triage in BDK Chain Nov 10, 2026
@notmandatory notmandatory added module-blockchain chore Non-coding related work labels Nov 26, 2026
@notmandatory notmandatory moved this from Triage to Needs Review in BDK Chain Nov 26, 2026
@notmandatory notmandatory added this to the Chain 0.23.4 milestone Nov 26, 2026
@notmandatory

Copy link
Copy Markdown
Contributor

The broken CI may be unrelated to this PR, but we'll need another PR (or added commit if it's a small fix) to get CI working before this one can be merged.

Signed-off-by: Rishit Modi <rishitmodi338@gmail.com>

@notmandatory notmandatory left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ACK 611b984

Thanks @EliteCoder18 for the update.

@notmandatory
notmandatory merged commit 611b984 into bitcoindevkit:release/chain-0.23.x Dec 2, 2026
19 checks passed
@github-project-automation github-project-automation Bot moved this from Needs Review to Done in BDK Chain Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Non-coding related work module-blockchain

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants