Skip to content
Snippets Groups Projects
Unverified Commit 8f4b99cf authored by Branislav Kontur's avatar Branislav Kontur Committed by GitHub
Browse files

Bridges - revert-back congestion mechanism (#6781)


Closes: https://github.com/paritytech/polkadot-sdk/issues/5551

## Description

With [permissionless lanes
PR#4949](https://github.com/paritytech/polkadot-sdk/pull/4949), the
congestion mechanism based on sending
`Transact(report_bridge_status(is_congested))` from
`pallet-xcm-bridge-hub` to `pallet-xcm-bridge-hub-router` was replaced
with a congestion mechanism that relied on monitoring XCMP queues.
However, this approach could cause issues, such as suspending the entire
XCMP queue instead of isolating the affected bridge. This PR reverts
back to using `report_bridge_status` as before.

## TODO
- [x] benchmarks
- [x] prdoc

## Follow-up

https://github.com/paritytech/polkadot-sdk/pull/6231

---------

Co-authored-by: default avatarGitHub Action <action@github.com>
Co-authored-by: command-bot <>
Co-authored-by: default avatarAdrian Catangiu <adrian@parity.io>
parent 3fb99c0b
No related merge requests found
Pipeline #508769 waiting for manual action with stages
in 37 minutes and 17 seconds
Showing
with 670 additions and 145 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment