Skip to content

Ugrade bitcoin dependency to v0.31.0-rc1 #310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

tcharding
Copy link
Member

@tcharding tcharding commented Oct 15, 2023

This is not a merge candidate, it serves the following purposes:

  • Demonstrate what likely needs doing once we drop the bitcoin v0.31.0 release.

  • Uncover any bugs in the rc release.

  • Patch 1: Pin deps for MSRV test run

  • Patch 2: Runsthe formatter so as not to clutter the second patch with random formattting changes.

  • Patch 3: Do the upgrade

Note we no longer need to depend on bitcoin-private, the hex stuff is in hex-conservative now (re-exported by bitcoin).

@tcharding tcharding force-pushed the 10-16-ugrade-bitcoin branch from b45c12c to 96574c1 Compare October 15, 2023 22:59
Loads of deps break MSRV at the moment because the Rust ecosystem is
upgrading to edition 2021 left, right, and centre without bumping crate
versions.

Pin various crates in CI for MSRV test run, do it in the CI script
instead of in the github action.
Not sure why these formatting issues are present on `master`, seems we
run the formatter with a stable toolchain in CI?

Run `cargo fmt`, no manual changes.
Upgrade to the rc1 release for upcoming bitcoin v0.31.0 by doing:

- Remove dependency on `bitcoin_private`, use hex stuff from
`bitcoin::hex` (re-export of `hex-conservative`).
- Do type renames.
- Add a couple of type annotations when parsing `Address`.
@tcharding tcharding force-pushed the 10-16-ugrade-bitcoin branch from 96574c1 to f3d66cf Compare October 15, 2023 23:05
@tcharding
Copy link
Member Author

Typo in branch name, closing in favour of #311.

@tcharding tcharding closed this Oct 15, 2023
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.

1 participant