Skip to content

[DRAFT] Test change set version compatibility#396

Draft
ValuedMammal wants to merge 3 commits intobitcoindevkit:masterfrom
ValuedMammal:test/changeset_version_compatibility
Draft

[DRAFT] Test change set version compatibility#396
ValuedMammal wants to merge 3 commits intobitcoindevkit:masterfrom
ValuedMammal:test/changeset_version_compatibility

Conversation

@ValuedMammal
Copy link
Collaborator

@ValuedMammal ValuedMammal commented Mar 4, 2026

Description

Trying out a new approach to testing change set version compatibility on a continuous basis.

  • e9bd912 fix(changeset): Add serde(default) attribute to locked_outpoints field
  • 137ba7f docs(changeset): Add section on version compatibility
  • 09bb917 test: Test changeset version compatibility (v2 to v3)

Currently builds on #391

cc #234

Notes to the reviewers

Changelog notice

Checklists

All Submissions:

New Features:

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

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

This tells serde to use the default value if the field is missing
when deserializing, which is useful when upgrading between
versions.
Added `bdk_wallet` 2.3.0 to dev-dependencies.
Added file `tests/changeset.rs`.
@codecov
Copy link

codecov bot commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.06%. Comparing base (c422104) to head (09bb917).
⚠️ Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #396      +/-   ##
==========================================
- Coverage   79.17%   79.06%   -0.11%     
==========================================
  Files          24       24              
  Lines        5311     5298      -13     
  Branches      242      241       -1     
==========================================
- Hits         4205     4189      -16     
- Misses       1029     1032       +3     
  Partials       77       77              
Flag Coverage Δ
rust 79.06% <ø> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ValuedMammal ValuedMammal added the tests New or improved tests label Mar 4, 2026
@ValuedMammal ValuedMammal self-assigned this Mar 4, 2026
@ValuedMammal ValuedMammal added this to the Wallet 3.1.0 milestone Mar 4, 2026
@ValuedMammal ValuedMammal moved this to In Progress in BDK Wallet Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests New or improved tests

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant