pub type CollectivesWestendPara = CollectivesWestend<WestendMockNet>;
Aliased Type§
struct CollectivesWestendPara(/* private fields */);
Implementations
Source§impl<N> CollectivesWestend<N>where
N: Network,
impl<N> CollectivesWestend<N>where
N: Network,
Sourcepub fn fund_accounts(
accounts: Vec<(<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128)>,
)
pub fn fund_accounts( accounts: Vec<(<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, u128)>, )
Fund a set of accounts with a balance
Sourcepub fn fund_para_sovereign(sibling_para_id: Id, balance: u128)
pub fn fund_para_sovereign(sibling_para_id: Id, balance: u128)
Fund a sovereign account of sibling para.
Sourcepub fn sovereign_account_of_parachain_on_other_global_consensus(
network_id: NetworkId,
para_id: Id,
) -> <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
pub fn sovereign_account_of_parachain_on_other_global_consensus( network_id: NetworkId, para_id: Id, ) -> <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
Return local sovereign account of para_id
on other network_id
Source§impl<N> CollectivesWestend<N>where
N: Network,
impl<N> CollectivesWestend<N>where
N: Network,
Sourcepub fn assert_xcm_pallet_attempted_complete(expected_weight: Option<Weight>)
pub fn assert_xcm_pallet_attempted_complete(expected_weight: Option<Weight>)
Asserts a dispatchable is completely executed and XCM sent
Sourcepub fn assert_xcm_pallet_attempted_incomplete(
expected_weight: Option<Weight>,
expected_error: Option<Error>,
)
pub fn assert_xcm_pallet_attempted_incomplete( expected_weight: Option<Weight>, expected_error: Option<Error>, )
Asserts a dispatchable is incompletely executed and XCM sent
Sourcepub fn assert_xcm_pallet_attempted_error(expected_error: Option<Error>)
pub fn assert_xcm_pallet_attempted_error(expected_error: Option<Error>)
Asserts a dispatchable throws and error when trying to be sent
Sourcepub fn assert_xcm_pallet_sent()
pub fn assert_xcm_pallet_sent()
Asserts a XCM message is sent
Sourcepub fn assert_parachain_system_ump_sent()
pub fn assert_parachain_system_ump_sent()
Asserts a XCM message is sent to Relay Chain
Sourcepub fn assert_dmp_queue_complete(expected_weight: Option<Weight>)
pub fn assert_dmp_queue_complete(expected_weight: Option<Weight>)
Asserts a XCM from Relay Chain is completely executed
Sourcepub fn assert_dmp_queue_incomplete(expected_weight: Option<Weight>)
pub fn assert_dmp_queue_incomplete(expected_weight: Option<Weight>)
Asserts a XCM from Relay Chain is incompletely executed
Sourcepub fn assert_dmp_queue_error()
pub fn assert_dmp_queue_error()
Asserts a XCM from Relay Chain is executed with error
Sourcepub fn assert_xcmp_queue_success(expected_weight: Option<Weight>)
pub fn assert_xcmp_queue_success(expected_weight: Option<Weight>)
Asserts a XCM from another Parachain is completely executed
Trait Implementations
Source§impl<N> Chain for CollectivesWestend<N>where
N: Network,
impl<N> Chain for CollectivesWestend<N>where
N: Network,
type Runtime = Runtime
type RuntimeCall = RuntimeCall
type RuntimeOrigin = RuntimeOrigin
type RuntimeEvent = RuntimeEvent
type System = Pallet<<CollectivesWestend<N> as Chain>::Runtime>
type OriginCaller = OriginCaller
type Network = N
fn account_data_of( account: <<CollectivesWestend<N> as Chain>::Runtime as Config>::AccountId, ) -> AccountData<u128>
fn events() -> Vec<<CollectivesWestend<N> as Chain>::RuntimeEvent>
fn account_id_of( seed: &str, ) -> <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId
Source§impl<N, Origin, Destination, Hops, Args> CheckAssertion<Origin, Destination, Hops, Args> for CollectivesWestend<N>where
N: Network,
Origin: Chain + Clone,
Destination: Chain + Clone,
<Origin as Chain>::RuntimeOrigin: OriginTrait<AccountId = <<Origin as Chain>::Runtime as Config>::AccountId> + Clone,
<Destination as Chain>::RuntimeOrigin: OriginTrait<AccountId = <<Destination as Chain>::Runtime as Config>::AccountId> + Clone,
Hops: Clone,
Args: Clone,
impl<N, Origin, Destination, Hops, Args> CheckAssertion<Origin, Destination, Hops, Args> for CollectivesWestend<N>where
N: Network,
Origin: Chain + Clone,
Destination: Chain + Clone,
<Origin as Chain>::RuntimeOrigin: OriginTrait<AccountId = <<Origin as Chain>::Runtime as Config>::AccountId> + Clone,
<Destination as Chain>::RuntimeOrigin: OriginTrait<AccountId = <<Destination as Chain>::Runtime as Config>::AccountId> + Clone,
Hops: Clone,
Args: Clone,
fn check_assertion(test: Test<Origin, Destination, Hops, Args>)
Source§impl<N> Clone for CollectivesWestend<N>where
N: Clone,
impl<N> Clone for CollectivesWestend<N>where
N: Clone,
Source§fn clone(&self) -> CollectivesWestend<N>
fn clone(&self) -> CollectivesWestend<N>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more