Update the minimal template to stable2412-4 (#22)

This synchronizes the template to the stable2412 branch.

---------

Signed-off-by: Iulian Barbu <iulian@shuttle.rs>
Co-authored-by: iulianbarbu <14218860+iulianbarbu@users.noreply.github.com>
Co-authored-by: Iulian Barbu <iulian@shuttle.rs>
This commit is contained in:
paritytech-polkadotsdk-templatebot[bot]
2025-04-07 10:41:05 +03:00
committed by GitHub
parent a76e4bf0ed
commit dbc4be1c1f
3 changed files with 1191 additions and 1228 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ pub fn run() -> sc_cli::Result<()> {
None => {
let runner = cli.create_runner(&cli.run)?;
runner.run_node_until_exit(|config| async move {
match config.network.network_backend {
match config.network.network_backend.unwrap_or_default() {
sc_network::config::NetworkBackendType::Libp2p =>
service::new_full::<sc_network::NetworkWorker<_, _>>(config, cli.consensus)
.map_err(sc_cli::Error::Service),