Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mithril-aggregator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mithril-aggregator"
version = "0.5.78"
version = "0.5.79"
description = "A Mithril Aggregator server"
authors = { workspace = true }
edition = { workspace = true }
Expand Down
3 changes: 3 additions & 0 deletions mithril-aggregator/src/dependency_injection/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1451,6 +1451,9 @@ impl DependenciesBuilder {
"Dependencies Builder can not get Cardano network while building genesis container"
})?;

// Disable store pruning for genesis commands
self.configuration.store_retention_limit = None;

let dependencies = GenesisToolsDependency {
network,
ticker_service: self.get_ticker_service().await?,
Expand Down
2 changes: 1 addition & 1 deletion mithril-test-lab/mithril-end-to-end/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mithril-end-to-end"
version = "0.4.38"
version = "0.4.39"
authors = { workspace = true }
edition = { workspace = true }
documentation = { workspace = true }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ impl Aggregator {
pub async fn bootstrap_genesis(&mut self) -> StdResult<()> {
// Clone the command so we can alter it without affecting the original
let mut command = self.command.clone();
command.set_log_name("mithril-aggregator-genesis-bootstrap");
let process_name = "mithril-aggregator-genesis-bootstrap";
command.set_log_name(process_name);

let exit_status = command
.start(&["genesis".to_string(), "bootstrap".to_string()])?
Expand All @@ -158,6 +159,8 @@ impl Aggregator {
if exit_status.success() {
Ok(())
} else {
self.command.tail_logs(Some(process_name), 40).await?;

Err(match exit_status.code() {
Some(c) => {
anyhow!("`mithril-aggregator genesis bootstrap` exited with code: {c}")
Expand Down
Loading