Skip to content
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 <[email protected]>
Co-authored-by: command-bot <>
Co-authored-by: default avatarAdrian Catangiu <[email protected]>
parent 3fb99c0b
Pipeline #508769 waiting for manual action with stages
in 37 minutes and 17 seconds