diff --git a/Cargo.lock b/Cargo.lock index 13b4518d..f573e82f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -28,7 +28,7 @@ dependencies = [ [[package]] name = "aleph-bft" -version = "0.23.0" +version = "0.24.0" dependencies = [ "aleph-bft-mock", "aleph-bft-rmc", @@ -134,7 +134,7 @@ dependencies = [ [[package]] name = "aleph-bft-rmc" -version = "0.7.0" +version = "0.8.0" dependencies = [ "aleph-bft-crypto", "aleph-bft-mock", diff --git a/consensus/Cargo.toml b/consensus/Cargo.toml index 2d3c1816..cbe20cdb 100644 --- a/consensus/Cargo.toml +++ b/consensus/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aleph-bft" -version = "0.23.0" +version = "0.24.0" edition = "2021" authors = ["Cardinal Cryptography"] categories = ["algorithms", "data-structures", "cryptography", "database"] @@ -13,7 +13,7 @@ readme = "../README.md" description = "AlephBFT is an asynchronous and Byzantine fault tolerant consensus protocol aimed at ordering arbitrary messages (transactions). It has been designed to continuously operate even in the harshest conditions: with no bounds on message-delivery delays and in the presence of malicious actors. This makes it an excellent fit for blockchain-related applications." [dependencies] -aleph-bft-rmc = { path = "../rmc", version = "0.7" } +aleph-bft-rmc = { path = "../rmc", version = "0.8" } aleph-bft-types = { path = "../types", version = "0.8" } anyhow = "1.0" async-trait = "0.1" diff --git a/consensus/src/alerts/mod.rs b/consensus/src/alerts/mod.rs index b6909d3c..35933a06 100644 --- a/consensus/src/alerts/mod.rs +++ b/consensus/src/alerts/mod.rs @@ -80,7 +80,7 @@ impl Alert { self.proof.0.as_signable().creator() } - pub(crate) fn included_data(&self) -> Vec { + pub fn included_data(&self) -> Vec { // Only legit units might end up in the DAG, we can ignore the fork proof. self.legit_units .iter() @@ -114,7 +114,7 @@ pub enum AlertMessage AlertMessage { - pub(crate) fn included_data(&self) -> Vec { + pub fn included_data(&self) -> Vec { match self { Self::ForkAlert(unchecked_alert) => unchecked_alert.as_signable().included_data(), Self::RmcMessage(_, _) => Vec::new(), diff --git a/rmc/Cargo.toml b/rmc/Cargo.toml index 7d976616..2e01306b 100644 --- a/rmc/Cargo.toml +++ b/rmc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aleph-bft-rmc" -version = "0.7.0" +version = "0.8.0" edition = "2021" authors = ["Cardinal Cryptography"] categories = ["algorithms", "cryptography"]