This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Edge case where HRMP open request doesn't refund the deposits. #3544
Labels
I3-bug
Fails to follow expected behavior.
In case there is an HRMP open channel request and it is confirmed by both parties but one of the parties offboards until the end of the session, the deposit by the sender and the receiver won't be refunded.
polkadot/runtime/parachains/src/hrmp.rs
Lines 651 to 678 in 4b2bd54
There was a discussion that it is alright to withhold the deposit of the offboarding party. This is because there is no way to ensure that because HRMP module is notified about the removal post factum so it is up to the para to claim its deposits before it offboards.
The text was updated successfully, but these errors were encountered: