* 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 <>
* Use an actual Result inside MessageDispatchResult
We need this in order to distinguish between Ok and Err
* Revert #1660
* Fixes + simplifications
* Implement review suggestions
* removed FromBridgedChainMessageDispatch in favor of XcmBlobMessageDispatch
* use HaulBlobExporter/HaulBlobExporterAdapter instead of XcmBridge/XcmBridgeAdapter
* tests for sending/dispatching messages
* use new schema in testnet bridges + some cleanup
* clippy
* spelling + added TODO
* cleanup some checks
* benchmarks compilation
* all is XCM
* updated README.md
* ref issue from TODO
* prune messages from on-idle callback
* no more secondary lanes at deployments
* clippy
* Update modules/messages/src/lib.rs
Co-authored-by: Adrian Catangiu <adrian@parity.io>
* sub -> add
* more tests + check that message is sent using one of ActiveOutboundLanes
* ensure spent_weight is correct
Co-authored-by: Adrian Catangiu <adrian@parity.io>
* Adjustments for the xcm messages sending logic
Signed-off-by: Serban Iorga <serban@parity.io>
* Deduplicate XCM destination
Signed-off-by: Serban Iorga <serban@parity.io>
* [send_message] small changes
Signed-off-by: Serban Iorga <serban@parity.io>
* Define CustomNetworkId
Right now we use some associations between Rialto, RialtoParachain and
Millau chains and chains defined in the NetworkId enum. But if we are
not carreful we might do mistakes like:
In Millau:
pub const ThisNetwork: NetworkId = Kusama;
pub const RialtoNetwork: NetworkId = Polkadot;
In Rialto:
pub const ThisNetwork: NetworkId = Kusama;
pub const MillauNetwork: NetworkId = Polkadot;
We're introducing CustomNetworkId to have a centralized mapping between
NetworkId chains and our custom chains.
Signed-off-by: Serban Iorga <serban@parity.io>
* Revert "Deduplicate XCM destination"
This reverts commit 3a0a950e1d7484e3ecac45f5c00b152f0485cd11.
Signed-off-by: Serban Iorga <serban@parity.io>
* reintroduce From<SourceChain>InboundLaneApi
* impl From<Chain>InboundLaneApi for testnet runtimes
* use inboundlaneapi in relay
* remove unused OutboundXcmWeigher
* spelling
* added the only test to messages pallet
* fmt