From 94a6d6e65ad9ad5857027738b3a63142959271ac Mon Sep 17 00:00:00 2001 From: Robert Habermeier Date: Sun, 2 Aug 2020 23:36:07 +0200 Subject: [PATCH] rename merged rococo to rococo-v1 (#1521) * rename rococo to rococo-v1 * update Cargo.lock --- polkadot/Cargo.lock | 2 +- polkadot/Cargo.toml | 2 +- polkadot/runtime/{rococo => rococo-v1}/Cargo.toml | 2 +- polkadot/runtime/{rococo => rococo-v1}/build.rs | 0 polkadot/runtime/{rococo => rococo-v1}/src/constants.rs | 0 polkadot/runtime/{rococo => rococo-v1}/src/lib.rs | 6 +++--- 6 files changed, 6 insertions(+), 6 deletions(-) rename polkadot/runtime/{rococo => rococo-v1}/Cargo.toml (99%) rename polkadot/runtime/{rococo => rococo-v1}/build.rs (100%) rename polkadot/runtime/{rococo => rococo-v1}/src/constants.rs (100%) rename polkadot/runtime/{rococo => rococo-v1}/src/lib.rs (99%) diff --git a/polkadot/Cargo.lock b/polkadot/Cargo.lock index 402247bd12..a2177bf180 100644 --- a/polkadot/Cargo.lock +++ b/polkadot/Cargo.lock @@ -5994,7 +5994,7 @@ dependencies = [ ] [[package]] -name = "rococo-runtime" +name = "rococo-v1-runtime" version = "0.8.19" dependencies = [ "frame-executive", diff --git a/polkadot/Cargo.toml b/polkadot/Cargo.toml index a3f9b295bd..d91a4aef8d 100644 --- a/polkadot/Cargo.toml +++ b/polkadot/Cargo.toml @@ -35,7 +35,7 @@ members = [ "runtime/parachains", "runtime/polkadot", "runtime/kusama", - "runtime/rococo", + "runtime/rococo-v1", "runtime/westend", "runtime/test-runtime", "runtime/test-runtime/client", diff --git a/polkadot/runtime/rococo/Cargo.toml b/polkadot/runtime/rococo-v1/Cargo.toml similarity index 99% rename from polkadot/runtime/rococo/Cargo.toml rename to polkadot/runtime/rococo-v1/Cargo.toml index be75f7a794..fbd7d617fa 100644 --- a/polkadot/runtime/rococo/Cargo.toml +++ b/polkadot/runtime/rococo-v1/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "rococo-runtime" +name = "rococo-v1-runtime" version = "0.8.19" authors = ["Parity Technologies "] edition = "2018" diff --git a/polkadot/runtime/rococo/build.rs b/polkadot/runtime/rococo-v1/build.rs similarity index 100% rename from polkadot/runtime/rococo/build.rs rename to polkadot/runtime/rococo-v1/build.rs diff --git a/polkadot/runtime/rococo/src/constants.rs b/polkadot/runtime/rococo-v1/src/constants.rs similarity index 100% rename from polkadot/runtime/rococo/src/constants.rs rename to polkadot/runtime/rococo-v1/src/constants.rs diff --git a/polkadot/runtime/rococo/src/lib.rs b/polkadot/runtime/rococo-v1/src/lib.rs similarity index 99% rename from polkadot/runtime/rococo/src/lib.rs rename to polkadot/runtime/rococo-v1/src/lib.rs index af530354dd..1f268daea1 100644 --- a/polkadot/runtime/rococo/src/lib.rs +++ b/polkadot/runtime/rococo-v1/src/lib.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! The Rococo runtime. +//! The Rococo runtime for v1 parachains. #![cfg_attr(not(feature = "std"), no_std)] // `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256. @@ -382,8 +382,8 @@ impl Filter for BaseFilter { /// Runtime version (Rococo). pub const VERSION: RuntimeVersion = RuntimeVersion { - spec_name: create_runtime_str!("rococo"), - impl_name: create_runtime_str!("parity-rococo"), + spec_name: create_runtime_str!("rococo-v1"), + impl_name: create_runtime_str!("parity-rococo-v1"), authoring_version: 0, spec_version: 1, impl_version: 0,