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

no-std cumulus-pallet-parachain-system

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

14 releases (breaking)

new 0.11.0 Apr 9, 2024
0.10.0 Mar 18, 2024
0.9.0 Feb 26, 2024
0.6.0 Dec 13, 2023
0.0.0 Nov 21, 2022

#1562 in Magic Beans

Download history 109/week @ 2023-12-21 280/week @ 2023-12-28 1132/week @ 2024-01-04 586/week @ 2024-01-11 413/week @ 2024-01-18 529/week @ 2024-01-25 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 668/week @ 2024-04-04

3,628 downloads per month
Used in 35 crates (32 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
~687K SLoC