diff --git a/pallets/slow-clap/src/lib.rs b/pallets/slow-clap/src/lib.rs index c583f56..74e13c7 100644 --- a/pallets/slow-clap/src/lib.rs +++ b/pallets/slow-clap/src/lib.rs @@ -41,8 +41,8 @@ use ghost_networks::{ NetworkData, NetworkDataBasicHandler, NetworkDataInspectHandler, NetworkDataMutateHandler, NetworkType, }; -use ghost_traits::exposure::ExposureListener; use ghost_traits::evictor::StakingEvictor; +use ghost_traits::exposure::ExposureListener; pub mod migrations; pub mod weights; diff --git a/pallets/traits/src/lib.rs b/pallets/traits/src/lib.rs index 26f32a8..94ca8a3 100644 --- a/pallets/traits/src/lib.rs +++ b/pallets/traits/src/lib.rs @@ -1,5 +1,5 @@ #![cfg_attr(not(feature = "std"), no_std)] +pub mod evictor; pub mod exposure; pub mod networks; -pub mod evictor; diff --git a/runtime/casper/src/impls.rs b/runtime/casper/src/impls.rs index ff830c4..2b1aa3a 100644 --- a/runtime/casper/src/impls.rs +++ b/runtime/casper/src/impls.rs @@ -1,7 +1,7 @@ use super::*; use frame_support::{dispatch::DispatchResultWithPostInfo, traits::PrivilegeCmp}; -use ghost_traits::exposure::ExposureListener; use ghost_traits::evictor::StakingEvictor; +use ghost_traits::exposure::ExposureListener; use pallet_alliance::{ProposalIndex, ProposalProvider}; use primitives::Balance; use sp_runtime::DispatchError; diff --git a/runtime/casper/src/lib.rs b/runtime/casper/src/lib.rs index 0bc0a7a..8be86fd 100644 --- a/runtime/casper/src/lib.rs +++ b/runtime/casper/src/lib.rs @@ -79,7 +79,10 @@ mod genesis_config_presets; mod impls; mod weights; -pub use impls::{AllianceProposalProvider, EqualOrGreatestRootCmp, StakingExposureListener, RuntimeStakingEvictor}; +pub use impls::{ + AllianceProposalProvider, EqualOrGreatestRootCmp, RuntimeStakingEvictor, + StakingExposureListener, +}; // Governance configuration. pub mod cult;