Skip to content

Fix use of Error as name for error enum in UDL#214

Merged
thunderbiscuit merged 1 commit intobitcoindevkit:masterfrom
thunderbiscuit:fix-error
Oct 21, 2022
Merged

Fix use of Error as name for error enum in UDL#214
thunderbiscuit merged 1 commit intobitcoindevkit:masterfrom
thunderbiscuit:fix-error

Conversation

@thunderbiscuit
Copy link
Copy Markdown
Member

This PR changes the name of the error enum in the UDL from Error to BdkError.

The issue is described in mozilla/uniffi-rs#1020.

Fixes #213.

Changelog notice

No changelog notice, since this is reverting back to our old API. (it simply cleaned up the internals of the Rust code).

Checklists

All Submissions:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran cargo fmt and cargo clippy before committing

Bugfixes:

  • I'm linking the issue being fixed by this PR

@thunderbiscuit thunderbiscuit marked this pull request as ready for review October 21, 2022 13:31
Copy link
Copy Markdown
Member

@notmandatory notmandatory left a comment

Choose a reason for hiding this comment

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

utACK c7d0803

@thunderbiscuit thunderbiscuit merged commit c7d0803 into bitcoindevkit:master Oct 21, 2022
@thunderbiscuit thunderbiscuit deleted the fix-error branch October 21, 2022 14:22
notmandatory added a commit that referenced this pull request Oct 27, 2022
ee6ee81 Add simple kotlin,swift, and python integration tests (Steve Myers)

Pull request description:

  ### Description

  Add simple kotlin, swift and python integration tests. These tests confirm fixes in #216 and #214.

  ### Notes to the reviewers

  To skip integration tests use:

  `cargo test --lib`.

  Otherwise java, kotlin, swift, and python need to be installed, and you must run tests with:

  `CLASSPATH=./tests/jna/jna-5.8.0.jar cargo test`

  ### Changelog notice

  - Integration tests added, see tests/README.md for updated instructions for running tests. #215

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

  #### New Features:

  * [x] I've added tests for the new feature
  * [x] I've added docs for the new feature

  #### Bugfixes:

  * [x] I've added tests to reproduce the issue which are now passing

ACKs for top commit:
  thunderbiscuit:
    ACK [ee6ee81](ee6ee81).
  waterst0ne:
    > ACK [ee6ee81](ee6ee81).

Tree-SHA512: 06ab14da1185de431c16b767f187bc8e7792106df54314242b26f225e3a8ddada28317b7cb8bec47b8b248d3088d0305ab777770525540c72d2815349a73728b
@thunderbiscuit thunderbiscuit self-assigned this Nov 1, 2022
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.

Cannot use Error as name for error enum in UDL

2 participants