Skip to content

Commit

Permalink
[no ci] Fix some warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Charles Ferrell <[email protected]>
  • Loading branch information
ferrell-code committed Feb 16, 2024
1 parent e0dd42d commit 0f3bc42
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
3 changes: 2 additions & 1 deletion runtime/calamari/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ use frame_support::{
fungible::HoldConsideration,
tokens::{PayFromAccount, UnityAssetBalanceConversion},
ConstBool, ConstU128, ConstU32, ConstU8, Contains, Currency, EitherOfDiverse, IsInVec,
LinearStoragePrice, NeverEnsureOrigin, PrivilegeCmp, TrackedStorageKey,
LinearStoragePrice, NeverEnsureOrigin, PrivilegeCmp,
},
weights::{ConstantMultiplier, Weight},
PalletId,
Expand Down Expand Up @@ -1477,6 +1477,7 @@ impl_runtime_apis! {
config: frame_benchmarking::BenchmarkConfig
) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, sp_runtime::RuntimeString> {
use frame_benchmarking::{Benchmarking, BenchmarkBatch, BenchmarkError};
use frame_support::traits::TrackedStorageKey;

impl frame_system_benchmarking::Config for Runtime {}

Expand Down
2 changes: 0 additions & 2 deletions runtime/integration-tests/src/xcm_mock/parachain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ use sp_runtime::{
};
use sp_std::prelude::*;

#[cfg(feature = "runtime-benchmarks")]
use super::ReachableDest;
use cumulus_primitives_core::ParaId;
use manta_primitives::{
assets::{
Expand Down
4 changes: 1 addition & 3 deletions runtime/integration-tests/src/xcm_mock/relay_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ use sp_runtime::{
AccountId32,
};

#[cfg(feature = "runtime-benchmarks")]
use super::ReachableDest;
use cumulus_primitives_core::ParaId;
use manta_primitives::{types::BlockNumber, xcm::AllowTopLevelPaidExecutionFrom};
use polkadot_runtime_parachains::{
Expand All @@ -43,7 +41,7 @@ use xcm::latest::prelude::*;
use xcm_builder::{
AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowUnpaidExecutionFrom,
ChildParachainAsNative, ChildParachainConvertsVia, ChildSystemParachainAsSuperuser,
CurrencyAdapter as XcmCurrencyAdapter, FixedRateOfFungible, FixedWeightBounds, IsConcrete,
FixedRateOfFungible, FixedWeightBounds, FungibleAdapter as XcmCurrencyAdapter, IsConcrete,
SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,
};
use xcm_executor::{Config, XcmExecutor};
Expand Down
3 changes: 2 additions & 1 deletion runtime/manta/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ use frame_support::{
fungible::HoldConsideration,
tokens::{PayFromAccount, UnityAssetBalanceConversion},
ConstBool, ConstU128, ConstU32, ConstU8, Contains, Currency, EitherOfDiverse,
LinearStoragePrice, NeverEnsureOrigin, PrivilegeCmp, TrackedStorageKey,
LinearStoragePrice, NeverEnsureOrigin, PrivilegeCmp,
},
weights::{ConstantMultiplier, Weight},
PalletId,
Expand Down Expand Up @@ -1419,6 +1419,7 @@ impl_runtime_apis! {
config: frame_benchmarking::BenchmarkConfig
) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, sp_runtime::RuntimeString> {
use frame_benchmarking::{Benchmarking, BenchmarkBatch, BenchmarkError};
use frame_support::traits::TrackedStorageKey;

impl frame_system_benchmarking::Config for Runtime {}

Expand Down

0 comments on commit 0f3bc42

Please sign in to comment.