From 076189819168609bee3f3eecf5ebdffac3bdb6ee Mon Sep 17 00:00:00 2001 From: DJO <790521+Alenar@users.noreply.github.com> Date: Thu, 28 Nov 2024 15:41:17 +0100 Subject: [PATCH 1/6] fix: auto fix of rust 1.83 clippy warnings using `cargo clippy --all-targets --all-features --fix` --- internal/mithril-persistence/src/sqlite/cursor.rs | 2 +- mithril-common/src/crypto_helper/merkle_tree.rs | 4 ++-- mithril-common/src/test_utils/certificate_chain_builder.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/mithril-persistence/src/sqlite/cursor.rs b/internal/mithril-persistence/src/sqlite/cursor.rs index 61b8c3ae384..0291cf9ed32 100644 --- a/internal/mithril-persistence/src/sqlite/cursor.rs +++ b/internal/mithril-persistence/src/sqlite/cursor.rs @@ -20,7 +20,7 @@ impl<'a, T> EntityCursor<'a, T> { } } -impl<'a, T> Iterator for EntityCursor<'a, T> +impl Iterator for EntityCursor<'_, T> where T: SqLiteEntity, { diff --git a/mithril-common/src/crypto_helper/merkle_tree.rs b/mithril-common/src/crypto_helper/merkle_tree.rs index a483a15f9a8..287c243cedc 100644 --- a/mithril-common/src/crypto_helper/merkle_tree.rs +++ b/mithril-common/src/crypto_helper/merkle_tree.rs @@ -426,12 +426,12 @@ impl MKTree { .map(|(leaf_position, _leaf)| *leaf_position) .collect(), )?; - return Ok(MKProof { + Ok(MKProof { inner_root: Arc::new(self.compute_root()?), inner_leaves, inner_proof_size: proof.mmr_size(), inner_proof_items: proof.proof_items().to_vec(), - }); + }) } } diff --git a/mithril-common/src/test_utils/certificate_chain_builder.rs b/mithril-common/src/test_utils/certificate_chain_builder.rs index 5bd87154aa1..9a5fc7f9952 100644 --- a/mithril-common/src/test_utils/certificate_chain_builder.rs +++ b/mithril-common/src/test_utils/certificate_chain_builder.rs @@ -481,7 +481,7 @@ impl<'a> CertificateChainBuilder<'a> { } } -impl<'a> Default for CertificateChainBuilder<'a> { +impl Default for CertificateChainBuilder<'_> { fn default() -> Self { Self::new() } From 7420062fc84089f2a481f567b89bc1abb72a59e1 Mon Sep 17 00:00:00 2001 From: DJO <790521+Alenar@users.noreply.github.com> Date: Thu, 28 Nov 2024 15:53:26 +0100 Subject: [PATCH 2/6] fix: `elided lifetime has a name` clippy warnings --- .../src/chain_observer/cli_observer.rs | 4 ++-- mithril-common/src/test_utils/apispec.rs | 23 ++++++++++++------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/mithril-common/src/chain_observer/cli_observer.rs b/mithril-common/src/chain_observer/cli_observer.rs index f3b0de2e6af..05ee6480895 100644 --- a/mithril-common/src/chain_observer/cli_observer.rs +++ b/mithril-common/src/chain_observer/cli_observer.rs @@ -165,7 +165,7 @@ impl CardanoCliRunner { command } - fn post_config_command<'a>(&'a self, command: &'a mut Command) -> &mut Command { + fn post_config_command<'a>(&'a self, command: &'a mut Command) -> &'a mut Command { match self.network { CardanoNetwork::MainNet => command.arg("--mainnet"), CardanoNetwork::DevNet(magic) => command.args(vec![ @@ -331,7 +331,7 @@ impl CardanoCliChainObserver { // This is the only way I found to tell the compiler the correct types // and lifetimes for the function `double`. - fn parse_string<'a>(&'a self, string: &'a str) -> IResult<&str, f64> { + fn parse_string<'a>(&'a self, string: &'a str) -> IResult<&'a str, f64> { nom::number::complete::double(string) } diff --git a/mithril-common/src/test_utils/apispec.rs b/mithril-common/src/test_utils/apispec.rs index 49944c46529..c8bdc67092d 100644 --- a/mithril-common/src/test_utils/apispec.rs +++ b/mithril-common/src/test_utils/apispec.rs @@ -67,25 +67,28 @@ impl<'a> APISpec<'a> { } /// Sets the path to specify/check. - pub fn path(&'a mut self, path: &'a str) -> &mut APISpec { + pub fn path(&'a mut self, path: &'a str) -> &'a mut APISpec<'a> { self.path = Some(path); self } /// Sets the method to specify/check. - pub fn method(&'a mut self, method: &'a str) -> &mut APISpec { + pub fn method(&'a mut self, method: &'a str) -> &'a mut APISpec<'a> { self.method = Some(method); self } /// Sets the content type to specify/check, note that it defaults to "application/json". - pub fn content_type(&'a mut self, content_type: &'a str) -> &mut APISpec { + pub fn content_type(&'a mut self, content_type: &'a str) -> &'a mut APISpec<'a> { self.content_type = Some(content_type); self } /// Validates if a request is valid - fn validate_request(&'a self, request_body: &impl Serialize) -> Result<&APISpec, String> { + fn validate_request( + &'a self, + request_body: &impl Serialize, + ) -> Result<&'a APISpec<'a>, String> { let path = self.path.unwrap(); let method = self.method.unwrap().to_lowercase(); let content_type = self.content_type.unwrap(); @@ -104,7 +107,7 @@ impl<'a> APISpec<'a> { &'a self, path: &str, operation_object: &Value, - ) -> Result<&APISpec, String> { + ) -> Result<&'a APISpec<'a>, String> { let fake_base_url = "http://0.0.0.1"; let url = Url::parse(&format!("{}{}", fake_base_url, path)).unwrap(); @@ -130,7 +133,7 @@ impl<'a> APISpec<'a> { &'a self, response: &Response, expected_status_code: &StatusCode, - ) -> Result<&APISpec, String> { + ) -> Result<&'a APISpec<'a>, String> { if expected_status_code.as_u16() != response.status().as_u16() { return Err(format!( "expected status code {} but was {}", @@ -143,7 +146,7 @@ impl<'a> APISpec<'a> { } /// Validates if a response is valid - fn validate_response(&'a self, response: &Response) -> Result<&APISpec, String> { + fn validate_response(&'a self, response: &Response) -> Result<&'a APISpec<'a>, String> { let body = response.body(); let status = response.status(); @@ -207,7 +210,11 @@ impl<'a> APISpec<'a> { } /// Validates conformity of a value against a schema - fn validate_conformity(&'a self, value: &Value, schema: &Value) -> Result<&APISpec, String> { + fn validate_conformity( + &'a self, + value: &Value, + schema: &Value, + ) -> Result<&'a APISpec<'a>, String> { match schema { Null => match value { Null => Ok(self), From ac455a6d92bb703ad70a421abed3b78093e9da7e Mon Sep 17 00:00:00 2001 From: DJO <790521+Alenar@users.noreply.github.com> Date: Thu, 28 Nov 2024 16:44:26 +0100 Subject: [PATCH 3/6] fix: address 'missing doc' clippy warning on public but test only symbols by adjusting their visibility so they're at most `pub(crate)`. Note: With rust `1.83` there's no more 'missing doc' exception for `cfg(test)` and `pub` symbols. --- internal/mithril-metric/src/helper.rs | 3 ++- internal/mithril-metric/src/lib.rs | 3 --- internal/mithril-persistence/src/database/mod.rs | 2 +- internal/mithril-persistence/src/sqlite/condition.rs | 5 +++-- mithril-aggregator/src/database/record/certificate.rs | 8 ++++---- mithril-aggregator/src/dependency_injection/containers.rs | 2 +- mithril-aggregator/src/lib.rs | 2 +- .../src/services/cardano_transactions_importer.rs | 2 +- mithril-aggregator/src/services/epoch_service.rs | 5 +++-- mithril-aggregator/src/signer_registerer.rs | 4 ++-- mithril-common/src/crypto_helper/codec.rs | 2 +- mithril-common/src/test_utils/mod.rs | 2 +- mithril-relay/src/lib.rs | 7 +------ mithril-signer/src/lib.rs | 2 +- mithril-signer/src/services/aggregator_client.rs | 2 +- .../cardano_transactions/importer/importer_with_pruner.rs | 2 +- .../cardano_transactions/importer/importer_with_vacuum.rs | 2 +- .../src/services/cardano_transactions/importer/service.rs | 2 +- mithril-signer/src/services/certifier.rs | 2 +- mithril-signer/src/services/epoch_service.rs | 2 +- mithril-signer/src/services/mod.rs | 2 +- 21 files changed, 29 insertions(+), 34 deletions(-) diff --git a/internal/mithril-metric/src/helper.rs b/internal/mithril-metric/src/helper.rs index ff836365f8a..7ac9e962fc1 100644 --- a/internal/mithril-metric/src/helper.rs +++ b/internal/mithril-metric/src/helper.rs @@ -88,12 +88,13 @@ macro_rules! build_metrics_service { } #[cfg(test)] -pub mod test_tools { +pub(crate) mod test_tools { use std::{io, sync::Arc}; use slog::{Drain, Logger}; use slog_async::Async; use slog_term::{CompactFormat, PlainDecorator}; + pub struct TestLogger; impl TestLogger { diff --git a/internal/mithril-metric/src/lib.rs b/internal/mithril-metric/src/lib.rs index 26fcf63e61f..d9a3339001e 100644 --- a/internal/mithril-metric/src/lib.rs +++ b/internal/mithril-metric/src/lib.rs @@ -10,6 +10,3 @@ mod server; pub use metric::*; pub use server::MetricsServer; pub use server::MetricsServiceExporter; - -#[cfg(test)] -pub use helper::test_tools::TestLogger; diff --git a/internal/mithril-persistence/src/database/mod.rs b/internal/mithril-persistence/src/database/mod.rs index 8217ca8ef00..734d3841c12 100644 --- a/internal/mithril-persistence/src/database/mod.rs +++ b/internal/mithril-persistence/src/database/mod.rs @@ -17,7 +17,7 @@ pub use version_checker::{DatabaseVersionChecker, SqlMigration}; pub type DbVersion = i64; #[cfg(test)] -pub mod test_helper { +pub(crate) mod test_helper { use sqlite::ConnectionThreadSafe; use mithril_common::StdResult; diff --git a/internal/mithril-persistence/src/sqlite/condition.rs b/internal/mithril-persistence/src/sqlite/condition.rs index c7a999b629a..4ccdeff0e04 100644 --- a/internal/mithril-persistence/src/sqlite/condition.rs +++ b/internal/mithril-persistence/src/sqlite/condition.rs @@ -362,9 +362,10 @@ mod tests { #[test] fn expression_get_all_default() { - impl GetAllCondition for String {} + struct Expression; + impl GetAllCondition for Expression {} - let expression = String::get_all_condition(); + let expression = Expression::get_all_condition(); let (sql, params) = expression.expand(); assert_eq!("true".to_string(), sql); diff --git a/mithril-aggregator/src/database/record/certificate.rs b/mithril-aggregator/src/database/record/certificate.rs index adb8c9c251c..fc64eb9be53 100644 --- a/mithril-aggregator/src/database/record/certificate.rs +++ b/mithril-aggregator/src/database/record/certificate.rs @@ -69,7 +69,7 @@ pub struct CertificateRecord { #[cfg(test)] impl CertificateRecord { - pub fn dummy_genesis(id: &str, epoch: Epoch) -> Self { + pub(crate) fn dummy_genesis(id: &str, epoch: Epoch) -> Self { Self { parent_certificate_id: None, signature: fake_keys::genesis_signature()[0].to_owned(), @@ -77,7 +77,7 @@ impl CertificateRecord { } } - pub fn dummy_db_snapshot( + pub(crate) fn dummy_db_snapshot( id: &str, parent_id: &str, epoch: Epoch, @@ -94,7 +94,7 @@ impl CertificateRecord { ) } - pub fn dummy_msd(id: &str, parent_id: &str, epoch: Epoch) -> Self { + pub(crate) fn dummy_msd(id: &str, parent_id: &str, epoch: Epoch) -> Self { Self::dummy( id, parent_id, @@ -103,7 +103,7 @@ impl CertificateRecord { ) } - pub fn dummy( + pub(crate) fn dummy( id: &str, parent_id: &str, epoch: Epoch, diff --git a/mithril-aggregator/src/dependency_injection/containers.rs b/mithril-aggregator/src/dependency_injection/containers.rs index 5ea4294073a..e331d654c21 100644 --- a/mithril-aggregator/src/dependency_injection/containers.rs +++ b/mithril-aggregator/src/dependency_injection/containers.rs @@ -303,7 +303,7 @@ impl DependencyContainer { } #[cfg(test)] -pub mod tests { +pub(crate) mod tests { use crate::{dependency_injection::DependenciesBuilder, Configuration, DependencyContainer}; pub async fn initialize_dependencies() -> DependencyContainer { diff --git a/mithril-aggregator/src/lib.rs b/mithril-aggregator/src/lib.rs index a608173ee69..da8d6142161 100644 --- a/mithril-aggregator/src/lib.rs +++ b/mithril-aggregator/src/lib.rs @@ -61,7 +61,7 @@ pub use tools::{ }; #[cfg(test)] -pub use dependency_injection::tests::initialize_dependencies; +pub(crate) use dependency_injection::tests::initialize_dependencies; // Memory allocator (to handle properly memory fragmentation) #[cfg(all(not(target_env = "msvc"), feature = "jemallocator"))] diff --git a/mithril-aggregator/src/services/cardano_transactions_importer.rs b/mithril-aggregator/src/services/cardano_transactions_importer.rs index 58ade1d4b3e..d6dd717554d 100644 --- a/mithril-aggregator/src/services/cardano_transactions_importer.rs +++ b/mithril-aggregator/src/services/cardano_transactions_importer.rs @@ -251,7 +251,7 @@ mod tests { } impl CardanoTransactionsImporter { - pub fn new_for_test( + pub(crate) fn new_for_test( scanner: Arc, transaction_store: Arc, ) -> Self { diff --git a/mithril-aggregator/src/services/epoch_service.rs b/mithril-aggregator/src/services/epoch_service.rs index e4a27c02ee4..f182625b006 100644 --- a/mithril-aggregator/src/services/epoch_service.rs +++ b/mithril-aggregator/src/services/epoch_service.rs @@ -516,7 +516,7 @@ impl EpochService for MithrilEpochService { } #[cfg(test)] -pub struct FakeEpochService { +pub(crate) struct FakeEpochService { epoch_data: Option, computed_epoch_data: Option, inform_epoch_error: bool, @@ -525,7 +525,7 @@ pub struct FakeEpochService { } #[cfg(test)] -pub struct FakeEpochServiceBuilder { +pub(crate) struct FakeEpochServiceBuilder { pub cardano_era: CardanoEra, pub mithril_era: SupportedEra, pub epoch: Epoch, @@ -662,6 +662,7 @@ impl FakeEpochService { } } + #[allow(dead_code)] pub fn toggle_errors( &mut self, inform_epoch: bool, diff --git a/mithril-aggregator/src/signer_registerer.rs b/mithril-aggregator/src/signer_registerer.rs index e7db1130237..9e0e4855038 100644 --- a/mithril-aggregator/src/signer_registerer.rs +++ b/mithril-aggregator/src/signer_registerer.rs @@ -63,7 +63,7 @@ pub struct SignerRegistrationRound { #[cfg(test)] impl SignerRegistrationRound { - pub fn dummy(epoch: Epoch, stake_distribution: StakeDistribution) -> Self { + pub(crate) fn dummy(epoch: Epoch, stake_distribution: StakeDistribution) -> Self { Self { epoch, stake_distribution, @@ -146,7 +146,7 @@ impl MithrilSignerRegisterer { } #[cfg(test)] - pub async fn get_current_round(&self) -> Option { + pub(crate) async fn get_current_round(&self) -> Option { self.current_round.read().await.as_ref().cloned() } } diff --git a/mithril-common/src/crypto_helper/codec.rs b/mithril-common/src/crypto_helper/codec.rs index 614149bea8d..991656da23b 100644 --- a/mithril-common/src/crypto_helper/codec.rs +++ b/mithril-common/src/crypto_helper/codec.rs @@ -68,7 +68,7 @@ pub fn encode_bech32(human_readable_part: &str, data: &[u8]) -> StdResult Logger { Self::from_writer(slog_term::TestStdoutWriter) } - - pub fn file(filepath: &std::path::Path) -> Logger { - Self::from_writer(File::create(filepath).unwrap()) - } } } diff --git a/mithril-signer/src/lib.rs b/mithril-signer/src/lib.rs index 3cb8dbe58d5..feb3e38c196 100644 --- a/mithril-signer/src/lib.rs +++ b/mithril-signer/src/lib.rs @@ -38,7 +38,7 @@ use tikv_jemallocator::Jemalloc; static GLOBAL: Jemalloc = Jemalloc; #[cfg(test)] -pub mod test_tools { +pub(crate) mod test_tools { use std::fs::File; use std::io; use std::sync::Arc; diff --git a/mithril-signer/src/services/aggregator_client.rs b/mithril-signer/src/services/aggregator_client.rs index de0f3b83af7..5b94f59d795 100644 --- a/mithril-signer/src/services/aggregator_client.rs +++ b/mithril-signer/src/services/aggregator_client.rs @@ -74,7 +74,7 @@ pub enum AggregatorClientError { #[cfg(test)] /// convenient methods to error enum impl AggregatorClientError { - pub fn is_api_version_mismatch(&self) -> bool { + pub(crate) fn is_api_version_mismatch(&self) -> bool { matches!(self, Self::ApiVersionMismatch(_)) } } diff --git a/mithril-signer/src/services/cardano_transactions/importer/importer_with_pruner.rs b/mithril-signer/src/services/cardano_transactions/importer/importer_with_pruner.rs index 11e6efe611d..6dc96efb5ce 100644 --- a/mithril-signer/src/services/cardano_transactions/importer/importer_with_pruner.rs +++ b/mithril-signer/src/services/cardano_transactions/importer/importer_with_pruner.rs @@ -83,7 +83,7 @@ mod tests { } impl TransactionsImporterWithPruner { - pub fn new_with_mock( + pub(crate) fn new_with_mock( number_of_blocks_to_keep: Option, transaction_pruner_mock_config: P, importer_mock_config: I, diff --git a/mithril-signer/src/services/cardano_transactions/importer/importer_with_vacuum.rs b/mithril-signer/src/services/cardano_transactions/importer/importer_with_vacuum.rs index 1a541629172..6488f36f453 100644 --- a/mithril-signer/src/services/cardano_transactions/importer/importer_with_vacuum.rs +++ b/mithril-signer/src/services/cardano_transactions/importer/importer_with_vacuum.rs @@ -72,7 +72,7 @@ mod tests { } impl TransactionsImporterWithVacuum { - pub fn new_with_mock( + pub(crate) fn new_with_mock( connection_pool: Arc, importer_mock_config: I, ) -> Self diff --git a/mithril-signer/src/services/cardano_transactions/importer/service.rs b/mithril-signer/src/services/cardano_transactions/importer/service.rs index 58ade1d4b3e..d6dd717554d 100644 --- a/mithril-signer/src/services/cardano_transactions/importer/service.rs +++ b/mithril-signer/src/services/cardano_transactions/importer/service.rs @@ -251,7 +251,7 @@ mod tests { } impl CardanoTransactionsImporter { - pub fn new_for_test( + pub(crate) fn new_for_test( scanner: Arc, transaction_store: Arc, ) -> Self { diff --git a/mithril-signer/src/services/certifier.rs b/mithril-signer/src/services/certifier.rs index d7366a4d852..d52f5406b7e 100644 --- a/mithril-signer/src/services/certifier.rs +++ b/mithril-signer/src/services/certifier.rs @@ -518,7 +518,7 @@ mod tests { use super::*; impl SignerCertifierService { - pub fn dumb_dependencies() -> Self { + pub(crate) fn dumb_dependencies() -> Self { Self { signed_beacon_store: Arc::new(DumbSignedBeaconStore::default()), signed_entity_config_provider: Arc::new(DumbSignedEntityConfigProvider::new( diff --git a/mithril-signer/src/services/epoch_service.rs b/mithril-signer/src/services/epoch_service.rs index 68aba151483..ecc7bdec14c 100644 --- a/mithril-signer/src/services/epoch_service.rs +++ b/mithril-signer/src/services/epoch_service.rs @@ -368,7 +368,7 @@ impl MithrilEpochService { } #[cfg(test)] -pub mod mock_epoch_service { +pub(crate) mod mock_epoch_service { use mockall::mock; use super::*; diff --git a/mithril-signer/src/services/mod.rs b/mithril-signer/src/services/mod.rs index ed06ad841de..db5e55b12f4 100644 --- a/mithril-signer/src/services/mod.rs +++ b/mithril-signer/src/services/mod.rs @@ -18,7 +18,7 @@ mod single_signer; mod upkeep_service; #[cfg(test)] -pub use aggregator_client::dumb::DumbAggregatorClient; +pub(crate) use aggregator_client::dumb::DumbAggregatorClient; pub use aggregator_client::*; pub use cardano_transactions::*; pub use certifier::*; From ddc980d3b4d5f1424db7d1b7b007deab3634d9bb Mon Sep 17 00:00:00 2001 From: DJO <790521+Alenar@users.noreply.github.com> Date: Thu, 28 Nov 2024 16:48:47 +0100 Subject: [PATCH 4/6] fix: remove unused test symbols Those were before marked as public so they were excluded from the dead code analysis, but the previous commit adjusted their visibility to at most `pub(crate)`. --- .../src/database/record/certificate.rs | 9 --------- mithril-signer/src/services/aggregator_client.rs | 15 --------------- 2 files changed, 24 deletions(-) diff --git a/mithril-aggregator/src/database/record/certificate.rs b/mithril-aggregator/src/database/record/certificate.rs index fc64eb9be53..d575a5eef2b 100644 --- a/mithril-aggregator/src/database/record/certificate.rs +++ b/mithril-aggregator/src/database/record/certificate.rs @@ -94,15 +94,6 @@ impl CertificateRecord { ) } - pub(crate) fn dummy_msd(id: &str, parent_id: &str, epoch: Epoch) -> Self { - Self::dummy( - id, - parent_id, - epoch, - SignedEntityType::MithrilStakeDistribution(epoch), - ) - } - pub(crate) fn dummy( id: &str, parent_id: &str, diff --git a/mithril-signer/src/services/aggregator_client.rs b/mithril-signer/src/services/aggregator_client.rs index 5b94f59d795..b26a94c3fb2 100644 --- a/mithril-signer/src/services/aggregator_client.rs +++ b/mithril-signer/src/services/aggregator_client.rs @@ -395,21 +395,6 @@ pub(crate) mod dumb { } impl DumbAggregatorClient { - /// Instantiate a new DumbCertificateHandler. - pub fn new() -> Self { - Self { - epoch_settings: RwLock::new(None), - last_registered_signer: RwLock::new(None), - aggregator_features: RwLock::new(AggregatorFeaturesMessage::dummy()), - } - } - - /// this method pilots the epoch settings handler - pub async fn set_epoch_settings(&self, epoch_settings: Option) { - let mut epoch_settings_writer = self.epoch_settings.write().await; - *epoch_settings_writer = epoch_settings; - } - /// Return the last signer that called with the `register` method. pub async fn get_last_registered_signer(&self) -> Option { self.last_registered_signer.read().await.clone() From 5d636ea024b4a42121a359e0f86aeb229dfad628 Mon Sep 17 00:00:00 2001 From: DJO <790521+Alenar@users.noreply.github.com> Date: Thu, 28 Nov 2024 17:19:14 +0100 Subject: [PATCH 5/6] chore: update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e968d2cb0e4..ae5f5516b0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,8 @@ As a minor extension, we have adopted a slightly different versioning convention - Add a one line shell installation script for the Mithril nodes. +- Update to Rust `1.83`. + - **UNSTABLE** Cardano database incremental certification: - Implement the new signed entity type `CardanoDatabase`. From f399f2480dde6c84efcaa5bf6f871ec2a3ccae6c Mon Sep 17 00:00:00 2001 From: DJO <790521+Alenar@users.noreply.github.com> Date: Thu, 28 Nov 2024 17:17:08 +0100 Subject: [PATCH 6/6] chore: upgrade crate versions * mithril-metric from `0.1.2` to `0.1.3` * mithril-persistence from `0.2.37` to `0.2.38` * mithril-aggregator from `0.5.115` to `0.5.116` * mithril-common from `0.4.89` to `0.4.90` * mithril-relay from `0.1.27` to `0.1.28` * mithril-signer from `0.2.216` to `0.2.217` --- Cargo.lock | 14 +++++++------- internal/mithril-metric/Cargo.toml | 2 +- internal/mithril-persistence/Cargo.toml | 2 +- mithril-aggregator/Cargo.toml | 2 +- mithril-common/Cargo.toml | 2 +- mithril-relay/Cargo.toml | 2 +- mithril-signer/Cargo.toml | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 673d3f019bc..66e87bac87b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "addr2line" @@ -3588,7 +3588,7 @@ dependencies = [ [[package]] name = "mithril-aggregator" -version = "0.5.115" +version = "0.5.116" dependencies = [ "anyhow", "async-trait", @@ -3745,7 +3745,7 @@ dependencies = [ [[package]] name = "mithril-common" -version = "0.4.89" +version = "0.4.90" dependencies = [ "anyhow", "async-trait", @@ -3842,7 +3842,7 @@ dependencies = [ [[package]] name = "mithril-metric" -version = "0.1.2" +version = "0.1.3" dependencies = [ "anyhow", "axum", @@ -3859,7 +3859,7 @@ dependencies = [ [[package]] name = "mithril-persistence" -version = "0.2.37" +version = "0.2.38" dependencies = [ "anyhow", "async-trait", @@ -3879,7 +3879,7 @@ dependencies = [ [[package]] name = "mithril-relay" -version = "0.1.27" +version = "0.1.28" dependencies = [ "anyhow", "clap", @@ -3903,7 +3903,7 @@ dependencies = [ [[package]] name = "mithril-signer" -version = "0.2.216" +version = "0.2.217" dependencies = [ "anyhow", "async-trait", diff --git a/internal/mithril-metric/Cargo.toml b/internal/mithril-metric/Cargo.toml index b036ef4cd40..5d4b290ee37 100644 --- a/internal/mithril-metric/Cargo.toml +++ b/internal/mithril-metric/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-metric" -version = "0.1.2" +version = "0.1.3" description = "Common tools to expose metrics." authors = { workspace = true } edition = { workspace = true } diff --git a/internal/mithril-persistence/Cargo.toml b/internal/mithril-persistence/Cargo.toml index e1d1a96b44a..80a09521fe8 100644 --- a/internal/mithril-persistence/Cargo.toml +++ b/internal/mithril-persistence/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-persistence" -version = "0.2.37" +version = "0.2.38" description = "Common types, interfaces, and utilities to persist data for Mithril nodes." authors = { workspace = true } edition = { workspace = true } diff --git a/mithril-aggregator/Cargo.toml b/mithril-aggregator/Cargo.toml index b7356b9e7cf..39379c7acf1 100644 --- a/mithril-aggregator/Cargo.toml +++ b/mithril-aggregator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-aggregator" -version = "0.5.115" +version = "0.5.116" description = "A Mithril Aggregator server" authors = { workspace = true } edition = { workspace = true } diff --git a/mithril-common/Cargo.toml b/mithril-common/Cargo.toml index 7ef8494fc4f..8b1fce85b28 100644 --- a/mithril-common/Cargo.toml +++ b/mithril-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-common" -version = "0.4.89" +version = "0.4.90" description = "Common types, interfaces, and utilities for Mithril nodes." authors = { workspace = true } edition = { workspace = true } diff --git a/mithril-relay/Cargo.toml b/mithril-relay/Cargo.toml index 4604ba47f27..5fc9189eabb 100644 --- a/mithril-relay/Cargo.toml +++ b/mithril-relay/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-relay" -version = "0.1.27" +version = "0.1.28" description = "A Mithril relay" authors = { workspace = true } edition = { workspace = true } diff --git a/mithril-signer/Cargo.toml b/mithril-signer/Cargo.toml index 28ee642e52a..e1a34aaf81c 100644 --- a/mithril-signer/Cargo.toml +++ b/mithril-signer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-signer" -version = "0.2.216" +version = "0.2.217" description = "A Mithril Signer" authors = { workspace = true } edition = { workspace = true }