Skip to content

Migrate TxBuilder type to procedural macros#691

Merged
thunderbiscuit merged 4 commits intobitcoindevkit:masterfrom
thunderbiscuit:refactor/macros-1
Mar 25, 2025
Merged

Migrate TxBuilder type to procedural macros#691
thunderbiscuit merged 4 commits intobitcoindevkit:masterfrom
thunderbiscuit:refactor/macros-1

Conversation

@thunderbiscuit
Copy link
Copy Markdown
Member

@thunderbiscuit thunderbiscuit commented Mar 10, 2025

Trying out the proc macros on the TxBuilder.

A few things I want to keep in mind and look out for:

  • Are the docs migrating correctly?
  • Errors

@thunderbiscuit thunderbiscuit changed the title efactor: migrate TxBuilder type to procedural macros Migrate TxBuilder type to procedural macros Mar 10, 2025
@thunderbiscuit thunderbiscuit force-pushed the refactor/macros-1 branch 2 times, most recently from efb0a5b to 2730abb Compare March 10, 2025 17:45
@thunderbiscuit
Copy link
Copy Markdown
Member Author

I ran all JVM live tests locally and everything passes.

Comment thread bdk-ffi/src/tx_builder.rs

#[uniffi::export]
impl TxBuilder {
#[uniffi::constructor]
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.

I realized in Kotlin is that our struct-level docs might actually want to live at the constructor, at least that's how it felt in the natural flow of things. Something to experiment with for later

@reez
Copy link
Copy Markdown
Collaborator

reez commented Mar 24, 2025

ACK 7ef6054

@thunderbiscuit thunderbiscuit merged commit b1d6aca into bitcoindevkit:master Mar 25, 2025
26 checks passed
@thunderbiscuit thunderbiscuit deleted the refactor/macros-1 branch March 25, 2025 15:59
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