Skip to content
Unverified Commit a22cb55e authored by Branislav Kontur's avatar Branislav Kontur
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]>
(cherry picked from commit 8f4b99cf)

# Conflicts:
#	Cargo.lock
#	cumulus/parachains/runtimes/assets/asset-hub-rococo/tests/tests.rs
#	cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
parent 5e47c236
Pipeline #508934 waiting for manual action with stages
in 5 minutes and 48 seconds