mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
Companion for substrate#11962 (#5852)
* Companion for substrate#11962 * update lockfile Co-authored-by: acatangiu <adrian@parity.io>
This commit is contained in:
Generated
+171
-171
File diff suppressed because it is too large
Load Diff
@@ -590,7 +590,7 @@ where
|
|||||||
finality_provider: finality_proof_provider.clone(),
|
finality_provider: finality_proof_provider.clone(),
|
||||||
},
|
},
|
||||||
beefy: polkadot_rpc::BeefyDeps {
|
beefy: polkadot_rpc::BeefyDeps {
|
||||||
beefy_commitment_stream: beefy_rpc_links.from_voter_justif_stream.clone(),
|
beefy_finality_proof_stream: beefy_rpc_links.from_voter_justif_stream.clone(),
|
||||||
beefy_best_block_stream: beefy_rpc_links.from_voter_best_beefy_stream.clone(),
|
beefy_best_block_stream: beefy_rpc_links.from_voter_best_beefy_stream.clone(),
|
||||||
subscription_executor,
|
subscription_executor,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -61,11 +61,11 @@ pub struct GrandpaDeps<B> {
|
|||||||
pub finality_provider: Arc<FinalityProofProvider<B, Block>>,
|
pub finality_provider: Arc<FinalityProofProvider<B, Block>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
use beefy_gadget::notification::{BeefyBestBlockStream, BeefySignedCommitmentStream};
|
use beefy_gadget::notification::{BeefyBestBlockStream, BeefyVersionedFinalityProofStream};
|
||||||
/// Dependencies for BEEFY
|
/// Dependencies for BEEFY
|
||||||
pub struct BeefyDeps {
|
pub struct BeefyDeps {
|
||||||
/// Receives notifications about signed commitment events from BEEFY.
|
/// Receives notifications about finality proof events from BEEFY.
|
||||||
pub beefy_commitment_stream: BeefySignedCommitmentStream<Block>,
|
pub beefy_finality_proof_stream: BeefyVersionedFinalityProofStream<Block>,
|
||||||
/// Receives notifications about best block events from BEEFY.
|
/// Receives notifications about best block events from BEEFY.
|
||||||
pub beefy_best_block_stream: BeefyBestBlockStream<Block>,
|
pub beefy_best_block_stream: BeefyBestBlockStream<Block>,
|
||||||
/// Executor to drive the subscription manager in the BEEFY RPC handler.
|
/// Executor to drive the subscription manager in the BEEFY RPC handler.
|
||||||
@@ -167,7 +167,7 @@ where
|
|||||||
|
|
||||||
io.merge(
|
io.merge(
|
||||||
Beefy::<Block>::new(
|
Beefy::<Block>::new(
|
||||||
beefy.beefy_commitment_stream,
|
beefy.beefy_finality_proof_stream,
|
||||||
beefy.beefy_best_block_stream,
|
beefy.beefy_best_block_stream,
|
||||||
beefy.subscription_executor,
|
beefy.subscription_executor,
|
||||||
)?
|
)?
|
||||||
|
|||||||
Reference in New Issue
Block a user