mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 23:21:02 +00:00
CheckBridgedBlockNumber signed extension to reject duplicate header-submit transactions (#1352)
* CheckBridgedBlockNumber signed extension to reject duplicate header submit transactions * fix depends_on
This commit is contained in:
committed by
Bastian Köcher
parent
748c265c47
commit
f64357e7e8
@@ -500,6 +500,12 @@ construct_runtime!(
|
||||
}
|
||||
);
|
||||
|
||||
pallet_bridge_grandpa::declare_check_bridged_block_number_ext! {
|
||||
Runtime,
|
||||
Call::BridgeRialtoGrandpa => RialtoGrandpaInstance,
|
||||
Call::BridgeWestendGrandpa => WestendGrandpaInstance
|
||||
}
|
||||
|
||||
/// The address format for describing accounts.
|
||||
pub type Address = AccountId;
|
||||
/// Block header type as expected by this runtime.
|
||||
@@ -520,6 +526,7 @@ pub type SignedExtra = (
|
||||
frame_system::CheckNonce<Runtime>,
|
||||
frame_system::CheckWeight<Runtime>,
|
||||
pallet_transaction_payment::ChargeTransactionPayment<Runtime>,
|
||||
CheckBridgedBlockNumber,
|
||||
);
|
||||
/// The payload being signed in transactions.
|
||||
pub type SignedPayload = generic::SignedPayload<Call, SignedExtra>;
|
||||
|
||||
Reference in New Issue
Block a user