Skip to content

Commit

Permalink
Fix benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
bkontur committed Dec 6, 2023
1 parent 4ea1306 commit 4c02532
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,13 @@ impl_runtime_apis! {

fn export_message_origin_and_destination(
) -> Result<(MultiLocation, NetworkId, InteriorMultiLocation), BenchmarkError> {
Ok((TokenLocation::get(), NetworkId::Westend, X1(Parachain(bridge_to_westend_config::AssetHubWestendParaId::get().into()))))
Ok(
(
bridge_to_westend_config::FromAssetHubRococoToAssetHubWestendRoute::get().location,
NetworkId::Westend,
X1(Parachain(bridge_to_westend_config::AssetHubWestendParaId::get().into()))
)
)
}

fn alias_origin() -> Result<(MultiLocation, MultiLocation), BenchmarkError> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,13 @@ impl_runtime_apis! {

fn export_message_origin_and_destination(
) -> Result<(MultiLocation, NetworkId, InteriorMultiLocation), BenchmarkError> {
Ok((WestendLocation::get(), NetworkId::Rococo, X1(Parachain(bridge_to_rococo_config::AssetHubRococoParaId::get().into()))))
Ok(
(
bridge_to_rococo_config::FromAssetHubWestendToAssetHubRococoRoute::get().location,
NetworkId::Rococo,
X1(Parachain(bridge_to_rococo_config::AssetHubRococoParaId::get().into()))
)
)
}

fn alias_origin() -> Result<(MultiLocation, MultiLocation), BenchmarkError> {
Expand Down

0 comments on commit 4c02532

Please sign in to comment.