Polkassembly Logo

Head 1
Head 3
Head 4
Head 2
Create Pencil IconCreate
TRACKS
ORIGINS
Report an issueNeed help with something?
Foot 1
Foot 2
Foot 3
Foot 4
OpenGov
View All Whitelisted Caller
Decision Deposit Placed

[Whitelisted Caller] Reduce the number of pending messages allowed in an HRMP channel

inWhitelisted Caller
11 days ago

By default, when opening an HRMP channel, the number of pending messages that can be queued on the relay chain for the channel is the one defined in the active host configuration (HostConfiguration::hrmp_channel_max_capacity).

The current value is 1000 and this referenda proposes to reduce it to 25.

A sending parachain can push at most 1 HRMP message to the relay chain per block while the receiving parachain processes all the pending messages at once. When the limit of pending messages is reached, the sending parachain can't forward any more HRMP message to the relay chain, having to queue them locally. The local queue also has a backpressure mechanism. Even if the receiving parachain has a delay of a couple of blocks in processing the pending messages, 25 pending messages should be enough for everything to work smoothly.

And if we're in a corner case where the receiving parachain is stalled, it's best to not have a lot of pending HRMP messages on the relay chain, since this will increase the load on the receiving parachain when it recovers.

The new limit will apply only to newly opened channels. This will not impact the channels that are already opened, which will keep the old limit.

Also this is just the default limit and it will apply to the channels opened via establish_channel_with_system for example. If a bigger limit is needed for an HRMP channel, there are extrinsics that can be used for setting a custom limit.

Whitelisting referenda: https://collectives.subsquare.io/fellowship/referenda/396

Comments (1)

11 days ago

hi

PleaseLogin to comment

Voting has Started

2

of 3

Decision Period

10 / 28 days

Confirmation Period

0 / 10 minutes

Summary

0%

Aye

AyeNay

0%

Nay

Aye (32)0.0 DOT

Support0.0 DOT

Nay (1)0.0 DOT

Voting Data

Approval%

Support%

Threshold0.00%

Threshold0.00%

Help Center

Report an Issue
Feedback
Terms and Conditions
Github

Our Services

Docs
Terms of Website
Privacy Policy

A House of Commons Initiative.

Polka Labs Private Limited 2025

All rights reserved.

Terms and ConditionsTerms of Website
Privacy Policy