pub use collectives_westend_runtime;
pub mod genesis;
use frame_support::traits::OnInitialize;
use emulated_integration_tests_common::{
impl_accounts_helpers_for_parachain, impl_assert_events_helpers_for_parachain,
impls::Parachain, xcm_emulator::decl_test_parachains,
};
decl_test_parachains! {
pub struct CollectivesWestend {
genesis = genesis::genesis(),
on_init = {
collectives_westend_runtime::AuraExt::on_initialize(1);
},
runtime = collectives_westend_runtime,
core = {
XcmpMessageHandler: collectives_westend_runtime::XcmpQueue,
LocationToAccountId: collectives_westend_runtime::xcm_config::LocationToAccountId,
ParachainInfo: collectives_westend_runtime::ParachainInfo,
MessageOrigin: cumulus_primitives_core::AggregateMessageOrigin,
},
pallets = {
PolkadotXcm: collectives_westend_runtime::PolkadotXcm,
Balances: collectives_westend_runtime::Balances,
FellowshipTreasury: collectives_westend_runtime::FellowshipTreasury,
AssetRate: collectives_westend_runtime::AssetRate,
}
},
}
impl_accounts_helpers_for_parachain!(CollectivesWestend);
impl_assert_events_helpers_for_parachain!(CollectivesWestend);