From a38bfb631da1869f9889bbd16717d53fbd7c5f90 Mon Sep 17 00:00:00 2001 From: lemunozm Date: Mon, 13 May 2024 11:05:30 +0200 Subject: [PATCH] upgraded pallet-mux --- Cargo.lock | 25 +++++++++++++++++++++++++ Cargo.toml | 2 +- pallets/token-mux/src/benchmarking.rs | 1 - 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 93da23d547..5d9fb4585e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2825,6 +2825,31 @@ dependencies = [ "sp-timestamp", ] +[[package]] +name = "pallet-token-mux" +version = "0.1.0" +dependencies = [ + "cfg-mocks", + "cfg-primitives", + "cfg-test-utils", + "cfg-traits", + "cfg-types", + "frame-benchmarking", + "frame-support", + "frame-system", + "orml-tokens", + "orml-traits", + "pallet-restricted-tokens", + "parity-scale-codec", + "scale-info", + "serde", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + [[package]] name = "pallet-treasury" version = "27.0.0" diff --git a/Cargo.toml b/Cargo.toml index 5e57afdc2c..748522273a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,7 +38,7 @@ members = [ #"pallets/restricted-xtokens", "pallets/rewards", "pallets/swaps", - #"pallets/token-mux", + "pallets/token-mux", #"pallets/transfer-allowlist", #"runtime/altair", #"runtime/centrifuge", diff --git a/pallets/token-mux/src/benchmarking.rs b/pallets/token-mux/src/benchmarking.rs index 4364d16143..bee4f672f4 100644 --- a/pallets/token-mux/src/benchmarking.rs +++ b/pallets/token-mux/src/benchmarking.rs @@ -21,7 +21,6 @@ use frame_support::traits::fungibles::{Inspect, Mutate}; use frame_system::RawOrigin; use orml_traits::asset_registry::{Inspect as OrmlInspect, Mutate as OrmlMutate}; use sp_arithmetic::traits::{One, Zero}; -use sp_std::vec; // required for #[benchmarks] use super::*;