mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 02:57:57 +00:00
f80cfc2259
This PR backports version bumps from release branch `release-polkadot-v1.6.0` back to `master` and also moved `prdoc` files related to the release to the appropriate folder
20 lines
995 B
Plaintext
20 lines
995 B
Plaintext
title: "cumulus-primitives-parachain-inherent: Split into two crates"
|
|
|
|
doc:
|
|
- audience: Node Dev
|
|
description: |
|
|
This splits `cumulus-primitives-parachain-inherent` into two crates. The new crate is called
|
|
`cumulus-client-parachain-inherent`. This is done to improve the compile time for runtimes,
|
|
as they are not required anymore to pull in half of the node side at compile time.
|
|
|
|
To migrate your code you need to change
|
|
`cumulus_primitives_parachain_inherent::ParachainInherentData::create_at` to
|
|
`cumulus_client_parachain_inherent::ParachainInherentDataProvider::create_at`.
|
|
Any other code should be compatible. The mocking code also moved to the new client crate and
|
|
you may need to adapt your imports accordingly. Generally, replacing the old crate with the new
|
|
crate fix most compile errors resulting from this pull request.
|
|
|
|
crates:
|
|
- name: "cumulus-primitives-parachain-inherent"
|
|
- name: "cumulus-client-parachain-inherent"
|