rustfmt changes
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
parent
5e17c12677
commit
0e228d890d
@ -41,8 +41,8 @@ use ghost_networks::{
|
|||||||
NetworkData, NetworkDataBasicHandler, NetworkDataInspectHandler, NetworkDataMutateHandler,
|
NetworkData, NetworkDataBasicHandler, NetworkDataInspectHandler, NetworkDataMutateHandler,
|
||||||
NetworkType,
|
NetworkType,
|
||||||
};
|
};
|
||||||
use ghost_traits::exposure::ExposureListener;
|
|
||||||
use ghost_traits::evictor::StakingEvictor;
|
use ghost_traits::evictor::StakingEvictor;
|
||||||
|
use ghost_traits::exposure::ExposureListener;
|
||||||
|
|
||||||
pub mod migrations;
|
pub mod migrations;
|
||||||
pub mod weights;
|
pub mod weights;
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#![cfg_attr(not(feature = "std"), no_std)]
|
#![cfg_attr(not(feature = "std"), no_std)]
|
||||||
|
|
||||||
|
pub mod evictor;
|
||||||
pub mod exposure;
|
pub mod exposure;
|
||||||
pub mod networks;
|
pub mod networks;
|
||||||
pub mod evictor;
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
use super::*;
|
use super::*;
|
||||||
use frame_support::{dispatch::DispatchResultWithPostInfo, traits::PrivilegeCmp};
|
use frame_support::{dispatch::DispatchResultWithPostInfo, traits::PrivilegeCmp};
|
||||||
use ghost_traits::exposure::ExposureListener;
|
|
||||||
use ghost_traits::evictor::StakingEvictor;
|
use ghost_traits::evictor::StakingEvictor;
|
||||||
|
use ghost_traits::exposure::ExposureListener;
|
||||||
use pallet_alliance::{ProposalIndex, ProposalProvider};
|
use pallet_alliance::{ProposalIndex, ProposalProvider};
|
||||||
use primitives::Balance;
|
use primitives::Balance;
|
||||||
use sp_runtime::DispatchError;
|
use sp_runtime::DispatchError;
|
||||||
|
|||||||
@ -79,7 +79,10 @@ mod genesis_config_presets;
|
|||||||
mod impls;
|
mod impls;
|
||||||
mod weights;
|
mod weights;
|
||||||
|
|
||||||
pub use impls::{AllianceProposalProvider, EqualOrGreatestRootCmp, StakingExposureListener, RuntimeStakingEvictor};
|
pub use impls::{
|
||||||
|
AllianceProposalProvider, EqualOrGreatestRootCmp, RuntimeStakingEvictor,
|
||||||
|
StakingExposureListener,
|
||||||
|
};
|
||||||
|
|
||||||
// Governance configuration.
|
// Governance configuration.
|
||||||
pub mod cult;
|
pub mod cult;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user