Rename polkadot-parachain to polkadot-parachain-primitives (#1334)

* Rename `polkadot-parachain` to `polkadot-parachain-primitives`

While doing this it also fixes some last `rustdoc` issues and fixes
another Cargo warning related to `pallet-paged-list`.

* Fix compilation

* ".git/.scripts/commands/fmt/fmt.sh"

* Fix XCM docs

---------

Co-authored-by: command-bot <>
This commit is contained in:
Bastian Köcher
2023-08-31 23:53:29 +02:00
committed by GitHub
parent ea5792508e
commit a33d7922f8
114 changed files with 249 additions and 260 deletions
@@ -9,7 +9,7 @@ authors.workspace = true
publish = false
[dependencies]
parachain = { package = "polkadot-parachain", path = "../..", default-features = false, features = [ "wasm-api" ] }
parachain = { package = "polkadot-parachain-primitives", path = "../..", default-features = false, features = [ "wasm-api" ] }
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["derive"] }
sp-std = { path = "../../../../substrate/primitives/std", default-features = false }
tiny-keccak = { version = "2.0.2", features = ["keccak"] }
@@ -39,7 +39,7 @@ sc-service = { path = "../../../../../substrate/client/service" }
polkadot-node-core-pvf = { path = "../../../../node/core/pvf", features = ["test-utils"], optional = true }
[dev-dependencies]
polkadot-parachain = { path = "../../.." }
polkadot-parachain-primitives = { path = "../../.." }
polkadot-test-service = { path = "../../../../node/test/service" }
substrate-test-utils = { path = "../../../../../substrate/test-utils" }
@@ -249,7 +249,7 @@ mod tests {
use super::*;
use futures::executor::block_on;
use polkadot_parachain::primitives::{ValidationParams, ValidationResult};
use polkadot_parachain_primitives::primitives::{ValidationParams, ValidationResult};
use polkadot_primitives::PersistedValidationData;
#[test]
@@ -9,7 +9,7 @@ edition.workspace = true
license.workspace = true
[dependencies]
parachain = { package = "polkadot-parachain", path = "../..", default-features = false, features = [ "wasm-api" ] }
parachain = { package = "polkadot-parachain-primitives", path = "../..", default-features = false, features = [ "wasm-api" ] }
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["derive"] }
sp-std = { path = "../../../../substrate/primitives/std", default-features = false }
tiny-keccak = { version = "2.0.2", features = ["keccak"] }
@@ -39,7 +39,7 @@ sc-service = { path = "../../../../../substrate/client/service" }
polkadot-node-core-pvf = { path = "../../../../node/core/pvf", features = ["test-utils"], optional = true }
[dev-dependencies]
polkadot-parachain = { path = "../../.." }
polkadot-parachain-primitives = { path = "../../.." }
polkadot-test-service = { path = "../../../../node/test/service" }
# For the puppet worker, depend on ourselves with the test-utils feature.
test-parachain-undying-collator = { path = "", features = ["test-utils"] }
@@ -338,7 +338,7 @@ use sp_core::traits::SpawnNamed;
mod tests {
use super::*;
use futures::executor::block_on;
use polkadot_parachain::primitives::{ValidationParams, ValidationResult};
use polkadot_parachain_primitives::primitives::{ValidationParams, ValidationResult};
use polkadot_primitives::{Hash, PersistedValidationData};
#[test]