mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-18 08:36:08 +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:
1 parent
748c265c47
commit
f64357e7e8
6 files changed
+185
-3
No files matched your search
@@ -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