Added origin to config for universal_origin benchmark (#6986)

This commit is contained in:
Branislav Kontur
2023-04-04 09:34:56 +02:00
committed by GitHub
parent 3ab60efc26
commit 3f67c93dd1
6 changed files with 9 additions and 9 deletions
@@ -482,9 +482,9 @@ benchmarks! {
}
universal_origin {
let alias = T::universal_alias().map_err(|_| BenchmarkError::Skip)?;
let (origin, alias) = T::universal_alias().map_err(|_| BenchmarkError::Skip)?;
let mut executor = new_executor::<T>(Here.into_location());
let mut executor = new_executor::<T>(origin);
let instruction = Instruction::UniversalOrigin(alias.clone());
let xcm = Xcm(vec![instruction]);