Skip to content

Conversation

@tcharding
Copy link
Member

@tcharding tcharding commented Mar 10, 2022

Update our rust-secp256k1 dependency to the latest released version.

Requires doing:

  • Add a new variant to Error for the case where parity of the internal key is an invalid value (not 0 or 1).
  • Use non-deprecated const

Please check the error change carefully, this error does relate only to the parity of an internal key, right?

@apoelstra
Copy link
Member

I don't think we need to wait for rust-bitcoin/rust-secp256k1#417 or its corresponding release, since we don't use ECDH here. It'd be fine to set our Cargo.toml to 0.22.0, and users will automatically get 0.22.1 when it comes out.

@tcharding
Copy link
Member Author

tcharding commented Mar 11, 2022

Good thinking, done. (Updated the dev-dependency as well ... and actually build the code. :)

Update our `rust-secp256k1` dependency to the latest version.

Requires doing:

- Add a new variant to `Error` for the case where parity of the internal
  key is an invalid value (not 0 or 1).
- Use non-deprecated const
Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK d68531d

Copy link
Collaborator

@dr-orlovsky dr-orlovsky left a comment

Choose a reason for hiding this comment

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

ACK d68531d

@dr-orlovsky dr-orlovsky merged commit 7f0d172 into rust-bitcoin:master Mar 12, 2022
@tcharding tcharding deleted the update-secp branch March 15, 2022 03:27
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