Unverified Commit 12cd4b28 authored by Jon Häggblad's avatar Jon Häggblad Committed by GitHub
Browse files

Companion for #7339: cleaner GRANDPA RPC API (#2100)

* service: update for substrate PR #7339

* "Update Substrate"

Co-authored-by: parity-processbot <>
parent 6f95a659
Pipeline #121359 passed with stages
in 26 minutes and 18 seconds
This diff is collapsed.
......@@ -284,8 +284,11 @@ fn new_partial<RuntimeApi, Executor>(config: &mut Configuration, jaeger_agent: O
let justification_stream = grandpa_link.justification_stream();
let shared_authority_set = grandpa_link.shared_authority_set().clone();
let shared_voter_state = grandpa::SharedVoterState::empty();
let finality_proof_provider =
GrandpaFinalityProofProvider::new_for_service(backend.clone(), client.clone());
let finality_proof_provider = GrandpaFinalityProofProvider::new_for_service(
backend.clone(),
client.clone(),
Some(shared_authority_set.clone()),
);
let import_setup = (block_import.clone(), grandpa_link, babe_link.clone());
let rpc_setup = shared_voter_state.clone();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment