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

no-std cumulus-pallet-parachain-system

Base pallet for cumulus-based parachains

21 releases (breaking)

0.17.1 Oct 29, 2024
0.16.0 Jul 18, 2024
0.10.0 Mar 18, 2024
0.6.0 Dec 13, 2023
0.0.0 Nov 21, 2022

#12 in #parachain

Download history 1002/week @ 2024-08-26 596/week @ 2024-09-02 1030/week @ 2024-09-09 796/week @ 2024-09-16 1200/week @ 2024-09-23 1279/week @ 2024-09-30 1211/week @ 2024-10-07 1682/week @ 2024-10-14 1912/week @ 2024-10-21 1759/week @ 2024-10-28 1755/week @ 2024-11-04 21171/week @ 2024-11-11 26066/week @ 2024-11-18 28833/week @ 2024-11-25 23404/week @ 2024-12-02 28871/week @ 2024-12-09

108,467 downloads per month
Used in 47 crates (35 directly)

Apache-2.0 and GPL-3.0-only

225KB
4.5K SLoC

Release

Polkadot SDK stable2409


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–42MB
~736K SLoC