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
parent
ceea1a10
Showing
- bridges/bin/millau/runtime/Cargo.toml 1 addition, 1 deletionbridges/bin/millau/runtime/Cargo.toml
- bridges/bin/millau/runtime/src/lib.rs 2 additions, 0 deletionsbridges/bin/millau/runtime/src/lib.rs
- bridges/bin/millau/runtime/src/rialto_parachain_messages.rs 70 additions, 0 deletionsbridges/bin/millau/runtime/src/rialto_parachain_messages.rs
- bridges/bin/runtime-common/Cargo.toml 1 addition, 0 deletionsbridges/bin/runtime-common/Cargo.toml
- bridges/bin/runtime-common/src/lib.rs 1 addition, 0 deletionsbridges/bin/runtime-common/src/lib.rs
- bridges/bin/runtime-common/src/messages_call_ext.rs 23 additions, 1 deletionbridges/bin/runtime-common/src/messages_call_ext.rs
- bridges/bin/runtime-common/src/mock.rs 1 addition, 1 deletionbridges/bin/runtime-common/src/mock.rs
- bridges/bin/runtime-common/src/priority_calculator.rs 201 additions, 0 deletionsbridges/bin/runtime-common/src/priority_calculator.rs
- bridges/bin/runtime-common/src/refund_relayer_extension.rs 181 additions, 62 deletionsbridges/bin/runtime-common/src/refund_relayer_extension.rs
Please register or sign in to comment