From b9746bc81558591e3a5902dff14cd3abb6084c06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Turmel?= Date: Wed, 8 Oct 2025 10:15:15 +0200 Subject: [PATCH 1/3] fix(e2e): put back the version of backend cardano-db used to avoid default mecanism --- .../mithril-end-to-end/src/mithril/client.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mithril-test-lab/mithril-end-to-end/src/mithril/client.rs b/mithril-test-lab/mithril-end-to-end/src/mithril/client.rs index d7a7ad4b4f8..04d3e6847ea 100644 --- a/mithril-test-lab/mithril-end-to-end/src/mithril/client.rs +++ b/mithril-test-lab/mithril-end-to-end/src/mithril/client.rs @@ -220,9 +220,12 @@ impl ClientCommand { ClientCommand::CardanoStakeDistribution(cmd) => { [vec!["cardano-stake-distribution".to_string()], cmd.cli_arg()].concat() } - ClientCommand::CardanoDbV2(cmd) => { - [vec!["cardano-db".to_string()], cmd.cli_arg()].concat() - } + ClientCommand::CardanoDbV2(cmd) => [ + vec!["cardano-db".to_string()], + cmd.cli_arg(), + vec!["--backend".to_string(), "v2".to_string()], + ] + .concat(), }; args.push("--json".to_string()); From c061b275e398fd85795c1ca77a8b59f5fadc4fee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Turmel?= Date: Wed, 8 Oct 2025 14:54:11 +0200 Subject: [PATCH 2/3] fix(common): add a default value for AggregateSignatureType to ensure backward compatibility --- mithril-common/src/messages/aggregator_features.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/mithril-common/src/messages/aggregator_features.rs b/mithril-common/src/messages/aggregator_features.rs index 1db70bee679..0b00114a6b6 100644 --- a/mithril-common/src/messages/aggregator_features.rs +++ b/mithril-common/src/messages/aggregator_features.rs @@ -26,6 +26,7 @@ pub struct AggregatorCapabilities { pub signed_entity_types: BTreeSet, /// Aggregate signature type used by the aggregator + #[serde(default)] pub aggregate_signature_type: AggregateSignatureType, /// Cardano transactions prover capabilities From 0a8945fffbfa2a5553816bbf4c0a8467dbe22984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Turmel?= Date: Wed, 8 Oct 2025 15:16:03 +0200 Subject: [PATCH 3/3] chore: upgrade crate versions * mithril-common from `0.6.20` to `0.6.21` * mithril-end-to-end from `0.4.104` to `0.4.105` --- Cargo.lock | 4 ++-- mithril-common/Cargo.toml | 2 +- mithril-test-lab/mithril-end-to-end/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 29d8a0a5295..48011f69931 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4252,7 +4252,7 @@ dependencies = [ [[package]] name = "mithril-common" -version = "0.6.20" +version = "0.6.21" dependencies = [ "anyhow", "async-trait", @@ -4335,7 +4335,7 @@ dependencies = [ [[package]] name = "mithril-end-to-end" -version = "0.4.104" +version = "0.4.105" dependencies = [ "anyhow", "async-recursion", diff --git a/mithril-common/Cargo.toml b/mithril-common/Cargo.toml index 205e0318153..85e2e0d48a8 100644 --- a/mithril-common/Cargo.toml +++ b/mithril-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-common" -version = "0.6.20" +version = "0.6.21" description = "Common types, interfaces, and utilities for Mithril nodes." authors = { workspace = true } edition = { workspace = true } diff --git a/mithril-test-lab/mithril-end-to-end/Cargo.toml b/mithril-test-lab/mithril-end-to-end/Cargo.toml index b92a31be63c..f7dc102b4bb 100644 --- a/mithril-test-lab/mithril-end-to-end/Cargo.toml +++ b/mithril-test-lab/mithril-end-to-end/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-end-to-end" -version = "0.4.104" +version = "0.4.105" authors = { workspace = true } edition = { workspace = true } documentation = { workspace = true }