Skip to content

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

Open
EliteCoder18 wants to merge 2 commits into
bitcoindevkit:release/chain-0.23.xfrom
EliteCoder18:backport/serde-no-std-chain-0.23.x
Open

EliteCoder18 wants to merge 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>
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: Needs Review

Development

Successfully merging this pull request may close these issues.

2 participants