mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 06:21:11 +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:
@@ -25,9 +25,7 @@ use crate::{
|
||||
};
|
||||
use frame_support::{
|
||||
crypto::ecdsa::ECDSAExt,
|
||||
dispatch::{
|
||||
fmt::Debug, DispatchError, DispatchResult, DispatchResultWithPostInfo, Dispatchable,
|
||||
},
|
||||
dispatch::{DispatchResult, DispatchResultWithPostInfo},
|
||||
ensure,
|
||||
storage::{with_transaction, TransactionOutcome},
|
||||
traits::{
|
||||
@@ -47,8 +45,11 @@ use sp_core::{
|
||||
Get,
|
||||
};
|
||||
use sp_io::{crypto::secp256k1_ecdsa_recover_compressed, hashing::blake2_256};
|
||||
use sp_runtime::traits::{Convert, Hash, Zero};
|
||||
use sp_std::{marker::PhantomData, mem, prelude::*, vec::Vec};
|
||||
use sp_runtime::{
|
||||
traits::{Convert, Dispatchable, Hash, Zero},
|
||||
DispatchError,
|
||||
};
|
||||
use sp_std::{fmt::Debug, marker::PhantomData, mem, prelude::*, vec::Vec};
|
||||
|
||||
pub type AccountIdOf<T> = <T as frame_system::Config>::AccountId;
|
||||
pub type MomentOf<T> = <<T as Config>::Time as Time>::Moment;
|
||||
|
||||
Reference in New Issue
Block a user