mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 06:51:07 +00:00
Restructure dispatch macro related exports (#1162)
* restructure dispatch macro related exports * moved Dispatchable to lib.rs * fix .gitignore final newline * ".git/.scripts/commands/fmt/fmt.sh" * fix rustdocs * wip --------- Co-authored-by: Liam Aharon <liam.aharon@hotmail.com> Co-authored-by: command-bot <> Co-authored-by: ordian <write@reusable.software>
This commit is contained in:
@@ -24,9 +24,8 @@ use testing_utils::*;
|
||||
use codec::Decode;
|
||||
use frame_election_provider_support::{bounds::DataProviderBounds, SortedListProvider};
|
||||
use frame_support::{
|
||||
dispatch::UnfilteredDispatchable,
|
||||
pallet_prelude::*,
|
||||
traits::{Currency, Get, Imbalance},
|
||||
traits::{Currency, Get, Imbalance, UnfilteredDispatchable},
|
||||
};
|
||||
use sp_runtime::{
|
||||
traits::{Bounded, One, StaticLookup, TrailingZeroInput, Zero},
|
||||
|
||||
@@ -19,8 +19,9 @@
|
||||
use super::*;
|
||||
use frame_election_provider_support::SortedListProvider;
|
||||
use frame_support::{
|
||||
dispatch::GetStorageVersion, pallet_prelude::ValueQuery, storage_alias,
|
||||
traits::OnRuntimeUpgrade,
|
||||
pallet_prelude::ValueQuery,
|
||||
storage_alias,
|
||||
traits::{GetStorageVersion, OnRuntimeUpgrade},
|
||||
};
|
||||
|
||||
#[cfg(feature = "try-runtime")]
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
|
||||
//! Staking FRAME Pallet.
|
||||
|
||||
use codec::Codec;
|
||||
use frame_election_provider_support::{
|
||||
ElectionProvider, ElectionProviderBase, SortedListProvider, VoteWeight,
|
||||
};
|
||||
use frame_support::{
|
||||
dispatch::Codec,
|
||||
pallet_prelude::*,
|
||||
traits::{
|
||||
Currency, Defensive, DefensiveResult, DefensiveSaturating, EnsureOrigin,
|
||||
|
||||
Reference in New Issue
Block a user