#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

#13 in #parachain

Download history 1160/week @ 2024-07-28 833/week @ 2024-08-04 1194/week @ 2024-08-11 1362/week @ 2024-08-18 1004/week @ 2024-08-25 592/week @ 2024-09-01 1046/week @ 2024-09-08 800/week @ 2024-09-15 1128/week @ 2024-09-22 1338/week @ 2024-09-29 1172/week @ 2024-10-06 1593/week @ 2024-10-13 2011/week @ 2024-10-20 1712/week @ 2024-10-27 1799/week @ 2024-11-03 19944/week @ 2024-11-10

25,612 downloads per month
Used in 46 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

~27–43MB
~736K SLoC