mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 22:45:40 +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:
@@ -87,9 +87,7 @@ pub mod weights;
|
||||
|
||||
use codec::{Decode, Encode, MaxEncodedLen};
|
||||
use frame_support::{
|
||||
dispatch::{
|
||||
DispatchError, DispatchResult, Dispatchable, GetDispatchInfo, Parameter, RawOrigin,
|
||||
},
|
||||
dispatch::{DispatchResult, GetDispatchInfo, Parameter, RawOrigin},
|
||||
ensure,
|
||||
traits::{
|
||||
schedule::{self, DispatchTime, MaybeHashed},
|
||||
@@ -105,8 +103,8 @@ use frame_system::{
|
||||
use scale_info::TypeInfo;
|
||||
use sp_io::hashing::blake2_256;
|
||||
use sp_runtime::{
|
||||
traits::{BadOrigin, One, Saturating, Zero},
|
||||
BoundedVec, RuntimeDebug,
|
||||
traits::{BadOrigin, Dispatchable, One, Saturating, Zero},
|
||||
BoundedVec, DispatchError, RuntimeDebug,
|
||||
};
|
||||
use sp_std::{borrow::Borrow, cmp::Ordering, marker::PhantomData, prelude::*};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user