diff --git a/pallets/traits/Cargo.toml b/pallets/traits/Cargo.toml index ef84268..e77f3fe 100644 --- a/pallets/traits/Cargo.toml +++ b/pallets/traits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ghost-traits" -version = "0.3.22" +version = "0.3.23" license.workspace = true authors.workspace = true edition.workspace = true diff --git a/pallets/traits/src/networks.rs b/pallets/traits/src/networks.rs index fee716e..9cb8374 100644 --- a/pallets/traits/src/networks.rs +++ b/pallets/traits/src/networks.rs @@ -1,10 +1,7 @@ -use frame_support::{ - pallet_prelude::*, - storage::PrefixIterator, -}; +use frame_support::{pallet_prelude::*, storage::PrefixIterator}; use sp_runtime::{ - DispatchResult, traits::{AtLeast32BitUnsigned, Member}, + DispatchResult, }; pub trait NetworkDataBasicHandler { @@ -28,8 +25,14 @@ pub trait NetworkDataMutateHandler: NetworkDataInspectHandler< fn register(chain_id: Self::NetworkId, network: Network) -> DispatchResult; fn remove(chain_id: Self::NetworkId) -> DispatchResult; - fn increase_gatekeeper_amount(chain_id: &Self::NetworkId, amount: &Balance) -> Result; - fn decrease_gatekeeper_amount(chain_id: &Self::NetworkId, amount: &Balance) -> Result; + fn increase_gatekeeper_amount( + chain_id: &Self::NetworkId, + amount: &Balance, + ) -> Result; + fn decrease_gatekeeper_amount( + chain_id: &Self::NetworkId, + amount: &Balance, + ) -> Result; fn accumulate_outgoing_imbalance(amount: &Balance) -> Result; fn accumulate_incoming_imbalance(amount: &Balance) -> Result;