Skip to content

Commit

Permalink
Updates Moonkit to fix experimental import (#3085)
Browse files Browse the repository at this point in the history
* Updates Moonkit to fix experimental import

* Update lib.rs
  • Loading branch information
crystalin authored Dec 6, 2024
1 parent 6b50394 commit 20119cd
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 26 deletions.
30 changes: 15 additions & 15 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 node/service/src/lazy_loading/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ where
create_inherent_data_providers,
&task_manager.spawn_essential_handle(),
config.prometheus_registry(),
None,
false,
)?;
let block_import = BlockImportPipeline::Dev(frontier_block_import);

Expand Down
12 changes: 2 additions & 10 deletions node/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -568,11 +568,7 @@ where
create_inherent_data_providers,
&task_manager.spawn_essential_handle(),
config.prometheus_registry(),
if experimental_block_import_strategy {
None
} else {
Some(!dev_service)
},
!experimental_block_import_strategy,
)?,
BlockImportPipeline::Dev(frontier_block_import),
)
Expand All @@ -592,11 +588,7 @@ where
create_inherent_data_providers,
&task_manager.spawn_essential_handle(),
config.prometheus_registry(),
if experimental_block_import_strategy {
None
} else {
Some(!dev_service)
},
!experimental_block_import_strategy,
)?,
BlockImportPipeline::Parachain(parachain_block_import),
)
Expand Down

0 comments on commit 20119cd

Please sign in to comment.