From ec7fd382ac27d61ca6f6f186ad26735cebfdf04f Mon Sep 17 00:00:00 2001 From: hal3e Date: Thu, 19 Dec 2024 01:21:10 +0100 Subject: [PATCH] chore: disable pruner (#175) --- committer/src/main.rs | 18 +++++++++++------- e2e/src/lib.rs | 3 +++ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/committer/src/main.rs b/committer/src/main.rs index 0473d0c7..9b9bf2d6 100644 --- a/committer/src/main.rs +++ b/committer/src/main.rs @@ -92,18 +92,22 @@ async fn main() -> Result<()> { finalization_metric, ); - let state_pruner_handle = setup::state_pruner( - storage.clone(), - cancel_token.clone(), - &metrics_registry, - &config, - ); + // Enable pruner once the issue is resolved + //TODO: https://github.com/FuelLabs/fuel-block-committer/issues/173 + // let state_pruner_handle = setup::state_pruner( + // storage.clone(), + // cancel_token.clone(), + // &metrics_registry, + // &config, + // ); handles.push(state_committer_handle); handles.push(state_importer_handle); handles.push(block_bundler); handles.push(state_listener_handle); - handles.push(state_pruner_handle); + // Enable pruner once the issue is resolved + //TODO: https://github.com/FuelLabs/fuel-block-committer/issues/173 + // handles.push(state_pruner_handle); } launch_api_server( diff --git a/e2e/src/lib.rs b/e2e/src/lib.rs index 2394a1e7..94ee8bd9 100644 --- a/e2e/src/lib.rs +++ b/e2e/src/lib.rs @@ -84,6 +84,9 @@ mod tests { Ok(()) } + // Enable test once the issue is resolved + //TODO: https://github.com/FuelLabs/fuel-block-committer/issues/173 + #[ignore] #[tokio::test(flavor = "multi_thread")] async fn old_state_will_be_pruned() -> Result<()> { use services::state_pruner::port::Storage;