mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 06:21:02 +00:00
Boost message delivery transaction priority (#2023)
* reject delivery transactions with at least one obsolete message * clippy * boost priority of message delivery transactions: transaction with more messages has larger priority than the transaction with less messages * apply review suggestion * CallInfo::bundled_messages * validate_does_not_boost_priority_of_message_delivery_transactons_with_too_many_messages * clippy
This commit is contained in:
committed by
Bastian Köcher
parent
ceea1a10f7
commit
f7380490c0
@@ -589,11 +589,13 @@ generate_bridge_reject_obsolete_headers_and_messages! {
|
||||
|
||||
bp_runtime::generate_static_str_provider!(BridgeRefundRialtoPara2000Lane0Msgs);
|
||||
/// Signed extension that refunds relayers that are delivering messages from the Rialto parachain.
|
||||
pub type PriorityBoostPerMessage = ConstU64<921_900_294>;
|
||||
pub type BridgeRefundRialtoParachainMessages = RefundBridgedParachainMessages<
|
||||
Runtime,
|
||||
RefundableParachain<WithRialtoParachainsInstance, RialtoParachainId>,
|
||||
RefundableMessagesLane<WithRialtoParachainMessagesInstance, RialtoParachainMessagesLane>,
|
||||
ActualFeeRefund<Runtime>,
|
||||
PriorityBoostPerMessage,
|
||||
StrBridgeRefundRialtoPara2000Lane0Msgs,
|
||||
>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user