mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
* Adapt code to changes in substrate * WIP * "Update Substrate" Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+139
-139
File diff suppressed because it is too large
Load Diff
@@ -216,7 +216,6 @@ fn new_partial<RuntimeApi, Executor>(config: &mut Configuration, jaeger_agent: O
|
|||||||
babe::BabeLink<Block>
|
babe::BabeLink<Block>
|
||||||
),
|
),
|
||||||
grandpa::SharedVoterState,
|
grandpa::SharedVoterState,
|
||||||
Option<telemetry::TelemetrySpan>,
|
|
||||||
)
|
)
|
||||||
>,
|
>,
|
||||||
Error
|
Error
|
||||||
@@ -232,7 +231,7 @@ fn new_partial<RuntimeApi, Executor>(config: &mut Configuration, jaeger_agent: O
|
|||||||
|
|
||||||
let inherent_data_providers = inherents::InherentDataProviders::new();
|
let inherent_data_providers = inherents::InherentDataProviders::new();
|
||||||
|
|
||||||
let (client, backend, keystore_container, task_manager, telemetry_span) =
|
let (client, backend, keystore_container, task_manager) =
|
||||||
service::new_full_parts::<Block, RuntimeApi, Executor>(&config)?;
|
service::new_full_parts::<Block, RuntimeApi, Executor>(&config)?;
|
||||||
let client = Arc::new(client);
|
let client = Arc::new(client);
|
||||||
|
|
||||||
@@ -336,7 +335,7 @@ fn new_partial<RuntimeApi, Executor>(config: &mut Configuration, jaeger_agent: O
|
|||||||
import_queue,
|
import_queue,
|
||||||
transaction_pool,
|
transaction_pool,
|
||||||
inherent_data_providers,
|
inherent_data_providers,
|
||||||
other: (rpc_extensions_builder, import_setup, rpc_setup, telemetry_span)
|
other: (rpc_extensions_builder, import_setup, rpc_setup)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -566,7 +565,7 @@ pub fn new_full<RuntimeApi, Executor>(
|
|||||||
import_queue,
|
import_queue,
|
||||||
transaction_pool,
|
transaction_pool,
|
||||||
inherent_data_providers,
|
inherent_data_providers,
|
||||||
other: (rpc_extensions_builder, import_setup, rpc_setup, telemetry_span)
|
other: (rpc_extensions_builder, import_setup, rpc_setup)
|
||||||
} = new_partial::<RuntimeApi, Executor>(&mut config, jaeger_agent)?;
|
} = new_partial::<RuntimeApi, Executor>(&mut config, jaeger_agent)?;
|
||||||
|
|
||||||
let prometheus_registry = config.prometheus_registry().cloned();
|
let prometheus_registry = config.prometheus_registry().cloned();
|
||||||
@@ -631,7 +630,6 @@ pub fn new_full<RuntimeApi, Executor>(
|
|||||||
remote_blockchain: None,
|
remote_blockchain: None,
|
||||||
network_status_sinks: network_status_sinks.clone(),
|
network_status_sinks: network_status_sinks.clone(),
|
||||||
system_rpc_tx,
|
system_rpc_tx,
|
||||||
telemetry_span,
|
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
let (block_import, link_half, babe_link) = import_setup;
|
let (block_import, link_half, babe_link) = import_setup;
|
||||||
@@ -844,7 +842,7 @@ fn new_light<Runtime, Dispatch>(mut config: Configuration) -> Result<(
|
|||||||
set_prometheus_registry(&mut config)?;
|
set_prometheus_registry(&mut config)?;
|
||||||
use sc_client_api::backend::RemoteBackend;
|
use sc_client_api::backend::RemoteBackend;
|
||||||
|
|
||||||
let (client, backend, keystore_container, mut task_manager, on_demand, telemetry_span) =
|
let (client, backend, keystore_container, mut task_manager, on_demand) =
|
||||||
service::new_light_parts::<Block, Runtime, Dispatch>(&config)?;
|
service::new_light_parts::<Block, Runtime, Dispatch>(&config)?;
|
||||||
|
|
||||||
let select_chain = sc_consensus::LongestChain::new(backend.clone());
|
let select_chain = sc_consensus::LongestChain::new(backend.clone());
|
||||||
@@ -928,7 +926,6 @@ fn new_light<Runtime, Dispatch>(mut config: Configuration) -> Result<(
|
|||||||
network,
|
network,
|
||||||
network_status_sinks,
|
network_status_sinks,
|
||||||
system_rpc_tx,
|
system_rpc_tx,
|
||||||
telemetry_span,
|
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
network_starter.start_network();
|
network_starter.start_network();
|
||||||
|
|||||||
@@ -199,6 +199,7 @@ pub fn node_config(
|
|||||||
informant_output_format: Default::default(),
|
informant_output_format: Default::default(),
|
||||||
disable_log_reloading: false,
|
disable_log_reloading: false,
|
||||||
telemetry_handle: None,
|
telemetry_handle: None,
|
||||||
|
telemetry_span: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user