Skip to content

Remove all usages of relay_dispatch_queue_size #755

@gavofyork

Description

@gavofyork

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 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    I4-refactorCode needs refactoring.

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions