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

no-std cumulus-pallet-parachain-system

Base pallet for cumulus-based parachains

22 releases (breaking)

new 0.18.0 Jan 14, 2025
0.17.1 Oct 29, 2024
0.17.0 Sep 26, 2024
0.16.0 Jul 18, 2024
0.0.0 Nov 21, 2022

#338 in Magic Beans

Download history 1416/week @ 2024-09-25 1198/week @ 2024-10-02 1314/week @ 2024-10-09 1775/week @ 2024-10-16 1882/week @ 2024-10-23 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 17692/week @ 2025-01-08

66,709 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

~27–42MB
~722K SLoC