mirror of
https://github.com/pezkuwichain/pez-minimal-template.git
synced 2026-04-21 23:47:57 +00:00
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:
committed by
GitHub
parent
a76e4bf0ed
commit
dbc4be1c1f
Generated
+1189
-1226
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -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
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user