Skip to content

Commit

Permalink
cumulus-test-service: block import fix (#2430)
Browse files Browse the repository at this point in the history
This is follow-up for:
#2001

Block import queue for `test-parachain` (`cumulus-test-service`) shall
use delayed best block feature.

This should fixed broken zombienet tests.
  • Loading branch information
michalkucharczyk authored Nov 21, 2023
1 parent 50811d6 commit 2183669
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cumulus/test/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ pub fn new_partial(
sc_service::new_full_parts::<Block, RuntimeApi, _>(config, None, executor)?;
let client = Arc::new(client);

let block_import = ParachainBlockImport::new(client.clone(), backend.clone());
let block_import =
ParachainBlockImport::new_with_delayed_best_block(client.clone(), backend.clone());

let registry = config.prometheus_registry();

Expand Down

0 comments on commit 2183669

Please sign in to comment.