testnets_common/lib.rs
1// Copyright (C) Parity Technologies (UK) Ltd.
2// SPDX-License-Identifier: Apache-2.0
3
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16#![cfg_attr(not(feature = "std"), no_std)]
17
18/// Since the parachains-common package is now published to crates.io, SP runtimes for testnets
19/// will be adapted to use this package, and their config removed from the published common
20/// package. Only the configs specific to rococo, westend and wococo will be moved here, and the
21/// truly common logic will still be sourced from the parachains-common package.
22///
23/// In practice this just means that instead of using e.g. `[parachains_common::westend::*]`, now
24/// the westend configs will be in `[testnets_common::westend::*]`.
25///
26/// TODO: edit all runtimes to remove the testnet configs as part of PR #1737
27/// <https://github.com/paritytech/polkadot-sdk/pull/1737>
28pub mod rococo;
29pub mod westend;
30pub mod wococo;