referrerpolicy=no-referrer-when-downgrade

westend_system_emulated_network/
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
16pub use asset_hub_westend_emulated_chain;
17pub use bridge_hub_westend_emulated_chain;
18pub use collectives_westend_emulated_chain;
19pub use coretime_westend_emulated_chain;
20pub use penpal_emulated_chain;
21pub use people_westend_emulated_chain;
22pub use westend_emulated_chain;
23
24use asset_hub_westend_emulated_chain::AssetHubWestend;
25use bridge_hub_westend_emulated_chain::BridgeHubWestend;
26use collectives_westend_emulated_chain::CollectivesWestend;
27use coretime_westend_emulated_chain::CoretimeWestend;
28use penpal_emulated_chain::{PenpalA, PenpalB};
29use people_westend_emulated_chain::PeopleWestend;
30use westend_emulated_chain::Westend;
31
32// Cumulus
33use emulated_integration_tests_common::{
34	accounts::{ALICE, BOB},
35	xcm_emulator::{decl_test_networks, decl_test_sender_receiver_accounts_parameter_types},
36};
37
38decl_test_networks! {
39	pub struct WestendMockNet {
40		relay_chain = Westend,
41		parachains = vec![
42			AssetHubWestend,
43			BridgeHubWestend,
44			CollectivesWestend,
45			CoretimeWestend,
46			PeopleWestend,
47			PenpalA,
48			PenpalB,
49		],
50		bridge = ()
51	},
52}
53
54decl_test_sender_receiver_accounts_parameter_types! {
55	WestendRelay { sender: ALICE, receiver: BOB },
56	AssetHubWestendPara { sender: ALICE, receiver: BOB },
57	BridgeHubWestendPara { sender: ALICE, receiver: BOB },
58	CollectivesWestendPara { sender: ALICE, receiver: BOB },
59	CoretimeWestendPara { sender: ALICE, receiver: BOB },
60	PeopleWestendPara { sender: ALICE, receiver: BOB },
61	PenpalAPara { sender: ALICE, receiver: BOB },
62	PenpalBPara { sender: ALICE, receiver: BOB }
63}