asset-conversion pallet: Generalise integrity test (#14289)

* integrity test was only working for u32 asset ids.

* cargo fmt

* Update frame/asset-conversion/src/lib.rs

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

---------

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
SquirrelandOliver Tale-Yazdi authored and GitHub committed 2023-06-02 12:54:01 +00:00
1 parent 50d5b94225
commit 28afa48006
3 files changed
+22 -22

No files matched your search

+1 -1
View File
@@ -178,7 +178,7 @@ impl Config for Test {
type MultiAssetId = NativeOrAssetId<u32>;
type MultiAssetIdConverter = NativeOrAssetIdConverter<u32>;
#[cfg(feature = "runtime-benchmarks")]
#[cfg(any(test, feature = "runtime-benchmarks"))]
type BenchmarkHelper = ();
}