Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
hounsette committed Feb 1, 2023
1 parent b87cd19 commit 7f9e623
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pallets/mandate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ pub use pallet::*;
#[frame_support::pallet]
pub mod pallet {
use frame_support::{
dispatch::GetDispatchInfo,
pallet_prelude::*,
traits::{EnsureOrigin, UnfilteredDispatchable},
dispatch::GetDispatchInfo,
Parameter,
};
use frame_system::pallet_prelude::*;
Expand Down
2 changes: 1 addition & 1 deletion pallets/reserve/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ mod benchmarking;
mod tests;

use frame_support::{
traits::{Currency, ExistenceRequirement, Get, Imbalance, OnUnbalanced},
dispatch::GetDispatchInfo,
traits::{Currency, ExistenceRequirement, Get, Imbalance, OnUnbalanced},
PalletId,
};
use sp_runtime::traits::{AccountIdConversion, Dispatchable};
Expand Down
2 changes: 1 addition & 1 deletion runtimes/eden/src/pallets_governance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

use crate::{constants, RuntimeCall, RuntimeEvent, Origin, Runtime, TechnicalCommittee};
use crate::{constants, Origin, Runtime, RuntimeCall, RuntimeEvent, TechnicalCommittee};
use frame_support::{parameter_types, traits::EitherOfDiverse, PalletId};
use frame_system::{EnsureNever, EnsureRoot};
use primitives::{AccountId, BlockNumber};
Expand Down
4 changes: 2 additions & 2 deletions runtimes/eden/src/pallets_parachain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*/

use crate::{
constants, pallets_governance::EnsureRootOrMoreThanHalfOfTechComm, xcm_config::XcmConfig, DmpQueue, RuntimeEvent, Runtime,
XcmpQueue,
constants, pallets_governance::EnsureRootOrMoreThanHalfOfTechComm, xcm_config::XcmConfig, DmpQueue, Runtime,
RuntimeEvent, XcmpQueue,
};
use cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases;
use frame_support::{dispatch::Weight, match_types, parameter_types};
Expand Down
4 changes: 2 additions & 2 deletions runtimes/eden/src/pallets_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
#![allow(clippy::identity_op)]

use crate::{
constants, implementations::DealWithFees, version::VERSION, Balances, RuntimeCall, CompanyReserve, RuntimeEvent, RuntimeOrigin,
PalletInfo, Runtime, SignedExtra, SignedPayload, System, UncheckedExtrinsic,
constants, implementations::DealWithFees, version::VERSION, Balances, CompanyReserve, PalletInfo, Runtime,
RuntimeCall, RuntimeEvent, RuntimeOrigin, SignedExtra, SignedPayload, System, UncheckedExtrinsic,
};
use codec::Encode;
use frame_support::{
Expand Down
2 changes: 1 addition & 1 deletion runtimes/eden/src/pallets_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

use crate::{
constants, implementations::RelayChainBlockNumberProvider, pallets_governance::MoreThanHalfOfTechComm, Balances,
RuntimeCall, RuntimeEvent, RuntimeOrigin, OriginCaller, Preimage, RandomnessCollectiveFlip, Runtime, Timestamp,
OriginCaller, Preimage, RandomnessCollectiveFlip, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, Timestamp,
};
use frame_support::{
parameter_types,
Expand Down
3 changes: 2 additions & 1 deletion runtimes/eden/src/xcm_config.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use super::{
AccountId, Balance, Balances, RuntimeCall, RuntimeEvent, RuntimeOrigin, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, XcmpQueue,
AccountId, Balance, Balances, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent,
RuntimeOrigin, XcmpQueue,
};
use crate::implementations::DealWithFees;
use frame_support::{
Expand Down

0 comments on commit 7f9e623

Please sign in to comment.