Dynamic fees for bridges-v1 (#2294)
* impl backpressure in the XcmBlobHaulerAdapter * LocalXcmQueueManager + more adapters * OnMessageDelviered callback * forbid mesage delivery transactions when the channel between target bridge hub and target asset hub is suspended * pallet-xcm-bridge-hub-router * removed commented code * improvements and tests for palle-xcm-bridge-router * use LocalXcmChannel in XcmBlobMessageDispatch * new tests for logic changes in messages pallet * tests for LocalXcmQueueSuspender * tests for LocalXcmQueueMessageProcessor * tests for new logic in the XcmBlobHaulerAdapter * fix other tests in the bridge-runtime-common * extension_reject_call_when_dispatcher_is_inactive * benchmarks for pallet-xcm-bridge-hub-router * get rid of redundant storage value * add new pallet to verify-pallets-build.sh * fixing spellcheck, clippy and rustdoc * trigger CI * Revert "trigger CI" This reverts commit 48f1ba032334e3c6d8470436483736988aa060ac. * change log target for xcm bridge router pallet * Update modules/xcm-bridge-hub-router/src/lib.rs Co-authored-by:Branislav Kontur <bkontur@gmail.com> * use saturated_len where possible * fmt * (Suggestion) Ability to externalize configuration for `ExporterFor` (#2313) * Ability to externalize configuration for `ExporterFor` (Replaced `BridgedNetworkId/SiblingBridgeHubLocation` with `Bridges: ExporterFor`) * Fix millau * Compile fix * Return back `BridgedNetworkId` but as optional filter * Replaced `BaseFee` with fees from inner `Bridges: ExporterFor` * typo * Clippy * Rename LocalXcmChannel to XcmChannelStatusProvider (#2319) * Rename LocalXcmChannel to XcmChannelStatusProvider * fmt * added/fixed some docs * Dynamic fees v1: report congestion status to sending chain (#2318) * report congestion status: changes at the sending chain * OnMessagesDelivered is back * report congestion status: changes at the bridge hub * moer logging * fix? benchmarks * spelling * tests for XcmBlobHaulerAdapter and LocalXcmQueueManager * tests for messages pallet * fix typo * rustdoc * Update modules/messages/src/lib.rs * apply review suggestions * ".git/.scripts/commands/fmt/fmt.sh" * Added `XcmBridgeHubRouterCall::report_bridge_status` encodings for AHK/P (#2350) * Added `XcmBridgeHubRouterCall::report_bridge_status` encodings for AHK/P * Spellcheck * Added const for `XcmBridgeHubRouterTransactCallMaxWeight` * Cargo.lock * Introduced base delivery fee constants * Congestion messages as Optional to turn on/off `supports_congestion_detection` * Spellcheck * Ability to externalize dest for benchmarks * Ability to externalize dest for benchmarks --------- Co-authored-by:
Branislav Kontur <bkontur@gmail.com> Co-authored-by: command-bot <>
Showing
- bridges/bin/millau/runtime/Cargo.toml 5 additions, 0 deletionsbridges/bin/millau/runtime/Cargo.toml
- bridges/bin/millau/runtime/src/lib.rs 41 additions, 2 deletionsbridges/bin/millau/runtime/src/lib.rs
- bridges/bin/millau/runtime/src/rialto_messages.rs 14 additions, 5 deletionsbridges/bin/millau/runtime/src/rialto_messages.rs
- bridges/bin/millau/runtime/src/rialto_parachain_messages.rs 14 additions, 6 deletionsbridges/bin/millau/runtime/src/rialto_parachain_messages.rs
- bridges/bin/millau/runtime/src/xcm_config.rs 37 additions, 3 deletionsbridges/bin/millau/runtime/src/xcm_config.rs
- bridges/bin/rialto-parachain/runtime/src/lib.rs 1 addition, 0 deletionsbridges/bin/rialto-parachain/runtime/src/lib.rs
- bridges/bin/rialto-parachain/runtime/src/millau_messages.rs 14 additions, 5 deletionsbridges/bin/rialto-parachain/runtime/src/millau_messages.rs
- bridges/bin/rialto/runtime/src/lib.rs 1 addition, 0 deletionsbridges/bin/rialto/runtime/src/lib.rs
- bridges/bin/rialto/runtime/src/millau_messages.rs 14 additions, 5 deletionsbridges/bin/rialto/runtime/src/millau_messages.rs
- bridges/bin/runtime-common/Cargo.toml 2 additions, 0 deletionsbridges/bin/runtime-common/Cargo.toml
- bridges/bin/runtime-common/src/messages_call_ext.rs 24 additions, 5 deletionsbridges/bin/runtime-common/src/messages_call_ext.rs
- bridges/bin/runtime-common/src/messages_xcm_extension.rs 373 additions, 24 deletionsbridges/bin/runtime-common/src/messages_xcm_extension.rs
- bridges/bin/runtime-common/src/mock.rs 37 additions, 3 deletionsbridges/bin/runtime-common/src/mock.rs
- bridges/bin/runtime-common/src/refund_relayer_extension.rs 1 addition, 2 deletionsbridges/bin/runtime-common/src/refund_relayer_extension.rs
- bridges/modules/messages/src/lib.rs 73 additions, 8 deletionsbridges/modules/messages/src/lib.rs
- bridges/modules/messages/src/mock.rs 35 additions, 2 deletionsbridges/modules/messages/src/mock.rs
- bridges/modules/xcm-bridge-hub-router/Cargo.toml 59 additions, 0 deletionsbridges/modules/xcm-bridge-hub-router/Cargo.toml
- bridges/modules/xcm-bridge-hub-router/src/benchmarking.rs 96 additions, 0 deletionsbridges/modules/xcm-bridge-hub-router/src/benchmarking.rs
- bridges/modules/xcm-bridge-hub-router/src/lib.rs 557 additions, 0 deletionsbridges/modules/xcm-bridge-hub-router/src/lib.rs
- bridges/modules/xcm-bridge-hub-router/src/mock.rs 148 additions, 0 deletionsbridges/modules/xcm-bridge-hub-router/src/mock.rs
Please register or sign in to comment