mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 22:45:40 +00:00
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:
@@ -47,7 +47,7 @@ primitives = { package = "polkadot-primitives", path = "../../primitives", defau
|
||||
rand = { version = "0.8.5", default-features = false }
|
||||
rand_chacha = { version = "0.3.1", default-features = false }
|
||||
static_assertions = { version = "1.1.0", optional = true }
|
||||
polkadot-parachain = { path = "../../parachain", default-features = false }
|
||||
polkadot-parachain-primitives = { path = "../../parachain", default-features = false }
|
||||
polkadot-runtime-metrics = { path = "../metrics", default-features = false}
|
||||
|
||||
[dev-dependencies]
|
||||
@@ -82,7 +82,7 @@ std = [
|
||||
"pallet-timestamp/std",
|
||||
"pallet-vesting/std",
|
||||
"parity-scale-codec/std",
|
||||
"polkadot-parachain/std",
|
||||
"polkadot-parachain-primitives/std",
|
||||
"polkadot-runtime-metrics/std",
|
||||
"primitives/std",
|
||||
"rustc-hex/std",
|
||||
@@ -110,7 +110,7 @@ runtime-benchmarks = [
|
||||
"pallet-staking/runtime-benchmarks",
|
||||
"pallet-timestamp/runtime-benchmarks",
|
||||
"pallet-vesting/runtime-benchmarks",
|
||||
"polkadot-parachain/runtime-benchmarks",
|
||||
"polkadot-parachain-primitives/runtime-benchmarks",
|
||||
"primitives/runtime-benchmarks",
|
||||
"sp-application-crypto",
|
||||
"sp-runtime/runtime-benchmarks",
|
||||
|
||||
@@ -22,7 +22,9 @@ use crate::{inclusion::MAX_UPWARD_MESSAGE_SIZE_BOUND, shared};
|
||||
use frame_support::{pallet_prelude::*, DefaultNoBound};
|
||||
use frame_system::pallet_prelude::*;
|
||||
use parity_scale_codec::{Decode, Encode};
|
||||
use polkadot_parachain::primitives::{MAX_HORIZONTAL_MESSAGE_NUM, MAX_UPWARD_MESSAGE_NUM};
|
||||
use polkadot_parachain_primitives::primitives::{
|
||||
MAX_HORIZONTAL_MESSAGE_NUM, MAX_UPWARD_MESSAGE_NUM,
|
||||
};
|
||||
use primitives::{
|
||||
vstaging::AsyncBackingParams, Balance, ExecutorParams, SessionIndex, LEGACY_MIN_BACKING_VOTES,
|
||||
MAX_CODE_SIZE, MAX_HEAD_DATA_SIZE, MAX_POV_SIZE, ON_DEMAND_DEFAULT_QUEUE_MAX_SIZE,
|
||||
|
||||
@@ -21,7 +21,7 @@ use crate::{
|
||||
use frame_support::{pallet_prelude::*, traits::ReservableCurrency, DefaultNoBound};
|
||||
use frame_system::pallet_prelude::*;
|
||||
use parity_scale_codec::{Decode, Encode};
|
||||
use polkadot_parachain::primitives::HorizontalMessages;
|
||||
use polkadot_parachain_primitives::primitives::HorizontalMessages;
|
||||
use primitives::{
|
||||
Balance, Hash, HrmpChannelId, Id as ParaId, InboundHrmpMessage, OutboundHrmpMessage,
|
||||
SessionIndex,
|
||||
|
||||
@@ -87,7 +87,7 @@ hex-literal = { version = "0.4.1" }
|
||||
runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false, features=["experimental"] }
|
||||
runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parachains", default-features = false }
|
||||
primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
|
||||
polkadot-parachain = { path = "../../parachain", default-features = false }
|
||||
polkadot-parachain-primitives = { path = "../../parachain", default-features = false }
|
||||
|
||||
xcm = { package = "staging-xcm", path = "../../xcm", default-features = false }
|
||||
xcm-executor = { package = "staging-xcm-executor", path = "../../xcm/xcm-executor", default-features = false }
|
||||
@@ -165,7 +165,7 @@ std = [
|
||||
"pallet-xcm-benchmarks?/std",
|
||||
"pallet-xcm/std",
|
||||
"parity-scale-codec/std",
|
||||
"polkadot-parachain/std",
|
||||
"polkadot-parachain-primitives/std",
|
||||
"primitives/std",
|
||||
"rococo-runtime-constants/std",
|
||||
"runtime-common/std",
|
||||
@@ -226,7 +226,7 @@ runtime-benchmarks = [
|
||||
"pallet-vesting/runtime-benchmarks",
|
||||
"pallet-xcm-benchmarks/runtime-benchmarks",
|
||||
"pallet-xcm/runtime-benchmarks",
|
||||
"polkadot-parachain/runtime-benchmarks",
|
||||
"polkadot-parachain-primitives/runtime-benchmarks",
|
||||
"primitives/runtime-benchmarks",
|
||||
"runtime-common/runtime-benchmarks",
|
||||
"runtime-parachains/runtime-benchmarks",
|
||||
|
||||
@@ -59,7 +59,7 @@ pallet-vesting = { path = "../../../substrate/frame/vesting", default-features =
|
||||
runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false }
|
||||
primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
|
||||
pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false }
|
||||
polkadot-parachain = { path = "../../parachain", default-features = false }
|
||||
polkadot-parachain-primitives = { path = "../../parachain", default-features = false }
|
||||
polkadot-runtime-parachains = { path = "../parachains", default-features = false }
|
||||
xcm-builder = { package = "staging-xcm-builder", path = "../../xcm/xcm-builder", default-features = false }
|
||||
xcm-executor = { package = "staging-xcm-executor", path = "../../xcm/xcm-executor", default-features = false }
|
||||
@@ -114,7 +114,7 @@ std = [
|
||||
"pallet-vesting/std",
|
||||
"pallet-xcm/std",
|
||||
"parity-scale-codec/std",
|
||||
"polkadot-parachain/std",
|
||||
"polkadot-parachain-primitives/std",
|
||||
"polkadot-runtime-parachains/std",
|
||||
"primitives/std",
|
||||
"runtime-common/std",
|
||||
@@ -152,7 +152,7 @@ runtime-benchmarks = [
|
||||
"pallet-timestamp/runtime-benchmarks",
|
||||
"pallet-vesting/runtime-benchmarks",
|
||||
"pallet-xcm/runtime-benchmarks",
|
||||
"polkadot-parachain/runtime-benchmarks",
|
||||
"polkadot-parachain-primitives/runtime-benchmarks",
|
||||
"polkadot-runtime-parachains/runtime-benchmarks",
|
||||
"primitives/runtime-benchmarks",
|
||||
"runtime-common/runtime-benchmarks",
|
||||
|
||||
@@ -97,7 +97,7 @@ hex-literal = { version = "0.4.1", optional = true }
|
||||
|
||||
runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false, features=["experimental"] }
|
||||
primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
|
||||
polkadot-parachain = { path = "../../parachain", default-features = false }
|
||||
polkadot-parachain-primitives = { path = "../../parachain", default-features = false }
|
||||
runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parachains", default-features = false }
|
||||
|
||||
xcm = { package = "staging-xcm", path = "../../xcm", default-features = false }
|
||||
@@ -184,7 +184,7 @@ std = [
|
||||
"pallet-xcm-benchmarks?/std",
|
||||
"pallet-xcm/std",
|
||||
"parity-scale-codec/std",
|
||||
"polkadot-parachain/std",
|
||||
"polkadot-parachain-primitives/std",
|
||||
"primitives/std",
|
||||
"runtime-common/std",
|
||||
"runtime-parachains/std",
|
||||
@@ -254,7 +254,7 @@ runtime-benchmarks = [
|
||||
"pallet-vesting/runtime-benchmarks",
|
||||
"pallet-xcm-benchmarks/runtime-benchmarks",
|
||||
"pallet-xcm/runtime-benchmarks",
|
||||
"polkadot-parachain/runtime-benchmarks",
|
||||
"polkadot-parachain-primitives/runtime-benchmarks",
|
||||
"primitives/runtime-benchmarks",
|
||||
"runtime-common/runtime-benchmarks",
|
||||
"runtime-parachains/runtime-benchmarks",
|
||||
|
||||
Reference in New Issue
Block a user