mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user