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

no-std cumulus-pallet-parachain-system

Base pallet for cumulus-based parachains

23 releases (breaking)

0.18.0 Jan 14, 2025
0.17.1 Oct 29, 2024
0.17.0 Sep 26, 2024
0.16.2 Jan 21, 2025
0.0.0 Nov 21, 2022

#988 in Magic Beans

Download history 1234/week @ 2024-10-01 1350/week @ 2024-10-08 1729/week @ 2024-10-15 1818/week @ 2024-10-22 1872/week @ 2024-10-29 2029/week @ 2024-11-05 25620/week @ 2024-11-12 26918/week @ 2024-11-19 26660/week @ 2024-11-26 26027/week @ 2024-12-03 25703/week @ 2024-12-10 21969/week @ 2024-12-17 7265/week @ 2024-12-24 14099/week @ 2024-12-31 23404/week @ 2025-01-07 30094/week @ 2025-01-14

76,921 downloads per month
Used in 48 crates (35 directly)

Apache-2.0 and GPL-3.0-only

230KB
4.5K SLoC

Release

Polkadot SDK Stable 2412


lib.rs:

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

~29–43MB
~748K SLoC