Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into feat/price_optimizi…
Browse files Browse the repository at this point in the history
…ng_algo
  • Loading branch information
segfault-magnet committed Dec 19, 2024
2 parents c34af7e + ec7fd38 commit d8d39de
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
18 changes: 11 additions & 7 deletions committer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,23 @@ 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);
handles.push(fee_tracker_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(
Expand Down
3 changes: 3 additions & 0 deletions e2e/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d8d39de

Please sign in to comment.