companion for xcm alias origin (#2680)

* companion for xcm alias origin

* update lockfile for {"polkadot", "substrate"}

* add benchmark function for runtimes

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Just van Stam
2023-06-05 18:07:02 +02:00
committed by GitHub
parent c047ec900a
commit 119604ed2d
21 changed files with 107 additions and 69 deletions
@@ -1187,6 +1187,10 @@ impl_runtime_apis! {
) -> Result<(MultiLocation, NetworkId, InteriorMultiLocation), BenchmarkError> {
Err(BenchmarkError::Skip)
}
fn alias_origin() -> Result<(MultiLocation, MultiLocation), BenchmarkError> {
Err(BenchmarkError::Skip)
}
}
type XcmBalances = pallet_xcm_benchmarks::fungible::Pallet::<Runtime>;
@@ -422,6 +422,7 @@ impl xcm_executor::Config for XcmConfig {
type UniversalAliases = Nothing;
type CallDispatcher = WithOriginFilter<SafeCallFilter>;
type SafeCallFilter = SafeCallFilter;
type Aliasers = Nothing;
}
/// Local origins on this chain are allowed to dispatch XCM sends/executions.