mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 01:41:03 +00:00
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:
committed by
GitHub
parent
bc2e5e1fe2
commit
a462207158
@@ -731,6 +731,7 @@ pub(crate) mod tests {
|
||||
};
|
||||
use bp_test_utils::{
|
||||
authority_list, generate_owned_bridge_module_tests, make_default_justification,
|
||||
TEST_GRANDPA_SET_ID,
|
||||
};
|
||||
use frame_support::{
|
||||
assert_noop, assert_ok,
|
||||
@@ -777,10 +778,11 @@ pub(crate) mod tests {
|
||||
let hash = header.hash();
|
||||
let justification = make_default_justification(&header);
|
||||
assert_ok!(
|
||||
pallet_bridge_grandpa::Pallet::<TestRuntime, BridgesGrandpaPalletInstance>::submit_finality_proof(
|
||||
pallet_bridge_grandpa::Pallet::<TestRuntime, BridgesGrandpaPalletInstance>::submit_finality_proof_ex(
|
||||
RuntimeOrigin::signed(1),
|
||||
Box::new(header),
|
||||
justification.clone(),
|
||||
TEST_GRANDPA_SET_ID,
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user