Skip to content

Commit 623dbe8

Browse files
authored
Merge pull request #2514 from input-output-hk/ctl/fix-ancillary-print-message-format
fix(client-cli): improve message format about fast boostrap
2 parents 939b611 + 0c85826 commit 623dbe8

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mithril-client-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mithril-client-cli"
3-
version = "0.12.4"
3+
version = "0.12.5"
44
description = "A Mithril Client"
55
authors = { workspace = true }
66
edition = { workspace = true }

mithril-client-cli/src/utils/cardano_db.rs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,17 @@ pub struct AncillaryLogMessage {}
5252
impl AncillaryLogMessage {
5353
/// This method provides guidance on how to enable fast bootstrap by including ancillary files
5454
pub fn warn_fast_bootstrap_not_available() {
55-
println!("The fast bootstrap of the Cardano node is not available with the current parameters used in this command: this means that the ledger state will be recomputed from genesis at startup of the Cardano node.
55+
println!("The fast bootstrap of the Cardano node is not available with the current parameters used in this command.
56+
This means that the ledger state will be recomputed from genesis at startup of the Cardano node.
5657
57-
In order to activate the fast bootstrap of the Cardano node, add the following parameters to the command:
58+
In order to activate the fast bootstrap of the Cardano node, add the following parameters to the command:
59+
--include-ancillary and --ancillary-verification-key (or environment variable ANCILLARY_VERIFICATION_KEY).
5860
59-
--include-ancillary
60-
and --ancillary-verification-key (or environment variable ANCILLARY_VERIFICATION_KEY). Caution: The ancillary files, including the ledger state, are not currently signed by Mithril. As a mitigation, IOG owned keys are used to sign these files. For more information, please refer to the network configuration page of the documentation (https://mithril.network/doc/manual/getting-started/network-configurations).");
61+
Caution: The ancillary files, including the ledger state, are not currently signed by Mithril.
62+
As a mitigation, IOG owned keys are used to sign these files.
63+
For more information, please refer to the network configuration page of the documentation (https://mithril.network/doc/manual/getting-started/network-configurations).
64+
"
65+
);
6166
}
6267

6368
pub fn warn_ancillary_not_signed_by_mithril() {

0 commit comments

Comments
 (0)