From 0e9e72c6f20c906ba7f00f0fb4def401ed7e336d Mon Sep 17 00:00:00 2001 From: runcomet Date: Sun, 1 Dec 2024 02:52:58 -0800 Subject: [PATCH] frame traits instead of frame_support deps bench --- substrate/frame/alliance/src/benchmarking.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/substrate/frame/alliance/src/benchmarking.rs b/substrate/frame/alliance/src/benchmarking.rs index 94cee5a7c811..f43f331ea3de 100644 --- a/substrate/frame/alliance/src/benchmarking.rs +++ b/substrate/frame/alliance/src/benchmarking.rs @@ -23,10 +23,8 @@ use super::{Call as AllianceCall, Pallet as Alliance, *}; use core::{cmp, mem::size_of}; use frame::{ benchmarking::prelude::*, - deps::{ - frame_support::traits::{EnsureOrigin, Get, UnfilteredDispatchable}, - frame_system::{Pallet as System, RawOrigin as SystemOrigin}, - }, + deps::frame_system::{Pallet as System, RawOrigin as SystemOrigin}, + traits::{EnsureOrigin, Get, UnfilteredDispatchable}, }; const SEED: u32 = 0;