referrerpolicy=no-referrer-when-downgrade

Trait emulated_integration_tests_common::impls::Chain

pub trait Chain: TestExt {
    type Network: Network;
    type Runtime: Config;
    type RuntimeCall: Clone + Dispatchable<RuntimeOrigin = Self::RuntimeOrigin>;
    type RuntimeOrigin;
    type RuntimeEvent;
    type System;
    type OriginCaller;

    // Required methods
    fn account_data_of(
        account: <Self::Runtime as Config>::AccountId,
    ) -> AccountData<u128>;
    fn events() -> Vec<Self::RuntimeEvent>;

    // Provided method
    fn account_id_of(
        seed: &str,
    ) -> <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId { ... }
}

Required Associated Types§

type Network: Network

type Runtime: Config

type RuntimeCall: Clone + Dispatchable<RuntimeOrigin = Self::RuntimeOrigin>

type RuntimeOrigin

type RuntimeEvent

type System

type OriginCaller

Required Methods§

fn account_data_of( account: <Self::Runtime as Config>::AccountId, ) -> AccountData<u128>

fn events() -> Vec<Self::RuntimeEvent>

Provided Methods§

fn account_id_of( seed: &str, ) -> <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

Object Safety§

This trait is not object safe.

Implementors§