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

no-std cumulus-pallet-parachain-system

Base pallet for cumulus-based parachains

23 releases (breaking)

0.19.0 Jan 22, 2025
0.17.1 Oct 29, 2024
0.16.2 Jan 21, 2025
0.16.0 Jul 18, 2024
0.0.0 Nov 21, 2022

#31 in #parachain

Download history 1891/week @ 2024-10-30 6574/week @ 2024-11-06 26753/week @ 2024-11-13 26027/week @ 2024-11-20 25849/week @ 2024-11-27 27260/week @ 2024-12-04 23734/week @ 2024-12-11 19247/week @ 2024-12-18 7091/week @ 2024-12-25 19108/week @ 2025-01-01 24167/week @ 2025-01-08 34515/week @ 2025-01-15 30318/week @ 2025-01-22 27140/week @ 2025-01-29 29056/week @ 2025-02-05 31999/week @ 2025-02-12

123,664 downloads per month
Used in 52 crates (33 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

~28–44MB
~739K SLoC