mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
Add BridgeRejectObsoleteHeadersAndMessages to bridge hubs (#1972)
This commit is contained in:
@@ -122,8 +122,7 @@ pub type SignedExtra = (
|
||||
frame_system::CheckNonce<Runtime>,
|
||||
frame_system::CheckWeight<Runtime>,
|
||||
pallet_transaction_payment::ChargeTransactionPayment<Runtime>,
|
||||
// TODO: do we need?
|
||||
// BridgeRejectObsoleteHeadersAndMessages,
|
||||
BridgeRejectObsoleteHeadersAndMessages,
|
||||
);
|
||||
|
||||
/// Unchecked extrinsic type as expected by this runtime.
|
||||
@@ -624,6 +623,16 @@ construct_runtime!(
|
||||
}
|
||||
);
|
||||
|
||||
bridge_runtime_common::generate_bridge_reject_obsolete_headers_and_messages! {
|
||||
RuntimeCall, AccountId,
|
||||
// Grandpa
|
||||
BridgeRococoGrandpa, BridgeWococoGrandpa,
|
||||
// Parachains
|
||||
BridgeRococoParachain, BridgeWococoParachain,
|
||||
// Messages
|
||||
BridgeRococoMessages, BridgeWococoMessages
|
||||
}
|
||||
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
#[macro_use]
|
||||
extern crate frame_benchmarking;
|
||||
|
||||
Reference in New Issue
Block a user