diff --git a/Cargo.lock b/Cargo.lock index 82e2b35a9ce..d1e7c45d8d2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4675,7 +4675,7 @@ dependencies = [ [[package]] name = "mithril-persistence" -version = "0.2.76" +version = "0.2.77" dependencies = [ "anyhow", "async-trait", diff --git a/docs/runbook/recompute-certificates-hash/README.md b/docs/runbook/recompute-certificates-hash/README.md index b678d09bc60..0427d29cd6f 100644 --- a/docs/runbook/recompute-certificates-hash/README.md +++ b/docs/runbook/recompute-certificates-hash/README.md @@ -70,7 +70,7 @@ cd /home/curry/temp Download the mithril pre-compiled binaries package: ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/IntersectMBO/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-aggregator -d $MITHRIL_DISTRIBUTION -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/IntersectMBO/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-aggregator -d $MITHRIL_DISTRIBUTION -p "$(pwd)" ``` Make sure you are running the expected version of the aggregator: diff --git a/docs/runbook/warmup-cardano-node/README.md b/docs/runbook/warmup-cardano-node/README.md index 2633d4beebc..7278f1c44ee 100644 --- a/docs/runbook/warmup-cardano-node/README.md +++ b/docs/runbook/warmup-cardano-node/README.md @@ -96,7 +96,7 @@ cd /home/curry/data/temp ### Download the Mithril client ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/IntersectMBO/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-client -d latest -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/IntersectMBO/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-client -d latest -p "$(pwd)" ``` ### Download the latest Cardano database snapshot diff --git a/docs/website/blog/2024-11-25-one-line-binaries-installer.md b/docs/website/blog/2024-11-25-one-line-binaries-installer.md index 4f7f9f365ef..a5165751e17 100644 --- a/docs/website/blog/2024-11-25-one-line-binaries-installer.md +++ b/docs/website/blog/2024-11-25-one-line-binaries-installer.md @@ -26,25 +26,25 @@ The one line command is also displayed in the various `Download the pre-built bi - Download the **latest Mithril signer** in the current directory: ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d latest -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d latest -p "$(pwd)" ``` - Download the **latest Mithril client CLI** in the current directory: ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-client -d latest -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-client -d latest -p "$(pwd)" ``` - Download the **unstable Mithril aggregator** in the current directory: ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-aggregator -d unstable -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-aggregator -d unstable -p "$(pwd)" ``` - Download the **Mithril client of distribution `2445.0`** in the current directory: ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-client -d 2445.0 -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-client -d 2445.0 -p "$(pwd)" ``` #### Installer usage diff --git a/docs/website/blog/2024-12-17-distribution-2450.md b/docs/website/blog/2024-12-17-distribution-2450.md index 0b097164ff3..789125d9d50 100644 --- a/docs/website/blog/2024-12-17-distribution-2450.md +++ b/docs/website/blog/2024-12-17-distribution-2450.md @@ -28,7 +28,7 @@ If you are running a **Mithril signer**: You can easily update your Mithril signer with this one-line command (it downloads to the current directory by default; you can specify a custom folder by using the `-p` option): ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2450.0 -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2450.0 -p "$(pwd)" ``` For any inquiries or assistance, feel free to contact the team on the [Discord channel](https://discord.gg/5kaErDKDRq). diff --git a/docs/website/blog/2024-12-17-era-switch-pythagoras.md b/docs/website/blog/2024-12-17-era-switch-pythagoras.md index c3211bfd610..1d446f108f2 100644 --- a/docs/website/blog/2024-12-17-era-switch-pythagoras.md +++ b/docs/website/blog/2024-12-17-era-switch-pythagoras.md @@ -39,7 +39,7 @@ All other versions are **not** compatible with the new era and must be updated. You can easily update your Mithril signer with this one-line command (it will be downloaded to the current directory by default; you can specify a custom folder with the `-p` option): ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d latest -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d latest -p "$(pwd)" ``` ::: diff --git a/docs/website/blog/2025-02-14-client-security-advisory.md b/docs/website/blog/2025-02-14-client-security-advisory.md index b5339cf7ef0..589ce3ba411 100644 --- a/docs/website/blog/2025-02-14-client-security-advisory.md +++ b/docs/website/blog/2025-02-14-client-security-advisory.md @@ -39,7 +39,7 @@ We strongly encourage all the `mainnet` users running a **client library, client - The **Mithril client CLI** has been fixed with version `0.11.0` and can be downloaded with the following command: ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-client -d 2506.0 -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-client -d 2506.0 -p "$(pwd)" ``` **Note that all the previous versions must not be used anymore.** diff --git a/docs/website/blog/2025-02-14-distribution-2506.md b/docs/website/blog/2025-02-14-distribution-2506.md index 7f9820e5c9e..e9e33ee56ad 100644 --- a/docs/website/blog/2025-02-14-distribution-2506.md +++ b/docs/website/blog/2025-02-14-distribution-2506.md @@ -33,7 +33,7 @@ If you are running a **Mithril signer**: You can easily update the Mithril signer with this one-line command. It downloads to the current directory by default, but a custom folder can be specified using the -p option: ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2506.0 -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2506.0 -p "$(pwd)" ``` For any inquiries or assistance, feel free to contact the team on the [Discord channel](https://discord.gg/5kaErDKDRq). diff --git a/docs/website/blog/2025-03-28-distribution-2513.md b/docs/website/blog/2025-03-28-distribution-2513.md index e52d2f1a953..9e32f9bc713 100644 --- a/docs/website/blog/2025-03-28-distribution-2513.md +++ b/docs/website/blog/2025-03-28-distribution-2513.md @@ -28,7 +28,7 @@ If you are running a **Mithril signer**: You can update the Mithril signer using the one-line command below. It downloads to the current directory by default, but you can specify a custom folder using the -p option: ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2513.0 -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2513.0 -p "$(pwd)" ``` For any inquiries or assistance, contact the team on the [Discord channel](https://discord.gg/5kaErDKDRq). diff --git a/docs/website/blog/2025-05-05-distribution-2517.md b/docs/website/blog/2025-05-05-distribution-2517.md index 3b60fefd205..e074f599198 100644 --- a/docs/website/blog/2025-05-05-distribution-2517.md +++ b/docs/website/blog/2025-05-05-distribution-2517.md @@ -42,7 +42,7 @@ If you are running a **Mithril signer**: You can update the Mithril signer using the one-line command below. It downloads to the current directory by default, but you can specify a custom folder using the -p option: ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2517.1 -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2517.1 -p "$(pwd)" ``` For any inquiries or assistance, contact the team on the [Discord channel](https://discord.gg/5kaErDKDRq). diff --git a/docs/website/blog/2025-05-06-client-breaking-change.md b/docs/website/blog/2025-05-06-client-breaking-change.md index 7b504bae331..b73aaa5b529 100644 --- a/docs/website/blog/2025-05-06-client-breaking-change.md +++ b/docs/website/blog/2025-05-06-client-breaking-change.md @@ -35,7 +35,7 @@ The new command requires an **ancillary verification key**. This key can be prov To update the Mithril client CLI, use the following one-line command. By default, it downloads to the current directory. To specify a custom folder, use the `-p` option: ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-client -d 2517.1 -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-client -d 2517.1 -p "$(pwd)" ``` For more details, refer to the [Mithril client node](https://mithril.network/doc/manual/develop/nodes/mithril-client) documentation. diff --git a/docs/website/blog/2025-05-07-client-security-advisory.md b/docs/website/blog/2025-05-07-client-security-advisory.md index d640d2ea94d..66b59644520 100644 --- a/docs/website/blog/2025-05-07-client-security-advisory.md +++ b/docs/website/blog/2025-05-07-client-security-advisory.md @@ -23,7 +23,7 @@ We strongly encourage all `mainnet` users running a **client library or client C - The **Mithril client CLI** has been fixed with version `0.12.1` and can be downloaded with the following command: ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-client -d 2517.1 -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-client -d 2517.1 -p "$(pwd)" ``` **Note that all the previous versions must not be used anymore.** diff --git a/docs/website/blog/2025-06-16-distribution-2524.md b/docs/website/blog/2025-06-16-distribution-2524.md index 2e5a56e826a..2437e419fe7 100644 --- a/docs/website/blog/2025-06-16-distribution-2524.md +++ b/docs/website/blog/2025-06-16-distribution-2524.md @@ -26,7 +26,7 @@ If running a **Mithril signer**: You can update the Mithril signer using the one-line command below. It downloads to the current directory by default, but you can specify a custom folder using the -p option: ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2524.0 -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2524.0 -p "$(pwd)" ``` For any inquiries or assistance, contact the team on the [Discord channel](https://discord.gg/5kaErDKDRq). diff --git a/docs/website/blog/2025-06-17-client-cli-cardano-database-backends.md b/docs/website/blog/2025-06-17-client-cli-cardano-database-backends.md index 04f9605cd4e..261b797ef98 100644 --- a/docs/website/blog/2025-06-17-client-cli-cardano-database-backends.md +++ b/docs/website/blog/2025-06-17-client-cli-cardano-database-backends.md @@ -16,6 +16,12 @@ tags: ### Switching to Cardano database incremental certification +:::info Update 2026/08/03 + +The `v1` backend of the Cardano database has been **removed**. The `v2` backend is now the **only supported** backend for the Cardano database certification in the Mithril client CLI and library. + +::: + A new incremental certification process has been introduced for the **Cardano node internal database**. This enhancement is part of ongoing efforts to improve the Mithril protocol and optimize Cardano node bootstrapping. More information about the Cardano database certification is available at: @@ -53,7 +59,7 @@ To support this transition, both certification versions will remain available du - [x] **Distribution [2617](https://github.com/input-output-hk/mithril/releases/tag/2617.0)**: - The `v1` backend is decommissioned and removed from the client CLI and library. -- [ ] **Distribution +5**: +- [x] **Distribution [2630](https://github.com/input-output-hk/mithril/releases/tag/2630.0)**: - The `v1` backend will be fully removed from the signer and aggregator. If you have any questions or need assistance, contact the team on the [Discord channel](https://discord.gg/5kaErDKDRq). diff --git a/docs/website/blog/2025-09-17-distribution-2537.md b/docs/website/blog/2025-09-17-distribution-2537.md index bb3c06f730b..6e12d98602f 100644 --- a/docs/website/blog/2025-09-17-distribution-2537.md +++ b/docs/website/blog/2025-09-17-distribution-2537.md @@ -29,7 +29,7 @@ For those running a **Mithril signer**: You can update the Mithril signer using the one-line command below. By default, it downloads to the current directory, but you can specify a custom folder with the -p option: ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2537.0 -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2537.0 -p "$(pwd)" ``` For any inquiries or assistance, contact the team on the [Discord channel](https://discord.gg/5kaErDKDRq). diff --git a/docs/website/blog/2025-11-03-distribution-2543.md b/docs/website/blog/2025-11-03-distribution-2543.md index a06dac038b0..43702c5715f 100644 --- a/docs/website/blog/2025-11-03-distribution-2543.md +++ b/docs/website/blog/2025-11-03-distribution-2543.md @@ -32,7 +32,7 @@ For those running a **Mithril signer**: You can update the Mithril signer using the one-line command below. By default, it downloads to the current directory, but you can specify a custom folder with the -p option: ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2543.1-hotfix -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2543.1-hotfix -p "$(pwd)" ``` For any inquiries or assistance, contact the team on the [Discord channel](https://discord.gg/5kaErDKDRq). diff --git a/docs/website/blog/2026-01-29-distribution-2603.md b/docs/website/blog/2026-01-29-distribution-2603.md index 4f3fd329a22..99b6a6dec50 100644 --- a/docs/website/blog/2026-01-29-distribution-2603.md +++ b/docs/website/blog/2026-01-29-distribution-2603.md @@ -27,7 +27,7 @@ For those running a **Mithril signer**: You can update the Mithril signer using the one-line command below. By default, it downloads to the current directory, but you can specify a custom folder with the -p option: ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2603.1 -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2603.1 -p "$(pwd)" ``` For any inquiries or assistance, contact the team on the [Discord channel](https://discord.gg/5kaErDKDRq). diff --git a/docs/website/blog/2026-04-28-distribution-2617.md b/docs/website/blog/2026-04-28-distribution-2617.md index 598090d8ee2..8d723500567 100644 --- a/docs/website/blog/2026-04-28-distribution-2617.md +++ b/docs/website/blog/2026-04-28-distribution-2617.md @@ -40,7 +40,7 @@ For those running a **Mithril signer**: You can update the Mithril signer using the one-line command below. By default, it downloads to the current directory, but you can specify a custom folder with the -p option: ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2617.0 -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2617.0 -p "$(pwd)" ``` For any inquiries or assistance, contact the team on the [Discord channel](https://discord.gg/5kaErDKDRq). diff --git a/docs/website/blog/2026-04-28-mithril-signer-stable-release.md b/docs/website/blog/2026-04-28-mithril-signer-stable-release.md index 99b56e8f252..355900884d4 100644 --- a/docs/website/blog/2026-04-28-mithril-signer-stable-release.md +++ b/docs/website/blog/2026-04-28-mithril-signer-stable-release.md @@ -25,7 +25,7 @@ From this release onwards, backward-incompatible changes to the Mithril signer w If you operate a Mithril signer on `release-mainnet` or `release-preprod`, upgrade to version `1.0.0` as part of the distribution [`2617.0`](https://github.com/input-output-hk/mithril/releases/tag/2617.0) rollout (no configuration changes are required): ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2617.0 -p $(pwd) +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2617.0 -p "$(pwd)" ``` :::info diff --git a/docs/website/blog/2026-08-03-distribution-2630.md b/docs/website/blog/2026-08-03-distribution-2630.md new file mode 100644 index 00000000000..53d56eadcbd --- /dev/null +++ b/docs/website/blog/2026-08-03-distribution-2630.md @@ -0,0 +1,30 @@ +--- +title: Distribution `2630` is now available +authors: + - name: Mithril Team +tags: [release, distribution, 2630] +--- + +### Distribution `2630` is now available + +The [`2630.0`](https://github.com/input-output-hk/mithril/releases/tag/2630.0) distribution has been released, introducing the following changes: + +- **Breaking Changes**: Removed support for the `CardanoImmutableFilesFull` certificate type in the Mithril signer and aggregator. Use `CardanoDatabase` (also known as Cardano database v2) instead. +- **Cardano Blocks and Transactions**: Activation of the testing phase on the `pre-release-preview` and `release-preprod` networks. +- **Maintenance**: Bug fixes and performance improvements. + +This new distribution has been deployed to the **Mithril aggregator** on the `release-mainnet`, `release-preprod` and `pre-release-preview` networks. + +For those running a **Mithril signer**: + +- **pre-release-preview** network: upgrade the signer node binary to version `1.1.6` (no configuration changes are required) +- **release-preprod** network: upgrade the signer node binary to version `1.1.6` (no configuration changes are required) +- **release-mainnet** network: upgrade the signer node binary to version `1.1.6` (no configuration changes are required). + +You can update the Mithril signer using the one-line command below. By default, it downloads to the current directory, but you can specify a custom folder with the -p option: + +```bash +curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2630.0 -p "$(pwd)" +``` + +For any inquiries or assistance, contact the team on the [Discord channel](https://discord.gg/5kaErDKDRq). diff --git a/internal/mithril-persistence/Cargo.toml b/internal/mithril-persistence/Cargo.toml index 44860e5ce16..1ec5929583d 100644 --- a/internal/mithril-persistence/Cargo.toml +++ b/internal/mithril-persistence/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-persistence" -version = "0.2.76" +version = "0.2.77" description = "Common types, interfaces, and utilities to persist data for Mithril nodes." authors = { workspace = true } edition = { workspace = true } diff --git a/internal/mithril-persistence/src/database/version_checker.rs b/internal/mithril-persistence/src/database/version_checker.rs index ee3b3b5b227..5cb39c608c2 100644 --- a/internal/mithril-persistence/src/database/version_checker.rs +++ b/internal/mithril-persistence/src/database/version_checker.rs @@ -203,7 +203,7 @@ insert into db_version (application_type, version, updated_at) values ('{applica Please migrate your {} node database with the minimum node version compatible available in the distribution: '{}'. First, download the required node version in your current directory by running the following command: - curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/IntersectMBO/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-{} -d {} -p $(pwd) + curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/IntersectMBO/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-{} -d {} -p "$(pwd)" Then run the database migrate command: mithril-{} database migrate --stores-directory /path/to/stores-directory @@ -564,7 +564,7 @@ mod tests { .check_minimum_required_version(1, &migration) .expect_err("Check minimum required version should fail when gap between db version and migration version"); - assert!(error.to_string().contains("curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/IntersectMBO/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-aggregator -d 2511.0 -p $(pwd)")); + assert!(error.to_string().contains("curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/IntersectMBO/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-aggregator -d 2511.0 -p \"$(pwd)\"")); } #[test] @@ -596,6 +596,6 @@ mod tests { .apply() .expect_err("Should fail when applying squashed migration on old database"); - assert!(error.to_string().contains("curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/IntersectMBO/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-aggregator -d 2511.0 -p $(pwd)")); + assert!(error.to_string().contains("curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/IntersectMBO/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-aggregator -d 2511.0 -p \"$(pwd)\"")); } }