Update substrate & polkadot (#82)

This commit is contained in:
Cecile Tonglet
2020-04-21 12:17:50 +02:00
committed by GitHub
parent 9f9b3fb4c6
commit 06a36a6650
8 changed files with 1640 additions and 1598 deletions
+3 -3
View File
@@ -27,7 +27,6 @@ use sc_client::genesis;
use sc_network::config::TransportConfig;
use sc_service::{
config::{NetworkConfiguration, NodeKeyConfig, PrometheusConfig},
Configuration, Role as ServiceRole,
};
use sp_core::hexdisplay::HexDisplay;
use sp_runtime::{
@@ -194,6 +193,7 @@ pub fn run() -> Result<()> {
crate::service::run_collator(config, key, polkadot_config)
},
parachain_runtime::VERSION,
)
}
}
@@ -277,7 +277,7 @@ impl CliConfiguration for PolkadotCli {
&self,
chain_spec: &Box<dyn sc_service::ChainSpec>,
is_dev: bool,
net_config_dir: &PathBuf,
net_config_dir: PathBuf,
client_id: &str,
node_name: &str,
node_key: NodeKeyConfig,
@@ -289,7 +289,7 @@ impl CliConfiguration for PolkadotCli {
x.network_config(
chain_spec,
is_dev,
net_config_dir,
Some(net_config_dir),
client_id,
node_name,
node_key,