From bc4f5f4158b5be9f1135e06e2a9c7525b4750f3b Mon Sep 17 00:00:00 2001 From: Harald Heckmann Date: Tue, 16 Jan 2024 21:30:20 +0100 Subject: [PATCH] Adjust neo-swaps mock --- zrml/neo-swaps/src/mock.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zrml/neo-swaps/src/mock.rs b/zrml/neo-swaps/src/mock.rs index 64a9ab6a8..65a549257 100644 --- a/zrml/neo-swaps/src/mock.rs +++ b/zrml/neo-swaps/src/mock.rs @@ -64,7 +64,7 @@ use zeitgeist_primitives::{ traits::{DeployPoolApi, DistributeFees}, types::{ AccountIdTest, Amount, Assets, Balance, BasicCurrencyAdapter, BlockNumber, BlockTest, Hash, - Index, MarketId, Moment, PoolId, UncheckedExtrinsicTest, + Index, MarketId, Moment, PoolId, UncheckedExtrinsicTest, Currencies, }, }; use zrml_neo_swaps::BalanceOf; @@ -462,7 +462,7 @@ impl pallet_treasury::Config for Runtime { #[cfg(feature = "parachain")] zrml_prediction_markets::impl_mock_registry! { MockRegistry, - Assets, + Currencies, Balance, zeitgeist_primitives::types::CustomMetadata } @@ -501,7 +501,7 @@ impl ExtBuilder { #[cfg(feature = "parachain")] orml_asset_registry_mock::GenesisConfig { metadata: vec![( - FOREIGN_ASSET, + Currencies::try_from(FOREIGN_ASSET).unwrap(), AssetMetadata { decimals: 18, name: "MKL".as_bytes().to_vec(),