Implement additional require primitives for dynamic fees directly for pallet-xcm-bridge-hub (#2261)
Xcm bridge hub router v2 (backport to master branch) (#2312) * copy new pallet (palle-xcm-bridge-hub-router) from dynamic-fees-v1 branch * added remaining traces of pallet-xcm-bridge-hub-router * added comment about sharing delivery fee factor between all bridges, opened by this chain * spelling * clippy Implement additional require primitives for dynamic fees directly for pallet-xcm-bridge-hub (#2261) * added backoff mechanism to inbound bridge queue * impl backpressure in the XcmBlobHaulerAdapter * leave TODOs * BridgeMessageProcessor prototype * another TODO * Revert "also temporary (?) remove BridgesByLocalOrigin because the storage format will likely change to be able to resume bridges from the on_iniitalize/on_idle" This reverts commit bdd7ae11a8942b58c5db6ac6d4e7922aa28cece4. * prototype for QueuePausedQuery * implement ExportXcm and MessageDispatch for pallet-xcm-bridge-hub * spelling * flush * small comments to myself * more backports from dynamic-fees-v1 * use new pallet as exporter and dispatcher in Millau * use new pallet as exporter and dispatcher in Rialto * use new pallet as exporter and dispatcher in RialtoParachain * flush * fix remaining compilation issues * warnings + fmt * fix tests * LocalXcmChannelManager * change lane ids * it works! * remove bp-xcm-bridge-hub-router and use LocalXcmChannelManager everywhere * removed commented code * cleaning up * cleaning up * cleaning up * - separated BridgeId and LaneId - BridgeId now uses versioned universal locations - added missing stuff to exporter.rs * OnMessagesDelivered is back * start using bp-xcm-bridge-hub as OnMessagesDelivered * cleaning up * spelling * fix stupid issues * Backport latest relevant dynamic fees changes from v1 to v2 (#2372) * backport latest relevant dynamic fees changes from v1 to v2 * fix comment Added remaining unit tests for pallet-xcm-bridge-hub (#2499) * added backoff mechanism to inbound bridge queue * impl backpressure in the XcmBlobHaulerAdapter * leave TODOs * BridgeMessageProcessor prototype * another TODO * Revert "also temporary (?) remove BridgesByLocalOrigin because the storage format will likely change to be able to resume bridges from the on_iniitalize/on_idle" This reverts commit bdd7ae11a8942b58c5db6ac6d4e7922aa28cece4. * prototype for QueuePausedQuery * implement ExportXcm and MessageDispatch for pallet-xcm-bridge-hub * spelling * flush * small comments to myself * more backports from dynamic-fees-v1 * use new pallet as exporter and dispatcher in Millau * use new pallet as exporter and dispatcher in Rialto * use new pallet as exporter and dispatcher in RialtoParachain * flush * fix remaining compilation issues * warnings + fmt * fix tests * LocalXcmChannelManager * change lane ids * it works! * remove bp-xcm-bridge-hub-router and use LocalXcmChannelManager everywhere * removed commented code * cleaning up * cleaning up * cleaning up * - separated BridgeId and LaneId - BridgeId now uses versioned universal locations - added missing stuff to exporter.rs * OnMessagesDelivered is back * start using bp-xcm-bridge-hub as OnMessagesDelivered * cleaning up * spelling * fix stupid issues * added remaining unit tests for pallet-xcm-bridge-hub fixed benchmarks (#2504) Remove pallet_xcm_bridge_hub::SuspendedBridges (#2505) * remove pallet_xcm_bridge_hub::SuspendedBridges * apply review suggestions
Showing
- Cargo.lock 3 additions, 0 deletionsCargo.lock
- bridges/bin/runtime-common/src/extensions/refund_relayer_extension.rs 11 additions, 11 deletions...runtime-common/src/extensions/refund_relayer_extension.rs
- bridges/bin/runtime-common/src/lib.rs 0 additions, 3 deletionsbridges/bin/runtime-common/src/lib.rs
- bridges/bin/runtime-common/src/messages_call_ext.rs 4 additions, 3 deletionsbridges/bin/runtime-common/src/messages_call_ext.rs
- bridges/bin/runtime-common/src/messages_xcm_extension.rs 0 additions, 524 deletionsbridges/bin/runtime-common/src/messages_xcm_extension.rs
- bridges/bin/runtime-common/src/mock.rs 8 additions, 9 deletionsbridges/bin/runtime-common/src/mock.rs
- bridges/modules/messages/src/lanes_manager.rs 31 additions, 6 deletionsbridges/modules/messages/src/lanes_manager.rs
- bridges/modules/messages/src/lib.rs 1 addition, 5 deletionsbridges/modules/messages/src/lib.rs
- bridges/modules/messages/src/tests/mock.rs 21 additions, 13 deletionsbridges/modules/messages/src/tests/mock.rs
- bridges/modules/messages/src/tests/pallet_tests.rs 83 additions, 3 deletionsbridges/modules/messages/src/tests/pallet_tests.rs
- bridges/modules/xcm-bridge-hub-router/Cargo.toml 2 additions, 3 deletionsbridges/modules/xcm-bridge-hub-router/Cargo.toml
- bridges/modules/xcm-bridge-hub-router/src/benchmarking.rs 4 additions, 39 deletionsbridges/modules/xcm-bridge-hub-router/src/benchmarking.rs
- bridges/modules/xcm-bridge-hub-router/src/lib.rs 118 additions, 173 deletionsbridges/modules/xcm-bridge-hub-router/src/lib.rs
- bridges/modules/xcm-bridge-hub-router/src/mock.rs 25 additions, 9 deletionsbridges/modules/xcm-bridge-hub-router/src/mock.rs
- bridges/modules/xcm-bridge-hub-router/src/weights.rs 24 additions, 109 deletionsbridges/modules/xcm-bridge-hub-router/src/weights.rs
- bridges/modules/xcm-bridge-hub/Cargo.toml 1 addition, 0 deletionsbridges/modules/xcm-bridge-hub/Cargo.toml
- bridges/modules/xcm-bridge-hub/src/dispatcher.rs 115 additions, 4 deletionsbridges/modules/xcm-bridge-hub/src/dispatcher.rs
- bridges/modules/xcm-bridge-hub/src/exporter.rs 317 additions, 54 deletionsbridges/modules/xcm-bridge-hub/src/exporter.rs
- bridges/modules/xcm-bridge-hub/src/lib.rs 148 additions, 61 deletionsbridges/modules/xcm-bridge-hub/src/lib.rs
- bridges/modules/xcm-bridge-hub/src/mock.rs 68 additions, 12 deletionsbridges/modules/xcm-bridge-hub/src/mock.rs
Please register or sign in to comment