pub trait Config<I: 'static>: Config<I> {
    // Required method
    fn make_congested();

    // Provided method
    fn ensure_bridged_target_destination() -> Result<Location, BenchmarkError> { ... }
}
Expand description

Trait that must be implemented by runtime to be able to benchmark pallet properly.

Required Methods§

source

fn make_congested()

Fill up queue so it becomes congested.

Provided Methods§

source

fn ensure_bridged_target_destination() -> Result<Location, BenchmarkError>

Returns destination which is valid for this router instance. (Needs to pass T::Bridges) Make sure that SendXcm will pass.

Object Safety§

This trait is not object safe.

Implementors§