#parachain #pallet #relay #upgrade #messages #chain #validation

no-std cumulus-pallet-parachain-system

Base pallet for cumulus-based parachains (polkadot v1.12.0)

16 releases (breaking)

new 0.13.0 May 24, 2024
0.11.0 Apr 9, 2024
0.10.0 Mar 18, 2024
0.6.0 Dec 13, 2023
0.0.0 Nov 21, 2022

#333 in Magic Beans

Download history 367/week @ 2024-02-01 833/week @ 2024-02-08 1404/week @ 2024-02-15 1999/week @ 2024-02-22 873/week @ 2024-02-29 446/week @ 2024-03-07 846/week @ 2024-03-14 1001/week @ 2024-03-21 1017/week @ 2024-03-28 995/week @ 2024-04-04 578/week @ 2024-04-11 660/week @ 2024-04-18 737/week @ 2024-04-25 676/week @ 2024-05-02 555/week @ 2024-05-09 835/week @ 2024-05-16

2,900 downloads per month
Used in 38 crates (34 directly)

Apache-2.0 and GPL-3.0-only

230KB
4.5K SLoC

cumulus-pallet-parachain-system is a base pallet for Cumulus-based parachains.

This pallet handles low-level details of being a parachain. Its responsibilities include:

  • ingestion of the parachain validation data;
  • ingestion and dispatch of incoming downward and lateral messages;
  • coordinating upgrades with the Relay Chain; and
  • communication of parachain outputs, such as sent messages, signaling an upgrade, etc.

Users must ensure that they register this pallet as an inherent provider.

Dependencies

~26–41MB
~727K SLoC