XCM ExportMessage benchmark support (#6923)

* XCM ExportMessage benchmark support

* include inner-xcm in ExportMessage benchmark

---------

Signed-off-by: acatangiu <adrian@parity.io>
This commit is contained in:
Adrian Catangiu
2023-03-23 12:30:25 +02:00
committed by GitHub
parent f989b2bb1a
commit b51cb8927c
11 changed files with 64 additions and 8 deletions
@@ -186,6 +186,12 @@ impl generic::Config for Test {
let assets: MultiAsset = (Concrete(Here.into()), 100).into();
Ok((Default::default(), Default::default(), assets))
}
fn export_message_origin_and_destination(
) -> Result<(MultiLocation, NetworkId, InteriorMultiLocation), BenchmarkError> {
// No MessageExporter in tests
Err(BenchmarkError::Skip)
}
}
pub fn new_test_ext() -> sp_io::TestExternalities {