Introduce submit_finality_proof_ex call to bridges GRANDPA pallet (#3225)

backport of
https://github.com/paritytech/parity-bridges-common/pull/2821 (see
detailed description there)
This commit is contained in:
Svyatoslav Nikolsky
2024-02-06 16:11:27 +03:00
committed by GitHub
parent bc2e5e1fe2
commit a462207158
10 changed files with 580 additions and 133 deletions
@@ -244,6 +244,16 @@ pub enum BridgeGrandpaCall<Header: HeaderT> {
/// All data, required to initialize the pallet.
init_data: InitializationData<Header>,
},
/// `pallet-bridge-grandpa::Call::submit_finality_proof_ex`
#[codec(index = 4)]
submit_finality_proof_ex {
/// The header that we are going to finalize.
finality_target: Box<Header>,
/// Finality justification for the `finality_target`.
justification: justification::GrandpaJustification<Header>,
/// An identifier of the validators set, that have signed the justification.
current_set_id: SetId,
},
}
/// The `BridgeGrandpaCall` used by a chain.