* 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 <>
We currently use a bit of a hack in `.cargo/config` to make sure that
clippy isn't too annoying by specifying the list of lints.
There is now a stable way to define lints for a workspace. The only down
side is that every crate seems to have to opt into this so there's a
*few* files modified in this PR.
Dependencies:
- [x] PR that upgrades CI to use rust 1.74 is merged.
---------
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: Branislav Kontur <bkontur@gmail.com>
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
Using taplo, fixes all our broken and inconsistent toml formatting and
adds CI to keep them tidy.
If people want we can customise the format rules as described here
https://taplo.tamasfe.dev/configuration/formatter-options.html
@ggwpez, I suggest zepter is used only for checking features are
propagated, and leave formatting for taplo to avoid duplicate work and
conflicts.
TODO
- [x] Use `exclude = [...]` syntax in taplo file to ignore zombienet
tests instead of deleting the dir
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Bastian Köcher <git@kchr.de>
The `xcm` crate was renamed to `staging-xcm` to be able to publish it to
crates.io as someone as squatted `xcm`. The problem with this rename is
that the `TypeInfo` includes the crate name which ultimately lands in
the metadata. The metadata is consumed by downstream users like
`polkadot-js` or people building on top of `polkadot-js`. These people
are using the entire `path` to find the type in the type registry. Thus,
their code would break as the type path would now be [`staging_xcm`,
`VersionedXcm`] instead of [`xcm`, `VersionedXcm`]. This pull request
fixes this by renaming the path segment `staging_xcm` to `xcm`.
This requires: https://github.com/paritytech/scale-info/pull/197
---------
Co-authored-by: Francisco Aguirre <franciscoaguirreperez@gmail.com>