collectives_westend_emulated_chain/
lib.rs1pub use collectives_westend_runtime;
17
18pub mod genesis;
19
20use frame_support::traits::OnInitialize;
22
23use emulated_integration_tests_common::{
25 impl_accounts_helpers_for_parachain, impl_assert_events_helpers_for_parachain,
26 impls::Parachain, xcm_emulator::decl_test_parachains,
27};
28
29decl_test_parachains! {
31 pub struct CollectivesWestend {
32 genesis = genesis::genesis(),
33 on_init = {
34 collectives_westend_runtime::AuraExt::on_initialize(1);
35 },
36 runtime = collectives_westend_runtime,
37 core = {
38 XcmpMessageHandler: collectives_westend_runtime::XcmpQueue,
39 LocationToAccountId: collectives_westend_runtime::xcm_config::LocationToAccountId,
40 ParachainInfo: collectives_westend_runtime::ParachainInfo,
41 MessageOrigin: cumulus_primitives_core::AggregateMessageOrigin,
42 },
43 pallets = {
44 PolkadotXcm: collectives_westend_runtime::PolkadotXcm,
45 Balances: collectives_westend_runtime::Balances,
46 FellowshipTreasury: collectives_westend_runtime::FellowshipTreasury,
47 AssetRate: collectives_westend_runtime::AssetRate,
48 }
49 },
50}
51
52impl_accounts_helpers_for_parachain!(CollectivesWestend);
54impl_assert_events_helpers_for_parachain!(CollectivesWestend);