diff --git a/pallets/transfer-allowlist/src/mock.rs b/pallets/transfer-allowlist/src/mock.rs index 7351013487..4541769887 100644 --- a/pallets/transfer-allowlist/src/mock.rs +++ b/pallets/transfer-allowlist/src/mock.rs @@ -10,6 +10,7 @@ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. +use cfg_types::tokens::CurrencyId; use codec::{Decode, Encode, MaxEncodedLen}; use frame_support::{ parameter_types, @@ -79,30 +80,6 @@ impl frame_system::Config for Runtime { type Version = (); } -#[derive( - Clone, - Copy, - Debug, - PartialOrd, - Default, - Ord, - Encode, - Decode, - Eq, - PartialEq, - MaxEncodedLen, - TypeInfo, - Deserialize, - Serialize, -)] -pub enum CurrencyId { - #[default] - A, - B, - C, - D, -} - #[derive( Clone, Debug, @@ -145,7 +122,7 @@ impl pallet_balances::Config for Runtime { } parameter_types! { - pub const NativeCurrency: CurrencyId = CurrencyId::D; + pub const NativeCurrency: CurrencyId = CurrencyId::Native; pub const HoldId: () = (); }