Expand description

The parachain on demand assignment module.

Implements a mechanism for taking in orders for pay as you go (PAYG) or on demand parachain (previously parathreads) assignments. This module is not handled by the initializer but is instead instantiated in the construct_runtime macro.

The module currently limits parallel execution of blocks from the same ParaId via a core affinity mechanism. As long as there exists an affinity for a CoreIndex for a specific ParaId, orders for blockspace for that ParaId will only be assigned to that CoreIndex. This affinity mechanism can be removed if it can be shown that parallel execution is valid.

Re-exports

Modules

  • The pallet module in each FRAME pallet hosts the most important items needed to construct this pallet.

Structs

  • Keeps track of how many assignments a scheduler currently has at a specific CoreIndex for a specific ParaId.
  • A weight info that is only suitable for testing.

Enums

Traits