From ea8d7a5d50f7add7af30373883e4241287b6e7c9 Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Mon, 9 Oct 2023 21:08:39 +0200 Subject: [PATCH 1/2] consensus: hotfix breaking API change --- consensus/src/taproot.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/consensus/src/taproot.rs b/consensus/src/taproot.rs index 08371d7e..f44fddf1 100644 --- a/consensus/src/taproot.rs +++ b/consensus/src/taproot.rs @@ -150,7 +150,11 @@ impl FromStr for XOnlyPk { derive(Serialize, Deserialize), serde(crate = "serde_crate", transparent) )] -pub struct InternalPk(XOnlyPk); +pub struct InternalPk( + #[from] + #[from(XOnlyPublicKey)] + XOnlyPk, +); impl InternalPk { #[inline] From 3b74397d8225ffb16460534d77ea0c3cab0b06da Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Mon, 9 Oct 2023 21:11:57 +0200 Subject: [PATCH 2/2] release v0.10.11 hotfix --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cf59e8ea..f7c2af35 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -168,7 +168,7 @@ dependencies = [ [[package]] name = "bp-consensus" -version = "0.10.10" +version = "0.10.11" dependencies = [ "amplify", "chrono", @@ -181,7 +181,7 @@ dependencies = [ [[package]] name = "bp-core" -version = "0.10.10" +version = "0.10.11" dependencies = [ "amplify", "bp-consensus", @@ -196,7 +196,7 @@ dependencies = [ [[package]] name = "bp-dbc" -version = "0.10.10" +version = "0.10.11" dependencies = [ "amplify", "base85", @@ -209,7 +209,7 @@ dependencies = [ [[package]] name = "bp-seals" -version = "0.10.10" +version = "0.10.11" dependencies = [ "amplify", "baid58", diff --git a/Cargo.toml b/Cargo.toml index 5bb192d8..65ccee15 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ default-members = [ ] [workspace.package] -version = "0.10.10" +version = "0.10.11" authors = ["Dr Maxim Orlovsky "] homepage = "https://github.com/BP-WG" repository = "https://github.com/BP-WG/bp-core"