1// Copyright (C) Parity Technologies (UK) Ltd.
2// SPDX-License-Identifier: Apache-2.0
34// 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.
15pub use rococo_runtime;
1617pub mod genesis;
1819// Cumulus
20use emulated_integration_tests_common::{
21 impl_accounts_helpers_for_relay_chain, impl_assert_events_helpers_for_relay_chain,
22 impl_hrmp_channels_helpers_for_relay_chain, impl_send_transact_helpers_for_relay_chain,
23 xcm_emulator::decl_test_relay_chains,
24};
2526// Rococo declaration
27decl_test_relay_chains! {
28#[api_version(14)]
29pub struct Rococo {
30 genesis = genesis::genesis(),
31 on_init = (),
32 runtime = rococo_runtime,
33 core = {
34 SovereignAccountOf: rococo_runtime::xcm_config::LocationConverter,
35 },
36 pallets = {
37 XcmPallet: rococo_runtime::XcmPallet,
38 Sudo: rococo_runtime::Sudo,
39 Balances: rococo_runtime::Balances,
40 Hrmp: rococo_runtime::Hrmp,
41 Identity: rococo_runtime::Identity,
42 IdentityMigrator: rococo_runtime::IdentityMigrator,
43 Treasury: rococo_runtime::Treasury,
44 AssetRate: rococo_runtime::AssetRate,
45 }
46 },
47}
4849// Rococo implementation
50impl_accounts_helpers_for_relay_chain!(Rococo);
51impl_assert_events_helpers_for_relay_chain!(Rococo);
52impl_hrmp_channels_helpers_for_relay_chain!(Rococo);
53impl_send_transact_helpers_for_relay_chain!(Rococo);