Update to latest Substrate & Polkadot (#107)

* Update to latest Substrate & Polkadot

* Replace --unsafe-rpc-export with --unsafe-rpc-external

* Add --rpc-methods=Unsafe

Documented in substrate 24486f52929e9e518eeccbc6ad6da70e9e5bdf8a

* typos

* more typo

* fixed rpc expose

* Disable the integration test

Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
This commit is contained in:
Bastian Köcher
2020-06-05 16:57:02 +02:00
committed by GitHub
parent 58a41cd205
commit 0326d049c5
14 changed files with 595 additions and 498 deletions
+13 -1
View File
@@ -50,11 +50,20 @@ macro_rules! new_full_start {
let pool = sc_transaction_pool::BasicPool::new(config, pool_api, prometheus_registry);
Ok(pool)
})?
.with_import_queue(|_config, client, _, _| {
.with_import_queue(|
_config,
client,
_,
_,
spawn_task_handle,
registry,
| {
let import_queue = cumulus_consensus::import_queue::import_queue(
client.clone(),
client,
inherent_data_providers.clone(),
spawn_task_handle,
registry,
)?;
Ok(import_queue)
@@ -92,9 +101,12 @@ pub fn run_collator(
})?
.build()?;
let registry = service.prometheus_registry();
let proposer_factory = sc_basic_authorship::ProposerFactory::new(
service.client(),
service.transaction_pool(),
registry.as_ref(),
);
let block_import = service.client();