mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
Use Substrate Block Proposer (#1156)
* Use Substrate block builder. * Clean up metrics. * Lock. * Lock. * Switch to newest basic authorship interface * Update Substrate reference and polkadot spec_version * Let's improve Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
@@ -293,8 +293,6 @@ macro_rules! new_full {
|
||||
let (builder, mut import_setup, inherent_data_providers, mut rpc_setup) =
|
||||
new_full_start!($config, $runtime, $dispatch);
|
||||
|
||||
let backend = builder.backend().clone();
|
||||
|
||||
let service = builder
|
||||
.with_finality_proof_provider(|client, backend| {
|
||||
let provider = client as Arc<dyn grandpa::StorageAndProofProvider<_, _>>;
|
||||
@@ -403,7 +401,6 @@ macro_rules! new_full {
|
||||
service.transaction_pool(),
|
||||
validation_service_handle,
|
||||
slot_duration,
|
||||
backend,
|
||||
service.prometheus_registry().as_ref(),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user