difftreelog
refactor(tests) remove Currency trait
in: master
1 file changed
runtime/tests/src/lib.rsdiffbeforeafterboth19use sp_core::{H160, H256, U256};19use sp_core::{H160, H256, U256};20use frame_support::{20use frame_support::{21 parameter_types,21 parameter_types,22 traits::{Everything, ConstU32, ConstU64, Currency},22 traits::{Everything, ConstU32, ConstU64, fungible::Inspect},23 weights::IdentityFee,23 weights::IdentityFee,24 pallet_prelude::Weight,24 pallet_prelude::Weight,25};25};282impl pallet_balances_adapter::Config for Test {282impl pallet_balances_adapter::Config for Test {283 type Inspect = Balances;283 type Inspect = Balances;284 type Mutate = Balances;284 type Mutate = Balances;285 type CurrencyBalance = <Balances as Currency<Self::AccountId>>::Balance;285 type CurrencyBalance = <Balances as Inspect<Self::AccountId>>::Balance;286 type Decimals = Decimals;286 type Decimals = Decimals;287 type Name = Name;287 type Name = Name;288 type Symbol = Symbol;288 type Symbol = Symbol;