mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-25 20:09:55 +00:00
Store accepted justifications in events.
This commit is contained in:
1 parent
5f73a456c5
commit
7807b9de93
27 files changed
+193
-63
No files matched your search
@@ -882,12 +882,22 @@ impl_runtime_apis! {
|
||||
fn best_finalized() -> Option<HeaderId<bp_rialto::Hash, bp_rialto::BlockNumber>> {
|
||||
BridgeRialtoGrandpa::best_finalized()
|
||||
}
|
||||
|
||||
fn accepted_grandpa_finality_proofs(
|
||||
) -> Vec<bp_header_chain::justification::GrandpaJustification<bp_rialto::Header>> {
|
||||
BridgeRialtoGrandpa::accepted_finality_proofs()
|
||||
}
|
||||
}
|
||||
|
||||
impl bp_westend::WestendFinalityApi<Block> for Runtime {
|
||||
fn best_finalized() -> Option<HeaderId<bp_westend::Hash, bp_westend::BlockNumber>> {
|
||||
BridgeWestendGrandpa::best_finalized()
|
||||
}
|
||||
|
||||
fn accepted_grandpa_finality_proofs(
|
||||
) -> Vec<bp_header_chain::justification::GrandpaJustification<bp_westend::Header>> {
|
||||
BridgeWestendGrandpa::accepted_finality_proofs()
|
||||
}
|
||||
}
|
||||
|
||||
impl bp_westend::AssetHubWestendFinalityApi<Block> for Runtime {
|
||||
|
||||
Reference in new issue
Block a user