referrerpolicy=no-referrer-when-downgrade

Function bridge_hub_test_utils::test_cases::run_test

source ·
pub fn run_test<Runtime, T>(
    collator_session_key: CollatorSessionKeys<Runtime>,
    runtime_para_id: u32,
    balances: Vec<(Runtime::AccountId, Runtime::Balance)>,
    test: impl FnOnce() -> T,
) -> T
where Runtime: BasicParachainRuntime,
Expand description

Prepare default runtime storage and run test within this context.