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§
sourcefn make_congested()
fn make_congested()
Fill up queue so it becomes congested.
Provided Methods§
sourcefn ensure_bridged_target_destination() -> Result<Location, BenchmarkError>
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.