referrerpolicy=no-referrer-when-downgrade
pub trait AssignCoretime {
    // Required method
    fn assign_coretime(id: ParaId) -> DispatchResult;
}
Expand description

Assign coretime to some parachain.

This assigns coretime to a parachain without using the coretime chain. Thus, this should only be used for testing purposes.

Required Methods§

source

fn assign_coretime(id: ParaId) -> DispatchResult

ONLY USE FOR TESTING OR GENESIS.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl AssignCoretime for ()

source§

fn assign_coretime(_: ParaId) -> DispatchResult

Implementors§