Rename squatted crates (#1241)

* Rename squatted crates

This commit adds the staging- prefix to squatted crates so we can go forward and publish them to crates.io.

Using the staging- prefix is a temp fix until we decide on replacement names.
https://forum.parity.io/t/renaming-squated-crates-in-substrate-polkadot-cumulus/1964/6

* Fix test after crate renames

* Update Lockfile
This commit is contained in:
Lulu
2023-08-30 16:57:49 +02:00
committed by GitHub
parent be7f1244c9
commit 31c79470a3
59 changed files with 438 additions and 436 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
[package]
name = "xcm"
name = "staging-xcm"
description = "The basic XCM datastructures."
version = "1.0.0"
authors.workspace = true
@@ -16,10 +16,10 @@ frame-system = { path = "../../../substrate/frame/system", default-features = fa
sp-runtime = { path = "../../../substrate/primitives/runtime", default-features = false}
sp-std = { path = "../../../substrate/primitives/std", default-features = false}
sp-io = { path = "../../../substrate/primitives/io", default-features = false}
xcm-executor = { path = "../xcm-executor", default-features = false }
xcm-executor = { package = "staging-xcm-executor", path = "../xcm-executor", default-features = false }
frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false}
xcm = { path = "..", default-features = false }
xcm-builder = { path = "../xcm-builder", default-features = false }
xcm = { package = "staging-xcm", path = "..", default-features = false }
xcm-builder = { package = "staging-xcm-builder", path = "../xcm-builder", default-features = false }
log = "0.4.17"
[dev-dependencies]
@@ -27,7 +27,7 @@ pallet-balances = { path = "../../../substrate/frame/balances" }
pallet-assets = { path = "../../../substrate/frame/assets" }
sp-core = { path = "../../../substrate/primitives/core" }
sp-tracing = { path = "../../../substrate/primitives/tracing" }
xcm = { path = ".." }
xcm = { package = "staging-xcm", path = ".." }
# temp
pallet-xcm = { path = "../pallet-xcm" }
polkadot-runtime-common = { path = "../../runtime/common" }
+3 -3
View File
@@ -21,14 +21,14 @@ sp-io = { path = "../../../substrate/primitives/io", default-features = false}
sp-runtime = { path = "../../../substrate/primitives/runtime", default-features = false}
sp-std = { path = "../../../substrate/primitives/std", default-features = false}
xcm = { path = "..", default-features = false }
xcm-executor = { path = "../xcm-executor", default-features = false }
xcm = { package = "staging-xcm", path = "..", default-features = false }
xcm-executor = { package = "staging-xcm-executor", path = "../xcm-executor", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../../../substrate/frame/balances" }
polkadot-runtime-parachains = { path = "../../runtime/parachains" }
polkadot-parachain = { path = "../../parachain" }
xcm-builder = { path = "../xcm-builder" }
xcm-builder = { package = "staging-xcm-builder", path = "../xcm-builder" }
[features]
default = [ "std" ]
+3 -3
View File
@@ -1,5 +1,5 @@
[package]
name = "xcm-builder"
name = "staging-xcm-builder"
description = "Tools & types for building with XCM and its executor."
authors.workspace = true
edition.workspace = true
@@ -10,8 +10,8 @@ version = "1.0.0"
impl-trait-for-tuples = "0.2.1"
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
xcm = { path = "..", default-features = false }
xcm-executor = { path = "../xcm-executor", default-features = false }
xcm = { package = "staging-xcm", path = "..", default-features = false }
xcm-executor = { package = "staging-xcm-executor", path = "../xcm-executor", default-features = false }
sp-std = { path = "../../../substrate/primitives/std", default-features = false }
sp-arithmetic = { path = "../../../substrate/primitives/arithmetic", default-features = false }
sp-io = { path = "../../../substrate/primitives/io", default-features = false }
@@ -30,6 +30,8 @@ use polkadot_runtime_parachains::{configuration, origin, shared};
use xcm::latest::{opaque, prelude::*};
use xcm_executor::XcmExecutor;
use staging_xcm_builder as xcm_builder;
use xcm_builder::{
AccountId32Aliases, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom,
ChildParachainAsNative, ChildParachainConvertsVia, ChildSystemParachainAsSuperuser,
+2 -2
View File
@@ -1,5 +1,5 @@
[package]
name = "xcm-executor"
name = "staging-xcm-executor"
description = "An abstract and configurable XCM message executor."
authors.workspace = true
edition.workspace = true
@@ -10,7 +10,7 @@ version = "1.0.0"
impl-trait-for-tuples = "0.2.2"
environmental = { version = "1.1.4", default-features = false }
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["derive"] }
xcm = { path = "..", default-features = false }
xcm = { package = "staging-xcm", path = "..", default-features = false }
sp-std = { path = "../../../substrate/primitives/std", default-features = false }
sp-io = { path = "../../../substrate/primitives/io", default-features = false }
sp-arithmetic = { path = "../../../substrate/primitives/arithmetic", default-features = false }
@@ -20,8 +20,8 @@ sp-consensus = { path = "../../../../substrate/primitives/consensus/common" }
sp-keyring = { path = "../../../../substrate/primitives/keyring" }
sp-runtime = { path = "../../../../substrate/primitives/runtime", default-features = false }
sp-state-machine = { path = "../../../../substrate/primitives/state-machine" }
xcm = { path = "../..", default-features = false }
xcm-executor = { path = ".." }
xcm = { package = "staging-xcm", path = "../..", default-features = false }
xcm-executor = { package = "staging-xcm-executor", path = ".." }
sp-tracing = { path = "../../../../substrate/primitives/tracing" }
[features]
+3 -3
View File
@@ -14,9 +14,9 @@ frame-support = { path = "../../../substrate/frame/support" }
sp-io = { path = "../../../substrate/primitives/io" }
sp-std = { path = "../../../substrate/primitives/std" }
xcm = { path = ".." }
xcm-executor = { path = "../xcm-executor" }
xcm-builder = { path = "../xcm-builder" }
xcm = { package = "staging-xcm", path = ".." }
xcm-executor = { package = "staging-xcm-executor", path = "../xcm-executor" }
xcm-builder = { package = "staging-xcm-builder", path = "../xcm-builder" }
polkadot-core-primitives = { path = "../../core-primitives" }
polkadot-parachain = { path = "../../parachain" }
polkadot-runtime-parachains = { path = "../../runtime/parachains" }
@@ -22,10 +22,10 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime" }
sp-io = { path = "../../../../substrate/primitives/io" }
sp-tracing = { path = "../../../../substrate/primitives/tracing" }
xcm = { path = "../.." }
xcm = { package = "staging-xcm", path = "../.." }
xcm-simulator = { path = ".." }
xcm-executor = { path = "../../xcm-executor" }
xcm-builder = { path = "../../xcm-builder" }
xcm-executor = { package = "staging-xcm-executor", path = "../../xcm-executor" }
xcm-builder = { package = "staging-xcm-builder", path = "../../xcm-builder" }
pallet-xcm = { path = "../../pallet-xcm" }
polkadot-core-primitives = { path = "../../../core-primitives" }
polkadot-runtime-parachains = { path = "../../../runtime/parachains" }
+3 -3
View File
@@ -22,10 +22,10 @@ sp-core = { path = "../../../../substrate/primitives/core" }
sp-runtime = { path = "../../../../substrate/primitives/runtime" }
sp-io = { path = "../../../../substrate/primitives/io" }
xcm = { path = "../.." }
xcm = { package = "staging-xcm", path = "../.." }
xcm-simulator = { path = ".." }
xcm-executor = { path = "../../xcm-executor" }
xcm-builder = { path = "../../xcm-builder" }
xcm-executor = { package = "staging-xcm-executor", path = "../../xcm-executor" }
xcm-builder = { package = "staging-xcm-builder", path = "../../xcm-builder" }
pallet-xcm = { path = "../../pallet-xcm" }
polkadot-core-primitives = { path = "../../../core-primitives" }
polkadot-runtime-parachains = { path = "../../../runtime/parachains" }