13 releases (breaking)
new 0.11.0 | Apr 8, 2024 |
---|---|
0.10.0 | Mar 18, 2024 |
0.9.0 | Feb 26, 2024 |
0.6.0 | Dec 13, 2023 |
0.0.0 |
|
#1906 in Magic Beans
3,934 downloads per month
Used in 39 crates
(8 directly)
11KB
60 lines
Cumulus parachain inherent
The ParachainInherentData
is the data that is passed by the collator to the parachain
runtime. The runtime will use this data to execute messages from other parachains/the relay
chain or to read data from the relay chain state. When the parachain is validated by a parachain
validator on the relay chain, this data is checked for correctness. If the data passed by the
collator to the runtime isn't correct, the parachain candidate is considered invalid.
To create a ParachainInherentData
for a specific relay chain block, there exists the
ParachainInherentDataExt
trait in cumulus-client-parachain-inherent
that helps with this.
Dependencies
~19–31MB
~508K SLoC