-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Remove all usages of relay_dispatch_queue_size #755
Copy link
Copy link
Open
Labels
I4-refactorCode needs refactoring.Code needs refactoring.
Description
Currently, a well-known key on the Relay-chain, relay_dispatch_queue_size, is used by parachains/cumulus to determine what messages (how many, how big) may be pushed up through UMP. This is a bit silly as it needs knowledge of the configuration items and certain assumptions on how the chain operations before it is useful.
Instead, there is now a new well-known key relay_dispatch_queue_remaining_capacity which retains the available amount of space and slots for UMP messages. All usages of the former should be removed in favour of this. This should lead to some simplification.
Relies on paritytech/polkadot#6271 .
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
I4-refactorCode needs refactoring.Code needs refactoring.
Type
Projects
Status
Backlog