Skip to content

backport (2.x): fix sqlite pre1 migration helper#415

Merged
ValuedMammal merged 1 commit intobitcoindevkit:release/2.xfrom
notmandatory:backport/fix_sqlite_pre1_migration_helper
Mar 30, 2026
Merged

backport (2.x): fix sqlite pre1 migration helper#415
ValuedMammal merged 1 commit intobitcoindevkit:release/2.xfrom
notmandatory:backport/fix_sqlite_pre1_migration_helper

Conversation

@notmandatory
Copy link
Copy Markdown
Member

Description

Backports #411 to the release/2.x branch.

Notes to the reviewers

No changes to the original PR.

Changelog notice

Add get_pre_v1_wallet_keychains to assist migration from pre-1.0 bdk wallets.

Checklists

All Submissions:

New Features:

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

@notmandatory notmandatory self-assigned this Mar 23, 2026
@notmandatory notmandatory added the api A breaking API change label Mar 23, 2026
@notmandatory notmandatory moved this to Needs Review in BDK Wallet Mar 23, 2026
@notmandatory notmandatory added this to the Wallet 2.4.0 milestone Mar 23, 2026
@notmandatory notmandatory added the bug Something isn't working label Mar 23, 2026
@notmandatory notmandatory force-pushed the backport/fix_sqlite_pre1_migration_helper branch from f3199f3 to 4d28668 Compare March 23, 2026 20:41
@oleonardolima oleonardolima force-pushed the backport/fix_sqlite_pre1_migration_helper branch from 4d28668 to c3b6591 Compare March 23, 2026 22:27
@oleonardolima
Copy link
Copy Markdown
Contributor

@notmandatory I rebased it and pushed c3b6591 to fix the msrv step in CI.

Copy link
Copy Markdown
Contributor

@oleonardolima oleonardolima left a comment

Choose a reason for hiding this comment

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

ACK c3b6591

Copy link
Copy Markdown
Contributor

@Dmenec Dmenec left a comment

Choose a reason for hiding this comment

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

Left a few comments above, nothing critical but worth discussing.

- add PreV1MigrationError
- rename Pre1WalletKeychain to PreV1WalletKeychain
- rename get_pre_1_wallet_keychains to get_pre_v1_wallet_keychains
- change PreV1WalletKeychain::keychain to KeychainKind
- change PreV1WalletKeychain::checksum to String
- refactored and expanded migration tests with LLM 🤖
- style: require `rusqlite` feature in migration mod
- apply `[cfg(feature = "rusqlite")] for `migration` module instead of
  having multiple ones in `migration.rs`.
@ValuedMammal ValuedMammal force-pushed the backport/fix_sqlite_pre1_migration_helper branch from c3b6591 to fc233b2 Compare March 30, 2026 14:56
@ValuedMammal
Copy link
Copy Markdown
Collaborator

ACK fc233b2

@ValuedMammal ValuedMammal merged commit b1bec26 into bitcoindevkit:release/2.x Mar 30, 2026
20 checks passed
@github-project-automation github-project-automation bot moved this from Needs Review to Done in BDK Wallet Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api A breaking API change bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants