mirror of
https://github.com/pezkuwichain/pez-minimal-template.git
synced 2026-06-13 06:01:06 +00:00
Update the minimal template to stable2503 (#23)
This synchronizes the template to the stable2503 branch. Co-authored-by: iulianbarbu <14218860+iulianbarbu@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
dbc4be1c1f
commit
cf2536b751
+2
-3
@@ -14,14 +14,13 @@ build = "build.rs"
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
docify = { workspace = true }
|
||||
clap = { features = ["derive"], workspace = true }
|
||||
docify = { workspace = true }
|
||||
futures = { features = ["thread-pool"], workspace = true }
|
||||
futures-timer = { workspace = true }
|
||||
jsonrpsee = { features = ["server"], workspace = true }
|
||||
serde_json = { workspace = true, default-features = true }
|
||||
polkadot-sdk = { workspace = true, features = ["experimental", "node"] }
|
||||
minimal-template-runtime.workspace = true
|
||||
polkadot-sdk = { workspace = true, features = ["experimental", "node"] }
|
||||
|
||||
[build-dependencies]
|
||||
polkadot-sdk = { workspace = true, features = ["substrate-build-script-utils"] }
|
||||
|
||||
@@ -16,8 +16,3 @@
|
||||
initial (genesis) state.
|
||||
- [`service.rs`](./src/service.rs): This file defines the node implementation.
|
||||
It's a place to configure consensus-related topics. In favor of minimalism, this template has no consensus configured.
|
||||
|
||||
|
||||
## Release
|
||||
|
||||
Polkadot SDK Stable 2412
|
||||
|
||||
+1
-2
@@ -134,7 +134,7 @@ pub fn new_full<Network: sc_network::NetworkBackend<Block, <Block as BlockT>::Ha
|
||||
config.prometheus_config.as_ref().map(|cfg| &cfg.registry),
|
||||
);
|
||||
|
||||
let (network, system_rpc_tx, tx_handler_controller, network_starter, sync_service) =
|
||||
let (network, system_rpc_tx, tx_handler_controller, sync_service) =
|
||||
sc_service::build_network(sc_service::BuildNetworkParams {
|
||||
config: &config,
|
||||
net_config,
|
||||
@@ -264,6 +264,5 @@ pub fn new_full<Network: sc_network::NetworkBackend<Block, <Block as BlockT>::Ha
|
||||
_ => {},
|
||||
}
|
||||
|
||||
network_starter.start_network();
|
||||
Ok(task_manager)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user