Skip to content

chore(deps): bump bdk-ffi to a5f1a45c - #124

Open
reez wants to merge 1 commit into
bitcoindevkit:mainfrom
reez:prep-3.1-bump
Open

chore(deps): bump bdk-ffi to a5f1a45c#124
reez wants to merge 1 commit into
bitcoindevkit:mainfrom
reez:prep-3.1-bump

Conversation

@reez

@reez reez commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Bumps bdk-ffi to a5f1a45c on master which incorporates bdk_wallet 3.1.0, and regenerates the Dart bindings.

(This follows the same process used for previous bdk-dart dependency bumps and mirrors the recent downstream updates in bdk-rn and bdk-jvm ahead of the bdk-ffi 3.1.0 release.)

@reez
reez requested a review from Johnosezele August 10, 2026 16:09
@reez
reez marked this pull request as ready for review August 10, 2026 16:10
Comment thread lib/bdk.dart
Comment on lines +35487 to +35494
@Native<RustBuffer Function(RustBuffer, Pointer<RustCallStatus>)>(
assetId: _uniffiAssetId,
)
external RustBuffer
uniffi_bdkffi_fn_method_addforeignutxoerror_uniffi_trait_debug(
RustBuffer ptr,
Pointer<RustCallStatus> uniffiStatus,
);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

non blocking: Display,Debug for errors landed here, but Exception toString never calls them. Logging still gets the static Dart strings (e.g. MissingUtxoAddForeignUtxoException), I believe this needs an upstream uniffi-dart fix.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

yeah I think that's right that this might be in uniffi-dart

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

(good call out)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Could you open a bdk-dart issue so we can track the current behavior? Eventually we can link an upstream issue/PR from uniffi-dart and update our pin once it’s fixed.

@Johnosezele Johnosezele left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

non blocking: could these new 3.1 methods benefit from smoke coverage?

  • CreateParams / LoadParams
  • SignersContainer / signWithSigners
  • coinSelection
  • extractTxUncheckedFeeRate / extractTxWithFeeRateLimit
  • Descriptor.asPublic
  • onlyConfiguredPeers
  • loadFromTwoPath*

Even tiny tests would help prove they are callable from Dart. Fine as a follow up before release if you prefer not to block this bump.

@reez

reez commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator Author

non blocking: could these new 3.1 methods benefit from smoke coverage?

  • CreateParams / LoadParams
  • SignersContainer / signWithSigners
  • coinSelection
  • extractTxUncheckedFeeRate / extractTxWithFeeRateLimit
  • Descriptor.asPublic
  • onlyConfiguredPeers
  • loadFromTwoPath*

Even tiny tests would help prove they are callable from Dart. Fine as a follow up before release if you prefer not to block this bump.

Yeah sounds like they could benefit from smoke coverage. Want to take that on?

@Johnosezele

Copy link
Copy Markdown
Collaborator

Want to take that on?

Yeah, i'll follow up with it

@Johnosezele Johnosezele left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ACK 1498932

@j-kon j-kon 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.

This look good to me ACK 1498932

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants