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
Generated
+1189 -1226
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -22,7 +22,7 @@ docify = { version = "0.2.9" }
futures = { version = "0.3.31" }
futures-timer = { version = "3.0.2" }
jsonrpsee = { version = "0.24.3" }
polkadot-sdk = { version = "0.12.0", default-features = false }
polkadot-sdk = { version = "0.12.2", default-features = false }
serde_json = { version = "1.0.132", default-features = false }
codec = { version = "3.6.12", default-features = false, package = "parity-scale-codec" }
scale-info = { version = "2.11.1", default-features = false }
+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),