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

no-std cumulus-pallet-parachain-system

Base pallet for cumulus-based parachains

21 releases (breaking)

new 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

#14 in #parachain

Download history 996/week @ 2024-07-09 1148/week @ 2024-07-16 1165/week @ 2024-07-23 1033/week @ 2024-07-30 802/week @ 2024-08-06 1201/week @ 2024-08-13 1413/week @ 2024-08-20 906/week @ 2024-08-27 617/week @ 2024-09-03 1057/week @ 2024-09-10 846/week @ 2024-09-17 1281/week @ 2024-09-24 1234/week @ 2024-10-01 1350/week @ 2024-10-08 1729/week @ 2024-10-15 1756/week @ 2024-10-22

6,352 downloads per month
Used in 42 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

~26–41MB
~716K SLoC