diff --git a/Cargo.dev.toml b/Cargo.dev.toml index 4f93f70dc..b60f721b8 100644 --- a/Cargo.dev.toml +++ b/Cargo.dev.toml @@ -35,72 +35,72 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive serde = { version = "1.0.189" } parity-scale-codec = { version = "3.6.5", default-features = false, features = ["max-encoded-len"] } -cumulus-pallet-dmp-queue = { version = "0.4.0", default-features = false } -cumulus-pallet-parachain-system = { version = "0.4.0", default-features = false } -cumulus-pallet-xcm = { version = "0.4.0", default-features = false } -cumulus-pallet-xcmp-queue = { version = "0.4.0", default-features = false } -cumulus-primitives-core = { version = "0.4.0", default-features = false } -frame-benchmarking = { version = "25.0.0", default-features = false } -frame-support = { version = "25.0.0", default-features = false } -frame-system = { version = "25.0.0", default-features = false } -pallet-authority-discovery = { version = "25.0.0", default-features = false } -pallet-authorship = { version = "25.0.0", default-features = false } -pallet-babe = { version = "25.0.0", default-features = false } -pallet-balances = { version = "25.0.0", default-features = false } -pallet-elections-phragmen = { version = "26.0.0", default-features = false } -pallet-message-queue = { version = "28.0.0", default-features = false } -pallet-preimage = { version = "25.0.0", default-features = false } -pallet-root-testing = { version = "1.0.0", default-features = false } -pallet-scheduler = { version = "26.0.0", default-features = false } -pallet-session = { version = "25.0.0", default-features = false } -pallet-staking = { version = "25.0.0", default-features = false } -pallet-timestamp = { version = "24.0.0", default-features = false } -pallet-transaction-payment = { version = "25.0.0", default-features = false } -pallet-treasury = { version = "24.0.0", default-features = false } -pallet-vesting = { version = "25.0.0", default-features = false } -pallet-xcm = { version = "4.0.0", default-features = false } -parachain-info = { package = "staging-parachain-info", version = "0.4.0", default-features = false } -polkadot-core-primitives = { version = "4.0.0", default-features = false } -polkadot-parachain-primitives = { version = "3.0.0", default-features = false } -polkadot-primitives = { version = "4.0.0", default-features = false } -polkadot-runtime-common = { version = "4.0.0", default-features = false } -polkadot-runtime-parachains = { version = "4.0.0", default-features = false } -sp-api = { version = "23.0.0", default-features = false } -sp-application-crypto = { version = "27.0.0", default-features = false } -sp-arithmetic = { version = "20.0.0", default-features = false } -sp-authority-discovery = { version = "23.0.0", default-features = false } -sp-blockchain = { version = "25.0.0", default-features = false } -sp-consensus = { version = "0.29.0", default-features = false } -sp-consensus-slots = { version = "0.29.0", default-features = false } -sp-core = { version = "25.0.0", default-features = false } -sp-debug-derive = { version = "12.0.0", default-features = false } -sp-externalities = { version = "0.23.0", default-features = false } -sp-inherents = { version = "23.0.0", default-features = false } -sp-io = { version = "27.0.0", default-features = false } -sp-keystore = { version = "0.31.0", default-features = false } -sp-maybe-compressed-blob = { version = "9.0.0", default-features = false } -sp-npos-elections = { version = "23.0.0", default-features = false } -sp-panic-handler = { version = "12.0.0", default-features = false } -sp-runtime = { version = "28.0.0", default-features = false } -sp-runtime-interface = { version = "21.0.0", default-features = false } -sp-session = { version = "24.0.0", default-features = false } -sp-staking = { version = "23.0.0", default-features = false } -sp-state-machine = { version = "0.32.0", default-features = false } -sp-std = { version = "12.0.0", default-features = false } -sp-storage = { version = "17.0.0", default-features = false } -sp-timestamp = { version = "23.0.0", default-features = false } -sp-tracing = { version = "14.0.0", default-features = false } -sp-trie = { version = "26.0.0", default-features = false } -sp-version = { version = "26.0.0", default-features = false } -sp-wasm-interface = { version = "18.0.0", default-features = false } -sp-weights = { version = "24.0.0", default-features = false } -xcm = { package = "staging-xcm", version = "4.0.0", default-features = false } -xcm-builder = { package = "staging-xcm-builder", version = "4.0.0", default-features = false } -xcm-executor = { package = "staging-xcm-executor", version = "4.0.0", default-features = false } +cumulus-pallet-dmp-queue = { version = "0.7.0", default-features = false } +cumulus-pallet-parachain-system = { version = "0.7.0", default-features = false } +cumulus-pallet-xcm = { version = "0.7.0", default-features = false } +cumulus-pallet-xcmp-queue = { version = "0.7.0", default-features = false } +cumulus-primitives-core = { version = "0.7.0", default-features = false } +frame-benchmarking = { version = "28.0.0", default-features = false } +frame-support = { version = "28.0.0", default-features = false } +frame-system = { version = "28.0.0", default-features = false } +pallet-authority-discovery = { version = "28.0.0", default-features = false } +pallet-authorship = { version = "28.0.0", default-features = false } +pallet-babe = { version = "28.0.0", default-features = false } +pallet-balances = { version = "28.0.0", default-features = false } +pallet-elections-phragmen = { version = "29.0.0", default-features = false } +pallet-message-queue = { version = "31.0.0", default-features = false } +pallet-preimage = { version = "28.0.0", default-features = false } +pallet-root-testing = { version = "4.0.0", default-features = false } +pallet-scheduler = { version = "29.0.0", default-features = false } +pallet-session = { version = "28.0.0", default-features = false } +pallet-staking = { version = "28.0.0", default-features = false } +pallet-timestamp = { version = "27.0.0", default-features = false } +pallet-transaction-payment = { version = "28.0.0", default-features = false } +pallet-treasury = { version = "27.0.0", default-features = false } +pallet-vesting = { version = "28.0.0", default-features = false } +pallet-xcm = { version = "7.0.0", default-features = false } +parachain-info = { package = "staging-parachain-info", version = "0.7.0", default-features = false } +polkadot-core-primitives = { version = "7.0.0", default-features = false } +polkadot-parachain-primitives = { version = "6.0.0", default-features = false } +polkadot-primitives = { version = "7.0.0", default-features = false } +polkadot-runtime-common = { version = "7.0.0", default-features = false } +polkadot-runtime-parachains = { version = "7.0.0", default-features = false } +sp-api = { version = "26.0.0", default-features = false } +sp-application-crypto = { version = "30.0.0", default-features = false } +sp-arithmetic = { version = "23.0.0", default-features = false } +sp-authority-discovery = { version = "26.0.0", default-features = false } +sp-blockchain = { version = "28.0.0", default-features = false } +sp-consensus = { version = "0.32.0", default-features = false } +sp-consensus-slots = { version = "0.32.0", default-features = false } +sp-core = { version = "28.0.0", default-features = false } +sp-debug-derive = { version = "14.0.0", default-features = false } +sp-externalities = { version = "0.25.0", default-features = false } +sp-inherents = { version = "26.0.0", default-features = false } +sp-io = { version = "30.0.0", default-features = false } +sp-keystore = { version = "0.34.0", default-features = false } +sp-maybe-compressed-blob = { version = "11.0.0", default-features = false } +sp-npos-elections = { version = "26.0.0", default-features = false } +sp-panic-handler = { version = "13.0.0", default-features = false } +sp-runtime = { version = "31.0.1", default-features = false } +sp-runtime-interface = { version = "24.0.0", default-features = false } +sp-session = { version = "27.0.0", default-features = false } +sp-staking = { version = "26.0.0", default-features = false } +sp-state-machine = { version = "0.35.0", default-features = false } +sp-std = { version = "14.0.0", default-features = false } +sp-storage = { version = "19.0.0", default-features = false } +sp-timestamp = { version = "26.0.0", default-features = false } +sp-tracing = { version = "16.0.0", default-features = false } +sp-trie = { version = "29.0.0", default-features = false } +sp-version = { version = "29.0.0", default-features = false } +sp-wasm-interface = { version = "20.0.0", default-features = false } +sp-weights = { version = "27.0.0", default-features = false } +xcm = { package = "staging-xcm", version = "7.0.0", default-features = false } +xcm-builder = { package = "staging-xcm-builder", version = "7.0.0", default-features = false } +xcm-executor = { package = "staging-xcm-executor", version = "7.0.0", default-features = false } -sc-client-api = { version = "25.0.0" } -sc-client-db = { version = "0.32.0" } -sc-executor = { version = "0.29.0" } -sc-executor-common = { version = "0.26.0" } -sc-utils = { version = "11.0.0" } -xcm-simulator = { version = "4.0.0" } +sc-client-api = { version = "28.0.0" } +sc-client-db = { version = "0.35.0" } +sc-executor = { version = "0.32.0" } +sc-executor-common = { version = "0.29.0" } +sc-utils = { version = "14.0.0" } +xcm-simulator = { version = "7.0.0" } diff --git a/tokens/src/impls.rs b/tokens/src/impls.rs index f68d9330d..04ace3eda 100644 --- a/tokens/src/impls.rs +++ b/tokens/src/impls.rs @@ -102,6 +102,7 @@ where TestKey: Contains<>::AssetId>, A: fungible::Mutate>::Balance>, B: fungibles::Mutate, + AccountId: Eq, { fn mint_into( asset: Self::AssetId, @@ -149,6 +150,7 @@ where TestKey: Contains<>::AssetId>, A: fungible::Mutate>::Balance>, B: fungibles::Mutate, + AccountId: Eq, { fn handle_dust(_dust: fungibles::Dust) { // FIXME: only way to access internals of Dust is into_credit, but T is @@ -280,6 +282,7 @@ where >, B: BalanceT, GetCurrencyId: Get<>::AssetId>, + AccountId: Eq, { fn mint_into(dest: &AccountId, amount: Self::Balance) -> Result { T::mint_into(