The new k256 v0.13 brought two breaking changes for the bip32 crate:
The RecoverableSignature type has been removed which necessitated changes in the inherit_signer derive macro. Following the upgrade guide, I've replaced the DigestSigner<D, RecoverableSignature> implementation with DigestSigner<D, (Signature, RecoveryId)> that uses the new SigningKey::sign_digest_recoverable method. In order to preserve the recursive structure, I also added a sign_digest_recoverable method to the derive macro.
Upgrade motivated by https://github.com/gakonst/ethers-rs/issues/2158#issuecomment-1462927693.
The new
k256
v0.13 brought two breaking changes for thebip32
crate:The
RecoverableSignature
type has been removed which necessitated changes in theinherit_signer
derive macro. Following the upgrade guide, I've replaced theDigestSigner<D, RecoverableSignature>
implementation withDigestSigner<D, (Signature, RecoveryId)>
that uses the new SigningKey::sign_digest_recoverable method. In order to preserve the recursive structure, I also added asign_digest_recoverable
method to the derive macro.The
VerifyingKey::to_bytes
method has been renamed toVerifyingKey::to_sec1_bytes
and I made the corresponding changes in theinherit_signer
derive macro.