From 89ea43a436c15f463c130573294f2bb4707c7029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Andr=C3=A9s=20Dorado=20Su=C3=A1rez?= Date: Mon, 17 Jun 2024 11:10:52 -0500 Subject: [PATCH] fix(pallet-asset-conversion-ops): missing Holder in mock config --- polkadot/xcm/xcm-fee-payment-runtime-api/tests/mock.rs | 1 + substrate/frame/asset-conversion/ops/src/mock.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/polkadot/xcm/xcm-fee-payment-runtime-api/tests/mock.rs b/polkadot/xcm/xcm-fee-payment-runtime-api/tests/mock.rs index aa6c1422b608..912d2c1fea4b 100644 --- a/polkadot/xcm/xcm-fee-payment-runtime-api/tests/mock.rs +++ b/polkadot/xcm/xcm-fee-payment-runtime-api/tests/mock.rs @@ -87,6 +87,7 @@ impl pallet_assets::Config for TestRuntime { type Currency = Balances; type CreateOrigin = AsEnsureOriginWithArg>; type ForceOrigin = frame_system::EnsureRoot; + type Holder = (); type Freezer = (); type AssetDeposit = ConstU128<1>; type AssetAccountDeposit = ConstU128<10>; diff --git a/substrate/frame/asset-conversion/ops/src/mock.rs b/substrate/frame/asset-conversion/ops/src/mock.rs index 91c18b2e7949..31c3bb41fd12 100644 --- a/substrate/frame/asset-conversion/ops/src/mock.rs +++ b/substrate/frame/asset-conversion/ops/src/mock.rs @@ -68,6 +68,7 @@ impl pallet_assets::Config for Test { type Currency = Balances; type CreateOrigin = AsEnsureOriginWithArg>; type ForceOrigin = frame_system::EnsureRoot; + type Holder = (); type Freezer = (); } @@ -77,6 +78,7 @@ impl pallet_assets::Config for Test { type CreateOrigin = AsEnsureOriginWithArg>; type ForceOrigin = frame_system::EnsureRoot; + type Holder = (); type Freezer = (); }